http:///service/ipxe/bg.png Error 0x3e11613b / Fog UI Stuck in Loop
-
Hi,
Running Fog 7492 on CentOS.Just noticed an issue as I went to image an existing host. I get the following chainloading error.
tftp://192.168.150.10/default.ipxe… ok
http://192.168.150.10/fog/service/ipxe/boot.php… ok
http://service/ipxe/bg.png… Error 0x3e11613b (http://ipxe.org/3e11613b)
Could not boot: No such file or directory (http://ipxe.org/2d2ce03b)
Could not boot: No such file or directory (http://ipxe.org/2d2ce03b)
Chainloading failed, hit ‘s’ for the iPXE shell; reboot in 10 seconds.I thought I’d go to the UI to see if there was anything obvious and it advised that the database was out of date and needed updating - fine clicked to update and it says it was successful but when I click to login it just goes back to the database schema/installer page.
Not sure if these errors are linked so a bit stuck as to where to start troubleshooting, any ideas?
Thanks as always,
Tom -
Update to 1.3.0-RC-4 Please.
-
Also, as an add on to this. The fact that the url coming back is missing the link it needs to look at appears, to me, to indicate a problem with communicating with the database. Can you verify your /opt/fog/.fogsettings variables for
snmysqluser snmysqlpass snmysqlhost
are set and working properly?
-
@Tom-Elliott Thanks for getting back to me Tom. All three of those variables are showing as blank. I left the details as default on installation so I’m not exactly sure what I should be expecting to see!
Tom
-
@TomBagley I don’t know what you’re installing.
What version of FOG are you trying to install? Seeing as it says “Running 7492” Did you update to the RC-4 and are still having this issue?
-
@Tom-Elliott Hi Tom,
I have just upgraded to RC-4. The good news is the Fog Menu now loads thankyou! However on attempting to do a quick registration it just hangs at ‘Attempting to register host…’
-
@TomBagley Can you provide your apache error log?
-
@Tom-Elliott Looks to be looping with these errros
root@localhost httpd]# [Mon Jul 25 03:36:02.291243 2016] [auth_digest:notice] [pid 1481] AH01757: generating secret for digest authentication ... -bash: [Mon: command not found [root@localhost httpd]# [Mon Jul 25 03:36:02.304684 2016] [lbmethod_heartbeat:notice] [pid 1481] AH02282: No slotmem from mod_heartmonitor -bash: [Mon: command not found [root@localhost httpd]# [Mon Jul 25 03:36:02.313913 2016] [ssl:warn] [pid 1481] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Mon Jul 25 03:36:02.488850 2016] [mpm_prefork:notice] [pid 1481] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.21 configured -- resuming normal operations -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Mon Jul 25 03:36:02.488874 2016] [core:notice] [pid 1481] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' -bash: [Mon: command not found [root@localhost httpd]# [Wed Jul 27 04:13:01.640196 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::mysqli(): (08004/1040): Too many connections in /var/www/html/fog/lib/db/mysql.class.php on line 25 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:01.640328 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::set_charset(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 26 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:01.640358 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:01.640400 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:01.640461 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:01.640478 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 -bash: syntax error near unexpected token `(' [root@localhost httpd]# [Wed Jul 27 04:13:02.136492 2016] [:error] [pid 30235] [client 192.168.161.143:59419] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35
-
@TomBagley Unless this is the past, I doubt it.
Those are dated for July 27, 2016
-
@Tom-Elliott Wow that’s special even for me. Apologies this is the first sight of the apache logs I’ve had.
[Fri Jul 29 13:54:10.174063 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.175057 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.175089 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.175104 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.175432 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.175456 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.175471 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.175800 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.175832 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.175846 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.176149 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.176172 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.176186 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.176478 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.176502 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.176516 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.176838 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.176869 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.176883 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.177179 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.177202 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.177228 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:10.220907 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 35 [Fri Jul 29 13:54:10.220947 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 47 [Fri Jul 29 13:54:10.220962 2016] [:error] [pid 46397] [client 192.168.161.131:52482] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/mysql.class.php on line 49 [Fri Jul 29 13:54:13.752738 2016] [mpm_prefork:notice] [pid 46326] AH00170: caught SIGWINCH, shutting down gracefully [Fri Jul 29 13:55:41.944866 2016] [core:notice] [pid 46834] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Fri Jul 29 13:55:41.946564 2016] [suexec:notice] [pid 46834] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Jul 29 13:55:41.948415 2016] [ssl:warn] [pid 46834] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Fri Jul 29 13:55:41.994661 2016] [auth_digest:notice] [pid 46834] AH01757: generating secret for digest authentication ... [Fri Jul 29 13:55:41.995918 2016] [lbmethod_heartbeat:notice] [pid 46834] AH02282: No slotmem from mod_heartmonitor [Fri Jul 29 13:55:41.997815 2016] [ssl:warn] [pid 46834] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Fri Jul 29 13:55:42.032846 2016] [mpm_prefork:notice] [pid 46834] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.24 configured -- resuming normal operations [Fri Jul 29 13:55:42.032916 2016] [core:notice] [pid 46834] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Fri Jul 29 13:57:34.043284 2016] [:error] [pid 46846] [client 192.168.161.142:65310] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/schemaupdaterpage.class.php on line 47, referer: http://192.168.150.10/fog/management/?node=schema [Fri Jul 29 14:13:07.504645 2016] [:error] [pid 46930] [client 192.168.150.48:37966] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23 [Fri Jul 29 14:14:05.305646 2016] [:error] [pid 46845] [client 192.168.150.48:37968] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/reg-task/registration.class.php on line 122 [Fri Jul 29 14:15:03.883199 2016] [:error] [pid 46930] [client 192.168.161.138:53087] PHP Warning: PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:836) in /var/www/html/fog/lib/db/pdodb.class.php on line 32 [Fri Jul 29 14:15:03.883238 2016] [:error] [pid 46930] [client 192.168.161.138:53087] PHP Warning: PDO::__construct(): OK packet 1 bytes shorter than expected in /var/www/html/fog/lib/db/pdodb.class.php on line 32 [Fri Jul 29 14:16:02.781895 2016] [:error] [pid 46883] [client 192.168.161.142:51234] PHP Warning: PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:836) in /var/www/html/fog/lib/db/pdodb.class.php on line 32, referer: http://192.168.150.10/fog/management/index.php [Fri Jul 29 14:16:02.781938 2016] [:error] [pid 46883] [client 192.168.161.142:51234] PHP Warning: PDO::__construct(): OK packet 1 bytes shorter than expected in /var/www/html/fog/lib/db/pdodb.class.php on line 32, referer: http://192.168.150.10/fog/management/index.php [Fri Jul 29 14:16:58.758648 2016] [:error] [pid 49346] [client 192.168.150.48:37974] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogbase.class.php on line 86 [Fri Jul 29 14:17:56.804637 2016] [:error] [pid 46930] [client 192.168.150.48:37976] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 178 [Fri Jul 29 14:18:54.561695 2016] [:error] [pid 46842] [client 192.168.150.48:37978] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 169 [Fri Jul 29 14:18:55.950682 2016] [:error] [pid 46842] [client 192.168.150.10:53831] PHP Warning: PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:836) in /var/www/html/fog/lib/db/pdodb.class.php on line 32 [Fri Jul 29 14:18:55.950717 2016] [:error] [pid 46842] [client 192.168.150.10:53831] PHP Warning: PDO::__construct(): OK packet 1 bytes shorter than expected in /var/www/html/fog/lib/db/pdodb.class.php on line 32 [Fri Jul 29 14:19:52.099632 2016] [:error] [pid 46883] [client 192.168.150.48:37980] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 27 [Fri Jul 29 14:20:49.643645 2016] [:error] [pid 47223] [client 192.168.150.48:37982] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 27 [Fri Jul 29 14:21:47.430632 2016] [:error] [pid 46845] [client 192.168.150.48:37984] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogbase.class.php on line 92
-
@TomBagley Can you do me a favor?
I know this is going to sound a bit rough, but can you do:
rm -rf /var/www/fog /var/www/html/fog
Then rerun the FOG installer please?
-
@Tom-Elliott No trouble Tom have done. Same symptom when running quick registration. Eventually I get:
*Attempting to register host… Failed
An error has been detected!
Cannot register host. (/bin/fog.auto.reg)
Args Passed:
Computer will reboot in 1 minute.Thanks,
Tom -
@Tom-Elliott Just as a further note I am able to perform a full registration of host. I can also image the client after registering this way.
Not sure whether this helps or offers any guidance.
Tom -
@TomBagley Did you change the fog server’s IP? Have you tried updating to the latest RC5 ?
-
@Wayne-Workman Hi Wayne, I haven’t changed the IP and have just upgraded to RC5 and the symptoms remain the same unfortunately.
-
@TomBagley said in http:///service/ipxe/bg.png Error 0x3e11613b / Fog UI Stuck in Loop:
http://service/ipxe/bg.png… Error 0x3e11613b (http://ipxe.org/3e11613b)
I just noticed that line is missing both the IP and fog. It should be this:
http://192.168.150.10/fog/service/ipxe/bg.png
My first advice would be to check in Storage Management, look at all node’s
Web root
field. This should (generally) be/fog
Then look inside of
FOG Configuration -> FOG Settings -> Web Server -> FOG_WEB_HOST
andFOG_WEB_ROOT
.Web host should be the fog IP address. web root should be
/fog/
-
This post is deleted! -
@Wayne-Workman Have checked and all values are as you state them to be.
-
@TomBagley What’s the output of http://192.168.150.10/fog/service/ipxe/boot.php ?
-
@TomBagley I can see the deleted post, your root directory is about full? that would cause serious issues.