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

    Pxe boot looping

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    30
    7.5k
    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.
    • cmlC
      cml Moderator
      last edited by

      Few questions:
      What OS and version of fog is this on?

      Do you have any errors in your apache log?

      Do you have the location plugin turned on? https://forums.fogproject.org/topic/3363/computers-keeping-gett-ipxe-could-not-boot-error

      1 Reply Last reply Reply Quote 0
      • Raymond BellR
        Raymond Bell Testers
        last edited by

        ubuntu 12.04
        Fog 1.2.0
        No errors
        No location service

        Raymond Bell
        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

        1 Reply Last reply Reply Quote 0
        • cmlC
          cml Moderator
          last edited by

          What do you get when you go to: http://10.24.28.17/fog/service/ipxe/boot.php

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Raymond BellR
            Raymond Bell Testers
            last edited by

            nothing but a blank page

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

            1 Reply Last reply Reply Quote 0
            • Raymond BellR
              Raymond Bell Testers
              last edited by

              the boot.php is on the server

              <?php
              header("Content-type: text/plain");
              require_once('../../commons/base.inc.php');
              if ($_REQUEST['mac0'] && !$_REQUEST['mac1'] && !$_REQUEST['mac2'])
              	$_REQUEST['mac'] = $_REQUEST['mac0'];
              else if ($_REQUEST['mac0'] && $_REQUEST['mac1'] && !$_REQUEST['mac2'])
              	$_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac1'];
              else if ($_REQUEST['mac0'] && !$_REQUEST['mac1'] && $_REQUEST['mac2'])
              	$_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac2'];
              else if ($_REQUEST['mac0'] && $_REQUEST['mac1'] && $_REQUEST['mac2'])
              	$_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac1'].'|'.$_REQUEST['mac2'];
              $MACs = HostManager::parseMacList($_REQUEST['mac']);
              $Host = $FOGCore->getClass('HostManager')->getHostByMacAddresses($MACs);
              new BootMenu($Host);```

              Raymond Bell
              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @cml
                last edited by

                @cml said:

                What do you get when you go to: http://10.24.28.17/fog/service/ipxe/boot.php

                It should be noted that you’d change the IP there to your FOG server’s IP.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Raymond BellR
                  Raymond Bell Testers
                  last edited by

                  i did change it to my fog server ip address

                  Raymond Bell
                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Raymond Bell
                    last edited by

                    @Raymond-Bell Is it doing this for any model, or just this particular model?

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • Raymond BellR
                      Raymond Bell Testers
                      last edited by Raymond Bell

                      @Wayne-Workman it is doing this for all models

                      Raymond Bell
                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Raymond Bell
                        last edited by

                        @Raymond-Bell Has anything changed? Did the boot-file change? Is your firewall on? Is SELinux on?

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          As @cml asked, do you see any Apache errors?

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • Raymond BellR
                            Raymond Bell Testers
                            last edited by Raymond Bell

                            Mon Jun 22 11:54:45 2015] [error] [client *.*.35.3] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                            [Mon Jun 22 11:54:45 2015] [error] [client *.*.35.3] File does not exist: /var/www/favicon.ico, referer: http://*.*.28.17/fog/service/ipxe/boot.php
                            [Mon Jun 22 11:54:48 2015] [error] [client *.*.35.3] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                            [Mon Jun 22 11:54:49 2015] [error] [client *.*.*.*] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                            [Mon Jun 22 11:54:50 2015] [error] [client *.*.35.3] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                            [Mon Jun 22 11:54:51 2015] [error] [client *.*.35.3] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                            [Mon Jun 22 11:56:14 2015] [error] [client *.*.35.3] client denied by server configuration: /var/www/server-status
                            [Mon Jun 22 12:02:38 2015] [error] [client *.*.28.17] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133```

                            Raymond Bell
                            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @Raymond Bell
                              last edited by

                              @Raymond-Bell said:

                              client denied by server configuration: /var/www/server-status

                              [CODE]client denied by server configuration: /var/www/server-status[/CODE]
                              Now that’s interesting…

                              Can you try to re-run the 1.2.0 installer? It’ll re-use your settings from before.

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • Raymond BellR
                                Raymond Bell Testers
                                last edited by

                                will it keep all my database?

                                Raymond Bell
                                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @Raymond Bell
                                  last edited by

                                  @Raymond-Bell said:

                                  will it keep all my database?

                                  Yes. But I’d recommend you export your DB for safe keeping prior to making any changes to your production FOG server. This is just good practice.

                                  FOG Configuration -> Configuration Save -> Export

                                  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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  Raymond BellR 2 Replies Last reply Reply Quote 0
                                  • Raymond BellR
                                    Raymond Bell Testers @Wayne Workman
                                    last edited by

                                    @Wayne-Workman i have re-run the installer and everything installed fine

                                    But i am having the same issue

                                    Raymond Bell
                                    WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Raymond BellR
                                      Raymond Bell Testers @Wayne Workman
                                      last edited by

                                      @Wayne-Workman

                                      [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning:  mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/fog/lib/db/MySQL.class.php on line 64
                                      [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning:  mysqli::select_db(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 165
                                      [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
                                      [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning:  MySQL::sqlerror(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
                                      [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150
                                      [Mon Jun 22 12:24:40 2015] [notice] caught SIGTERM, shutting down
                                      [Mon Jun 22 12:24:41 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3 with Suhosin-Patch configured -- resuming normal operations
                                      [Mon Jun 22 12:26:22 2015] [error] [client 10.24.32.15] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                                      [Mon Jun 22 12:28:19 2015] [error] [client 10.24.32.15] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133
                                      [Mon Jun 22 12:30:14 2015] [error] [client 10.24.32.15] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133```

                                      Raymond Bell
                                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        Based on what I am seeing, is there a storage node assigned to the image you’re working with?

                                        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

                                        Raymond BellR 1 Reply Last reply Reply Quote 0
                                        • Raymond BellR
                                          Raymond Bell Testers @Tom Elliott
                                          last edited by

                                          @Tom-Elliott Yes there is and i just seen that the master node is not set as master now

                                          Raymond Bell
                                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott @Raymond Bell
                                            last edited by

                                            @Raymond-Bell Can you setup as the master and see if things start working for you?

                                            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

                                            Raymond BellR 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project