Dell Venue 11 Pro
-
I have 15 GB Free of Disk Space on /dev/sda1 and 1.2 TB Free on /dev/sdb1
-
@dutchers4 Make sure MySQL is running
sudo service mysql restart
-
sudo service mysql restart mysql stop/waiting mysql start/running, process 31786 hbcadministrator@HBCELGFOG01:~$ sudo tail -25 /var/log/apache2/error.log [Thu Oct 08 14:03:52.583384 2015] [:error] [pid 31644] [client 10.21.0.61:54362] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 64, referer: http://10.21.0.4/fog/management/?node=schemaupdater [Thu Oct 08 14:03:52.594358 2015] [:error] [pid 31644] [client 10.21.0.61:54362] PHP Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 191, referer: http://10.21.0.4/fog/management/?node=schemaupdater
I trimmed it down… After Restarting Service
-
Are you still seeing the update schema page? Looking through the error logs again I noticed this:
... php_network_getaddresses: getaddrinfo failed: Name or service not known ...
Sounds a bit like the hostname cannot be resolved. But as I see in the other errors you have the database on the same host as the webserver (as pretty much everyone else) using
localhost
as hostname. Maybe your /etc/hosts files is gone wild. Please take a look and post the content of /etc/hosts file on your FOG server. -
127.0.0.1 localhost 127.0.1.1 HBCELGFOG01 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
-
@dutchers4 Sorry for taking so long to answer. Your /etc/hosts looks good to me. Re-reading all the posts here and thinking about this a little more I wonder if restarting MySQL just is not enough. See here: https://github.com/fogproject/fogproject/issues/1
-
Still no go, Still showing the Database Schema Installer.
-
Do you still see errors in your apache log?
Maybe try upgrading again and running the FOG install script. Sorry for not having a clear answer. It’s very hard to find an issue not sitting in front of the machine. Need more information.
Edit: MySQL logs to syslog in standard configuration. See what you get from those logs by running this command:
grep mysql /var/log/syslog
(output might be long! See if you find errors) -
@dutchers4 Any news on this?
-
I was really strongly wanting to see this thread solved…