SVN 3192 hangs
-
Maurice,
What revision is this occurring on? Have you updated to 3218 and see if this still exists?
-
I can confirm this is still happening with 3218. I just installed svn and ran the update this morning. I haven’t tried “php -v” yet, but will do that next. I’m running FOG 1.2.0 on Debian 7.7. Here is my apache error.log and foginstall.log if they help at all:
error.log
[Sun Apr 05 07:35:23 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u14 configured – resuming normal operations
[Mon Apr 06 09:22:06 2015] [notice] Graceful restart requested, doing restart
[Mon Apr 06 09:22:06 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:06 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:06 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:22:12 2015] [notice] Graceful restart requested, doing restart
[Mon Apr 06 09:22:12 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:12 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:12 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:22:18 2015] [notice] Graceful restart requested, doing restart
[Mon Apr 06 09:22:18 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:18 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:18 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:22:20 2015] [notice] Graceful restart requested, doing restart
[Mon Apr 06 09:22:20 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:20 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:20 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:22:25 2015] [notice] Graceful restart requested, doing restart
[Mon Apr 06 09:22:25 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:25 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 06 09:22:25 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:28:04 2015] [notice] caught SIGTERM, shutting down
[Mon Apr 06 09:28:05 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:39:16 2015] [notice] caught SIGTERM, shutting down
[Mon Apr 06 09:39:17 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Mon Apr 06 09:50:50 2015] [notice] caught SIGTERM, shutting down
[Mon Apr 06 09:50:51 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
foginstall.log
Debian
<deleted image and extra spaces–this post is already long…>
###########################################FOG
Free Computer Imaging Solution
[url]http://www.fogproject.org/[/url]
Developers:
Chuck Syperski
Jian Zhang
Peter Gilchrist
Tom Elliott
GNU GPL Version 3
###########################################
Version: 1.3.0 Installer/Updater- Found FOG Settings from previous install at: /opt/fog/.fogsettings
- Performing upgrade using these settings…
Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
#####################################################################
FOG now has everything it needs to setup your server, but please
understand that this script will overwrite any setting you may
have setup for services like DHCP, apache, pxe, tftp, and NFS.
It is not recommended that you install this on a production system
as this script modifies many of your system settings.
This script should be run by the root user on Redhat or with sudo on Ubuntu.
** Notice ** Redhat users will need to disable SELinux and iptables in
order to use FOG
Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]
Here are the settings FOG will use:
Base Linux: Debian
Detected Linux Distribution: Debian
Installation Type: Normal Server
Server IP Address: <removed>
DHCP router Address: <removed>
DHCP DNS Address: <removed>
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0
Image Storage Location:
Donate: 0
Are you sure you wish to continue (Y/N)
Installation Started…
Installing required packages, if this fails
make sure you have an active internet connection.- Preparing apt-get
- Packages to be installed: apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client isc-dhcp-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g
- Skipping package: apache2 (Already installed)
- Skipping package: php5 (Already installed)
- Skipping package: php5-common (Already installed)
- Skipping package: php5-gd (Already installed)
- Skipping package: php5-cli (Already installed)
- Skipping package: php5-curl (Already installed)
- Skipping package: mysql-server (Already installed)
- Skipping package: mysql-client (Already installed)
- Skipping package: isc-dhcp-server (Already installed)
- Skipping package: tftpd-hpa (Already installed)
- Skipping package: tftp-hpa (Already installed)
- Skipping package: nfs-kernel-server (Already installed)
- Skipping package: vsftpd (Already installed)
- Skipping package: net-tools (Already installed)
- Skipping package: wget (Already installed)
- Skipping package: xinetd (Already installed)
- Skipping package: sysv-rc-conf (Already installed)
- Skipping package: tar (Already installed)
- Skipping package: gzip (Already installed)
- Skipping package: build-essential (Already installed)
- Skipping package: cpp (Already installed)
- Skipping package: gcc (Already installed)
- Skipping package: g++ (Already installed)
- Skipping package: m4 (Already installed)
- Skipping package: htmldoc (Already installed)
- Skipping package: lftp (Already installed)
- Skipping package: openssh-server (Already installed)
- Skipping package: php-gettext (Already installed)
- Skipping package: php5-mcrypt (Already installed)
- Skipping package: php5-mysqlnd (Already installed)
- Skipping package: curl (Already installed)
- Skipping package: libc6 (Already installed)
- Skipping package: libcurl3 (Already installed)
- Skipping package: zlib1g (Already installed)
Confirming package installation. - Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-json…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: isc-dhcp-server…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: php5-mcrypt…OK
- Checking package: php5-mysqlnd…OK
- Checking package: curl…OK
- Checking package: libc6…OK
- Checking package: libcurl3…OK
- Checking package: zlib1g…OK
Configuring services.
What is the storage location for your images directory? (/images) * Setting up and starting MySql…OK - Backing up user reports…OK
- Setting up and starting Apache Web Server…OK
- Changing permissions on apache log files…OK
- Downloading kernels and inits…OK
- Downloading New FOG Client file…Failed to get client version
-
PHP version on my Debian box:
PHP 5.4.39-0+deb7u2 (cli) (built: Mar 25 2015 09:10:46)
Copyright 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright 1998-2014 Zend Technologies -
What’s the output of:
php -m
-
php -m yields:
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib[Zend Modules]
-
One other note:
Fog 3218 seems to be running. I haven’t tested, but I did connect, update the schema, and log in. I got a few errors updating the schema, but they seem related to failure to drop indexes (sounds innocuous, but not sure.)My original reason for upgrading to 3218 was that I was having trouble multicasting multi-partition images of Win7. I’m guessing that, as the client didn’t update, I’ll likely still have the issue, but I’ll try multicasting and post my results. I can also post the schema update errors if helpful.
-
Hmm, my installation isn’t happy. Deployment yields errors relating to /dev/sdaX (X=1, 2, 3) not existing. Couldn’t get a shot of the screen because it passed too quickly, but partclone complains: “error opening USB device ‘descriptors’ file” three times, which corresponds to the number of partitions I’m pushing.
I’m guessing the client mismatch is not a happy situation, so I’ll wait to try when I get it to install clean.
-
The installation is having issues because the downloads from different repos on github are currently having issues right now. There may be other issues as well that I’m just not aware of, but there are a fair share of problems right now.
-
Got it. Thanks Tom!
-
svn up brought me to 3220. Everything looked good, except when prompted to go to fog/management and update the schema, I got the management console instead. I’m guessing this is because I updated the schema after the 3218 install, but not sure. Interestingly, the management console still reports that it is 3218
Multicasting seems to be working correctly now. I’m currently pushing to three machines, though they didn’t wake on lan as they have before when I created an instant deploy task, but they did fire right into the restore when powered on manually.
-
Multicast deploy is still running, but I’m getting some interesting errors. I’ve attached screenshots, but it is showing “Error opening USB device ‘descriptors’ file” now as partclone is running. [ATTACH]1847[/ATTACH][ATTACH]1848[/ATTACH] I also got a snap of the error before partclone starts: "error: /dev/sda3: No such file or directory … udevd[2755]: inotify_add_watch(6, /dev/sda3, 10) failed: No Such file or directory … and so on. [ATTACH]1846[/ATTACH] I’m going to let it run to see what happens.
[url=“/_imported_xf_attachments/1/1846_IMG_0012.JPG?:”]IMG_0012.JPG[/url][url=“/_imported_xf_attachments/1/1848_IMG_0014.JPG?:”]IMG_0014.JPG[/url][url=“/_imported_xf_attachments/1/1847_IMG_0013.JPG?:”]IMG_0013.JPG[/url]
-
Those errors are normal during a download job, it’s particular to what I’ve added to the kernel. Epolling support is now included which is why you’re seeing the errors. They’re nothing really impacting just more informative.
-
Multicast worked well! I still have to do a bootrec -fixmbr and bootrec -fixboot from the Win7 recovery console, but I suspect that is due to something funky in my image. All 3 machines boot and run well!
-
SVN 3220 still hangs on “Downloading new FOG CLient file”. I dont receive any messages. Nothing in the syslog file.
Ubuntu 12.04.5 LTS. If someone could let me know where the script is that attempts to download the new client file I’ll comment that out. Thanks, Mark -
Tom fixed this for me today. Try the latest revision.
-
Hi Wayne, I downloaded and tried the latest SVN literally 25 minutes ago - SVN 3220. Unless Tom has made changes in the last 25 minutes it still does not work for me. Please advise where the “Download new FOG Client file” can be bypassed. Thanks, Mark
-
Mark,
What is the output of the command:
[code]php -v[/code]and
[code]php -m[/code]
-
Hi Tom,
I’ve just lost connection to my FOG server at work. I’m going to have to go in and check that out. I’ll post the results. Thanks, Mark
-
[B]Tom…[/B]
foguser@HBImageserver:~$ sudo php -v
[sudo] password for foguser:
PHP 5.3.10-1ubuntu3.17 with Suhosin-Patch (cli) (built: Mar 17 2015 12:01:11)
Copyright 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright 1998-2012 Zend Technologies
foguser@HBImageserver:~$
[B]and…[/B]
foguser@HBImageserver:~$ sudo php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib[Zend Modules]
Regards,
Mark -
OK, just tried with 3221, which must have been submitted in the last hour. Still fails but I get a message now. Screenshot attached.
Regards, Mark[url=“/_imported_xf_attachments/1/1849_3221error.jpg?:”]3221error.jpg[/url]