SVN 3192 hangs
-
Hi,
I’ve just attempted to install SVN3192. All goes well until the “Downloading new FOG Client file…” message and it just sits there.
I’ve waited about half an hour but no joy. It downloads the kernels and inits ok. I’ve checked the installation log but it just shows the same as the installation screen…stops on the client install.
I’m on Ubuntu 12.04.5 LTS OS, and was previously on SVN 21xx (I think!)
Any ideas? Should it only take seconds to download the new client file, how long do I wait?
Thanks in advance, Mark
[url=“/_imported_xf_attachments/1/1844_fogclient.jpg?:”]fogclient.jpg[/url]
-
Clearly something went wrong with some part of the download process.
Maybe cancel it and retry?
-
Wayne, thanks for the reply. Yes I’ve tried that. I have 3 Fog imageservers at different locations. It has happened on all 3. They get to the same point of downloading the client file and sit there. I’ve removed and reloaded the SVN a few times on each with the same result every time The install script downloads the kernels and init files ok.
Can you or someone advise where this part of the script is? I don’t need the new client files, I’m sure they can be downloaded manually later on. Until then my imageservers have been rendered inoperable!
Thanks in advance, Mark -
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!