Unable to register host no reason listed
-
Updated to svn 2944 from 2933 when I attempt to register a host it errors out with a message of unable to register for the following reason with no text after it then proceeds to do the inventory and then trys to send and gets stuck there. I also have reports of images not being pushed either and will test that in a bit as soon as a machine becomes available.
Ubuntu 12.04
apache error log as follows.
[Thu Jan 29 09:47:52 2015] [error] [client 10.114.80.136] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 636, referer: [url]http://10.200.10.150/fog/management/index.php?node=tasks&sub=active-snapins[/url]
[Thu Jan 29 09:47:52 2015] [error] [client 10.114.80.136] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 636, referer: [url]http://10.200.10.150/fog/management/index.php?node=tasks&sub=active-snapins[/url]
[Thu Jan 29 09:47:52 2015] [error] [client 10.114.80.136] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 636, referer: [url]http://10.200.10.150/fog/management/index.php?node=tasks&sub=active-snapins[/url]
[Thu Jan 29 09:50:27 2015] [error] [client 10.109.48.34] File does not exist: /var/www/fog/management/images, referer: [url]http://10.200.10.150/fog/management/index.php?node=tasks&sub=active[/url]
[Thu Jan 29 09:52:18 2015] [error] [client 10.109.48.34] File does not exist: /var/www/fog/management/images, referer: [url]http://10.200.10.150/fog/management/index.php?node=tasks&sub=active[/url]
[Thu Jan 29 09:55:29 2015] [error] [client 10.114.32.9] File does not exist: /var/www/fog/management/images, referer: [url]http://10.200.10.150/fog/management/index.php?node=host[/url]this repeats alot
fog install log...#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
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: Ubuntu
Installation Type: Normal Server
Server IP Address: 10.200.10.150
DHCP router Address:
DHCP DNS Address: 10.200.10.33
Interface: bond0
Using FOG DHCP: 0
Internationalization: 1
Image Storage Location: /images
Donate: 0DHCP will NOT be setup but you must setup your current DHCP server to use FOG for PXE services. On a Linux DHCP server you must set: next-server On a Windows DHCP server you must set: option 066 & 067 Option 066 is the IP of the FOG Server: (e.g. 10.200.10.150) Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
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-mysql php5-curl mysql-server mysql-client 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 language-pack-it language-pack-en language-pack-es language-pack-zh-hans
-
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-mysql (Already installed)
-
Skipping package: php5-curl (Already installed)
-
Skipping package: mysql-server (Already installed)
-
Skipping package: mysql-client (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: language-pack-it (Already installed)
-
Skipping package: language-pack-en (Already installed)
-
Skipping package: language-pack-es (Already installed)
-
Skipping package: language-pack-zh-hans (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-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…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: language-pack-it…OK
- Checking package: language-pack-en…OK
- Checking package: language-pack-es…OK
- Checking package: language-pack-zh-hans…OK
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
-
Copying back any custom hook files.
-
Copying back any custom report files.
You still need to install/update your database schema.
This can be done by opening a web browser and going to:
Press [Enter] key when database is updated/installed.
- Setting up storage…OK
- Setting up and starting DHCP Server…Skipped
- Setting up and starting TFTP and PXE Servers…OK
- Setting up and starting VSFTP Server…OK
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
- Installing init scripts…OK
- Setting up FOG Services…OK
- Setting up FOG Utils…OK
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…OK
- Starting FOG Task Scheduler Server…OK
- Starting FOG Snapin Replicator Server…OK
- Configuring Fresh Clam…OK
- Setting up and starting NFS Server…OK
Setup complete!
You can now login to the FOG Management Portal using
the information listed below. The login information
is only if this is the first install.This can be done by opening a web browser and going to:
[url]http://10.200.10.150/fog/management[/url] Default User: Username: fog Password: password
-
I’m going to guess this isn’t necessarily on All hosts, but rather just this particular host?
-
I’ve tested 3 hosts for registration one was already registered and I deleted the record as a test all show the same issue. It does appear to be all hosts.
-
Here is a video of the boot process on a image download. [url]https://dl.dropboxusercontent.com/u/24177483/VIDEO0023.mp4[/url]
Looks like it gets all the way to sending inventory and than gets a blank screen with a cursor at the bottom left corner. -
I know exactly what the issue is. Fix coming shortly.
In the mean time, can you downgrade your kernel using the kernel update feature. We’re currently at 3.18.4, and this is the bad kernel.
-
What was the previous one I should select.
-
You can select any other, I’m about to fix 3.18.4, the prior was 3.18.3 (i’d recommend both just in case)
-
I tried 3.18.3 and 3.18.2 both kernel panic. FYI download kernel icon links are broken.
-
Are you sure you’re copying the right files. Icon is broken, but should work on the published link now.
bzImage should be the x86_64 kernel
bzImage32 should be the x86 kernel -
Ok it works now that I’ve taken off my stupid hat you are correct sir I was using the wrong file name and icons show now.
-
Thank you, you guys are awesome and are doing a fantastic job.