Install/update your database - blank white page
-
@Sebastian-Roth I did both as you can see.
-
Not sure what I did wrong but:
[root@localhost fogadmin]# tail -100 /var/log/httpd/error_log [Sun Feb 21 03:26:01.608843 2016] [auth_digest:notice] [pid 1481] AH01757: generating secret for digest authentication ... [Sun Feb 21 03:26:01.610182 2016] [lbmethod_heartbeat:notice] [pid 1481] AH02282: No slotmem from mod_heartmonitor [Sun Feb 21 03:26:01.611983 2016] [ssl:warn] [pid 1481] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Sun Feb 21 03:26:01.632996 2016] [mpm_prefork:notice] [pid 1481] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.45 configured -- resuming normal operations [Sun Feb 21 03:26:01.633018 2016] [core:notice] [pid 1481] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
-
@ManofValor
error_log
is much different fromerror.log
-
@Tom-Elliott Oops…
-
@ManofValor So now that you know how to tail the log, can you “get the blank page” while tailing the log and get us some output?
-
@Tom-Elliott Well this time I got the right screen but when I clicked on Install/Update I got this:
and it just kept going
-
Log gave me a bunch of these;
[root@localhost bin]# tail -100 /var/log/httpd/error_log [Wed Feb 24 15:55:37.283070 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater [Wed Feb 24 15:55:37.283135 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater [Wed Feb 24 15:55:37.283149 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater [Wed Feb 24 15:55:37.283207 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater [Wed Feb 24 15:55:37.283221 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater [Wed Feb 24 15:55:37.283278 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning: mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater```
-
@ManofValor See it written… “Access denied”. FOG is not able to login to the database. Either the database is not running (
ps ax | grep mysql
) or your password is screwed: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL -
Ok, I tried fog install again and got through all that, thought I put a password for mysql but didn’t, but I got another error. I’ll see if I can figure it out, if not i’ll start another post. Thanks guys.
-
@ManofValor Tom probably found the issue and fixed the code. Can you please upgrade again and see if it works?
-
@Sebastian-Roth Upgrade fog or system upgrade?
-
@ManofValor upgrade fog.
-
@Tom-Elliott Should be version 4888, right?
-
[root@localhost bin]# svn up Updating '.': At revision 4888.
-
@ManofValor you’re in the bin directory you need to go up one directory and run the svn up command then go back to bin and reinstall.
-
@Tom-Elliott oh right, thank you.
-
Just got the same exact output.
[root@localhost trunk]# svn up Updating '.': At revision 4888. [root@localhost trunk]#
-
@ManofValor Have you rerun the installer?
-
@Tom-Elliott Yes. Per my other post I also keep getting this;
* Press [Enter] key when database is updated/installed. * Setting up storage..........................................OK * Setting up and starting DHCP Server.........................Error: either "dev" is duplicate, or "Server" is a garbage. Server: Unknown host ifconfig: `--help' gives usage information. ../lib/common/functions.sh: line 1757: -o: command not found grep: Server: No such file or directory Failed!
-
I see the error… that’s totally my fault.
the second grep is still written as a variable… I’ll do a pull request with a patch.