Fog Cannot Register Host and Blank Screen on Image Startup
-
A few days ago I tried to image a set of new Dell Latitude E5570 laptops we got. They didn’t want to register and I got a fast TSC calibration error. I read through the forums and found the linked page and updated the kernel as instructed. The fast TSC error went away but I can still not image or register a computer to fog. Even machines that we previously had done. I was reading a bit more and someone suggested the TFTP service was timing out so I restarted the server and checked the service to find it running normally. The GUI still works just not imaging. If anyone could give me an idea to try next that would be great.
-
@Tom-Elliott It starts with this
[Sun Jul 17 07:35:03 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operations
[Tue Jul 19 07:11:36 2016] [error] [client 10.58.120.97] File does not exist: /var/www/favicon.ico, referer: http://10.58.8.20/fog/management/index.php
[Tue Jul 19 07:52:42 2016] [notice] caught SIGTERM, shutting down
[Tue Jul 19 07:53:42 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operations
[Tue Jul 19 09:51:24 2016] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[Tue Jul 19 09:51:25 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operationsThen I get this repeating for a bunch of IP addresses
[Tue Jul 19 09:57:46 2016] [error] [client 10.58.12.46] PHP Fatal error: Call to a member function query() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 89
-
you need to read the file, not try to run it.
Try:
gedit /var/log/apache2/error.log
Or (even better):
tail -100 /var/log/apache2/error.log
Then copy the information and paste it in the text window. -
-
@Atton
find / | grep error_logs/fog_error_*
-
@Atton Where have you looked?
-
@Tom-Elliott I cannot find the error logs
-
@Tom-Elliott said in Fog Cannot Register Host and Blank Screen on Image Startup:
@Atton I don’t know if you ahve any custom setups, but please try this:
sudo -i rm -rf /etc/php5 /etc/apache2; apt-get clean all apt-get update apt-get purge apache2 lib*mod*php5 php5* apt-get clean all rm -rf /var/www
Then retry installing. This should fix most of those issues.
#wiki worthy
-
@Atton What’s in the apache error log? What’s in the bin/error_logs/fog_error_${version}.log (where version is the version you’re installing?
-
@Tom-Elliott That fixed the apache2 issue, now when updating it says “Stopping Web Service… Failed!” and stops there.
-
@Atton I don’t know if you ahve any custom setups, but please try this:
sudo -i rm -rf /etc/php5 /etc/apache2; apt-get clean all apt-get update apt-get purge apache2 lib*mod*php5 php5* apt-get clean all rm -rf /var/www
Then retry installing. This should fix most of those issues.
-
@Wayne-Workman My password problem is fixed. Before I restarted I updated apache2 and php5 and there was a compatibility problem between the 2 and apache2 will not run.
-
@Atton What says that?
-
@Wayne-Workman It says my password is the same one I have always been using but it’s no longer working.
-
-
@Atton can you access the
/opt/fog/.fogsettings
file? The password is in there.
cat /opt/fog/.fogsettings
-
@Wayne-Workman I can’t. The password I used to get into the machine is no longer working. I did not change it
-
sudo apt-get install aptitude -y
sudo aptitude reinstall libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-fpm php5 -y
-
@Wayne-Workman ubuntu 12.0.4
-
@Atton said in Fog Cannot Register Host and Blank Screen on Image Startup:
libapache2-mod-php5
What version of Ubuntu/Debian are you running?