http:///service/ipxe/bg.png Error 0x3e11613b / Fog UI Stuck in Loop
-
@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.
-
@Wayne-Workman Yes, very nearly. I deleted because I was able to access the FOG UI eventually. How do I know what I can/can’t delete? Or should I be looking to rebuild onto a VM with more space?
-
#!ipxe set fog-ip 192.168.150.10 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} cpuid --ext 29 && set arch x86_64 || set arch i386 goto get_console :console_set colour --rgb 0x00567a 1 || colour --rgb 0x00567a 2 || colour --rgb 0x00567a 4 || cpair --foreground 7 --background 2 2 || goto MENU :alt_console cpair --background 0 1 || cpair --background 1 2 || goto MENU :get_console console --picture http://192.168.150.10/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is NOT registered! item --gap -- ------------------------------------- item fog.local Boot from hard disk item fog.memtest Run Memtest86+ item fog.reginput Perform Full Host Registration and Inventory item fog.reg Quick Registration and Inventory item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 3000 target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.150.10/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 imgfetch init_32.xz boot || goto MENU :fog.memtest kernel memdisk iso raw initrd memtest.bin boot || goto MENU kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.150.10/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 imgfetch init_32.xz boot || goto MENU :fog.reginput kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.150.10/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=manreg imgfetch init_32.xz boot || goto MENU :fog.reg kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.150.10/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=autoreg imgfetch init_32.xz boot || goto MENU :fog.deployimage login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fog.multijoin login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param sessionJoin 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fog.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.150.10/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://192.168.150.10/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
@TomBagley said in http:///service/ipxe/bg.png Error 0x3e11613b / Fog UI Stuck in Loop:
@Wayne-Workman Yes, very nearly. I deleted because I was able to access the FOG UI eventually. How do I know what I can/can’t delete? Or should I be looking to rebuild onto a VM with more space?
I’d first start by looking for snapins that are in /opt/fog/snapins but are not in the web interface snapins management area, and delete the ones that shouldn’t be there.
There are some linux commands you can run to list all files sorted by size, I’ll see if I can find them.
-
@Wayne-Workman Thanks Wayne there was quite a lot not required so that’s got the root back to 20% available. The UI and Fog boot menu are more stable now but I am back to being stuck at ‘attempting to register host…’
-
@TomBagley Could you make a new thread for that issue? Sounds like a different issue entirely, screenshots would be helpful as well
-
@Quazz Sure! Thanks for your help thus far.
-
@TomBagley What is the output of
du -sh /var/log/httpd
and the output ofls -laht /var/log/httpd/error_log
-
15G /var/log/httpd
-rwxr-xr-x. 1 root root 1.3G Aug 10 14:32 /var/log/httpd/error_log
Thanks
-
@TomBagley Clean up the error log a bit.
Run:
cat /dev/null > /var/log/httpd/error_log