PXE Boot Error 1d0c6539
-
-
#!ipxe
set fog-ip 172.16.1.17
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://172.16.1.17/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
:MENU
menu
colour --rgb 0x00567a 0 ||
cpair --foreground 1 1 ||
cpair --foreground 0 3 ||
cpair --foreground 4 4 ||
item --gap Host is registered as AE-21!
item --gap – -------------------------------------
item fog.local Boot from hard disk
item fog.memtest Run Memtest86+
item fog.keyreg Update Product Key
item fog.quickimage Quick Image
item fog.multijoin Join Multicast Session
item fog.quickdel Quick Host Deletion
item fog.sysinfo Client System Information (Compatibility)
choose --default fog.local --timeout 5000 target && goto ${target}
:fog.local
sanboot --no-describe --drive 0x80 || goto MENU
:fog.memtest
kernel memdisk iso raw
initrd memtest.bin
boot || goto MENU
:fog.keyreg
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param keyreg 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:fog.quickimage
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.quickdel
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param delhost 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 keymap= web=172.16.1.17/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
imgfetch init_32.xz
boot || goto MENU
:bootme
chain -ar http://172.16.1.17/fog/service/ipxe/boot.php##params ||
goto MENU
autoboot -
Mind updating to the lastest and see if the io error is still present?
-
I’ll update and check. Thanks!!!
-
Ok. So I did the update. I still get the same error. It has the
//
still there.Am I missing something?
Thanks!
Joe Gill
-
@Joe-Gill What’s in the apache error logs?
-
Where are they located?
-
@Joe-Gill You can view them under /var/log/apache2/error.log (debian) or /var/log/httpd/error_log (redhat)
-
-
@Joe-Gill Can you copy paste here?
To copy from putty, simply select the text from the terminal and then paste it in the text area here.
-
[Sun Jun 19 08:03:31.454992 2016] [mpm_prefork:notice] [pid 22344] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- re$ [Sun Jun 19 08:03:31.462241 2016] [core:notice] [pid 22344] AH00094: Command line: '/usr/sbin/apache2' [Mon Jun 20 07:27:24.706254 2016] [mpm_prefork:notice] [pid 22344] AH00169: caught SIGTERM, shutting down [Mon Jun 20 07:27:25.767771 2016] [mpm_prefork:notice] [pid 7294] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$ [Mon Jun 20 07:27:25.767820 2016] [core:notice] [pid 7294] AH00094: Command line: '/usr/sbin/apache2' [Mon Jun 20 07:34:59.025380 2016] [mpm_prefork:notice] [pid 7294] AH00169: caught SIGTERM, shutting down [Mon Jun 20 07:35:06.502871 2016] [mpm_prefork:notice] [pid 7442] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$ [Mon Jun 20 07:35:06.502919 2016] [core:notice] [pid 7442] AH00094: Command line: '/usr/sbin/apache2' [Mon Jun 20 07:38:22.854001 2016] [mpm_prefork:notice] [pid 7442] AH00169: caught SIGTERM, shutting down [Mon Jun 20 07:38:23.900776 2016] [mpm_prefork:notice] [pid 7500] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$ [Mon Jun 20 07:38:23.900820 2016] [core:notice] [pid 7500] AH00094: Command line: '/usr/sbin/apache2' [Mon Jun 20 09:54:15.883037 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883063 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883072 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883080 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883086 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883093 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883726 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883742 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883750 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883769 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883776 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:15.883782 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401526 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401558 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401568 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401575 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401581 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.401588 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402232 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402248 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402256 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402263 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402280 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:54:55.402287 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:56:29.588122 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:56:29.588148 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:56:29.588157 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ [Mon Jun 20 09:56:29.588165 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var$ ``
-
Any thoughts?
-
@Joe-Gill I don’t see the whole string, so no, I have no thoughts.
You can tail the contents of the file, and just select the last few lines directly out of the terminal.
-
[Wed Jun 22 08:53:58.320094 2016] [:error] [pid 11962] [client 172.16.18.207:51668] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/storagegroup.class.php on line 52 [Wed Jun 22 08:53:58.320250 2016] [:error] [pid 11962] [client 172.16.18.207:51668] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 59, Message: Undefined variable: whereArray, Host: 172.16.200.173, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(102): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(245): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.php(48): FOGController->loadItem('images')\n#3 /var/www/html/fog/lib/fog/storagenode.class.php(41): FOGController->get('images')\n#4 /var/www/html/fog/lib/fog/storagegroup.class.php(44): StorageNode->get('images')\n#5 [internal function]: StorageGroup->{closure}(Object(StorageNode))\n#6 /var/www/html/fog/lib/fog/storagegroup.class.php(52): array_map(Object(Closure), Array)\n#7 /var/www/html/fog/lib/fog/bootmenu.class.php(641): StorageGroup->getOptimalStorageNode('5')\n#8 /var/www/html/fog/lib/fog/bootmenu.class.php(163): BootMenu->getTasking()\n#9 in /var/www/html/fog/lib/fog/fogftp.class.php on line 51
-
Upate!!
We got this fixed. The FreNAS node on our storage group (not the master), was set to get it’s IP address by DHCP. The DHCP lease went up and the address changed. When this happened it caused this error to appear.
I reset the address on our FreeNAS node of our storage group, and everything works perfectly.
Moral of the story, do not set up any of your servers with DHCP addresses when you’ve got stuff pointing to said addresses!!
Thanks for making me think harder.
Cheers,
Joe Gill