SVN 3192 hangs
-
Please upgrade your svn version with [code]svn up[/code]
Rerun the installer and this should no longer present itself in such a manner.
-
updated to SVN3200 but the problem remains…
Configuring services.
- 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
- [B][COLOR=#ff0000]Downloading New FOG Client file…Failed to get client version[/COLOR][/B]
and breaks the installation…
-
[quote=“Sher Singh Rawat, post: 44966, member: 23821”]updated to SVN3200 but the problem remains…
Configuring services.
- 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
- [B][COLOR=#ff0000]Downloading New FOG Client file…Failed to get client version[/COLOR][/B]
and breaks the installation…[/quote]
Can you edit the script to just take that ONE line out, and do that part manually?
Do you plan on using the new client?
-
I am aware of the issue.
-
Issue, hopefully is fixed.
If you run into this again, right after it fails Please try running the command [code]php -v[/code] With the help of 2cool4me4, Bill Rice, Junkhacker, ch3i, and I’m sure others, I’ve noticed this particular problem is specific to Debian based models where the php system is separated into 2 components (cli and apache2). What’s basically happening is one instance of an extension is loaded, and the other instance is trying to reload it. This is why you see the (Module ‘modulenameheree’ is already loaded on unknown at line 0 or similar message). It’s because it really is already loaded. The “trick” to fixing it is essentially to remove the second non-needed links so they don’t affect the already loaded module at that point. THis may not be perfect yet, but at least I know what I can do to allow you to continue operating with minimal issues.
-
[quote=“Wayne Workman, post: 44976, member: 28155”]Can you edit the script to just take that ONE line out, and do that part manually?
Do you plan on using the new client?[/quote]
Ok Wayne,
Please let me know the script file name and that particular line… I can download the FOG client file file manually.
-
Tom is working on the problem. I think it’s best to hold off till he can code a fix.
-
sudo php -v
PHP 5.4.39-0+deb7u1 (cli) (built: Mar 20 2015 15:16:28)
Copyright 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright 1998-2014 Zend TechnologiesI’m running Debian 7.8 and have the same issue
- Downloading New FOG Client file…Failed to get client version
root@fog-server:/home/maurice/Downloads/fog2/bin# sudo svn up
At revision 3218.
- Downloading New FOG Client file…Failed to get client version
-
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.