Fog Cannot Register Host and Blank Screen on Image Startup
-
What version of fog are you running? From the sounds of it it would seem to be 1.2.0.
-
I am running 1.2.0
-
@Atton FOG 1.3.0 RC1 is out, read more information here: https://news.fogproject.org/fog-1-3-0-rc-1/
Please update, follow this guide:
https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk -
@Wayne-Workman Installing it I ran into an issue that said libapache2-mod-php5 Failed! I followed the link on updating apache2 and php5 and then the install was going. I restarted my machine because the apache2 server was not working so I couldn’t get into the web server to update the database and now I cannot get logged in with my username and password to the machine.
https://forums.fogproject.org/topic/7420/1-2-0-to-1-3-0-failed-libapache2-mod-php5-failed
-
@Atton said in Fog Cannot Register Host and Blank Screen on Image Startup:
libapache2-mod-php5
What version of Ubuntu/Debian are you running?
-
@Wayne-Workman ubuntu 12.0.4
-
sudo apt-get install aptitude -y
sudo aptitude reinstall libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-fpm php5 -y
-
@Wayne-Workman I can’t. The password I used to get into the machine is no longer working. I did not change it
-
@Atton can you access the
/opt/fog/.fogsettings
file? The password is in there.
cat /opt/fog/.fogsettings
-
-
@Wayne-Workman It says my password is the same one I have always been using but it’s no longer working.
-
@Atton What says that?
-
@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 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.
-
@Tom-Elliott That fixed the apache2 issue, now when updating it says “Stopping Web Service… Failed!” and stops there.
-
@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 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
-
@Tom-Elliott I cannot find the error logs
-
@Atton Where have you looked?
-
@Atton
find / | grep error_logs/fog_error_*