• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved Boot loop

    Bug Reports
    6
    7
    1859
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      networkguy last edited by networkguy

      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
      
      N 1 Reply Last reply Reply Quote 1
      • Tom Elliott
        Tom Elliott @george1421 last edited by

        @george1421 Found, confirmed, fixed, tested, and pushed.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • george1421
          george1421 Moderator last edited by george1421

          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

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          Tom Elliott 1 Reply Last reply Reply Quote 1
          • J
            josh.martin last edited by

            I’m on 7729 and also receiving the same issues this morning.

            1 Reply Last reply Reply Quote 0
            • G
              gerald.stachl @falko last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • falko
                falko Moderator last edited by falko

                have the same error, using 7731

                G 1 Reply Last reply Reply Quote 1
                • N
                  networkguy @networkguy last edited by

                  @networkguy
                  I reverted from /home/fog_web_7727.BACKUP/ and am working ok for the moment.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  74
                  Online

                  10.4k
                  Users

                  16.4k
                  Topics

                  150.5k
                  Posts

                  Copyright © 2012-2023 FOG Project