Boot loop
-
After updating to 7729 I am experiencing a boot loop.
Below is the Apache error log:
[Fri May 20 11:31:13 2016] [error] [client 1.1.1.1] PHP Strict Standards: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/html/fog/lib/db/pdodb.class.php on line 198
From the client I see the following:
Received DHCP answer on interface net0 tftp://myfogserver/default.ipxe... ok http://myfogserver/fog/service/ipxe/boot.php... ok SQL:: command not found Could not boot: Exec format error (http://ipxe.org/2e022001) ...
When I access http://myfogserver/fog/service/ipxe/boot.php with a browser, this is the top of what is displayed.
SQL: [110] SELECT * FROM `hostMAC` WHERE `hostMAC`.`hmMAC`= AND `hostMAC`.`hmPending`='0' ORDER BY `hostMAC`.`hmID` ASC Params: 0 SQL: [110] SELECT * FROM `hostMAC` WHERE `hostMAC`.`hmPending`='0' AND `hostMAC`.`hmMAC`= ORDER BY `hostMAC`.`hmID` ASC Params: 0 #!ipxe
-
@networkguy
I reverted from /home/fog_web_7727.BACKUP/ and am working ok for the moment. -
have the same error, using 7731
-
@falko
I’m also on 7731 and got the same error:[Fri May 20 19:14:05.970599 2016] [:error] [pid 1672] [client 10.2.0.26:55943] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0
[Fri May 20 19:14:06.031482 2016] [:error] [pid 1671] [client 10.2.0.26:55944] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0
[Fri May 20 19:14:06.092819 2016] [:error] [pid 2075] [client 10.2.0.26:55945] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0
[Fri May 20 19:14:06.962623 2016] [:error] [pid 1672] [client 10.1.1.10:1067] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0, referer: http://10.2.0.26/fog/management/?node=home
[Fri May 20 19:14:07.045817 2016] [:error] [pid 1671] [client 10.2.0.26:55947] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0
[Fri May 20 19:14:07.107836 2016] [:error] [pid 1258] [client 10.2.0.26:55948] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0
[Fri May 20 19:14:07.169997 2016] [:error] [pid 1974] [client 10.2.0.26:55949] PHP Warning: Declaration of PDODB::debug() should be compatible with FOGBase::debug($txt, $data = Array) in /var/www/fog/lib/db/pdodb.class.php on line 0 -
I’m on 7729 and also receiving the same issues this morning.
-
Cross linking threads same issue
https://forums.fogproject.org/topic/7494/7731-image-overview-sql-select-text-is-displayed
https://forums.fogproject.org/topic/7492/host-pxe-boot-issues
https://forums.fogproject.org/topic/7493/7731-sql-error
https://forums.fogproject.org/topic/7496/7731-when-trying-to-pxe-boot-sql-command-not-found -
@george1421 Found, confirmed, fixed, tested, and pushed.