• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • R
    Raymond Bell Testers
    last edited by Jun 22, 2015, 4:38 PM

    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
    • W
      Wayne Workman @cml
      last edited by Jun 22, 2015, 4:52 PM

      @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
      • R
        Raymond Bell Testers
        last edited by Jun 22, 2015, 4:53 PM

        i did change it to my fog server ip address

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

        W 1 Reply Last reply Jun 22, 2015, 4:59 PM Reply Quote 0
        • W
          Wayne Workman @Raymond Bell
          last edited by Jun 22, 2015, 4:59 PM

          @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
          • R
            Raymond Bell Testers
            last edited by Raymond Bell Jun 22, 2015, 11:00 AM Jun 22, 2015, 5:00 PM

            @Wayne-Workman it is doing this for all models

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

            W 1 Reply Last reply Jun 22, 2015, 5:01 PM Reply Quote 0
            • W
              Wayne Workman @Raymond Bell
              last edited by Jun 22, 2015, 5:01 PM

              @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
              • W
                Wayne Workman
                last edited by Jun 22, 2015, 5:03 PM

                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
                • R
                  Raymond Bell Testers
                  last edited by Raymond Bell Jun 22, 2015, 11:08 AM Jun 22, 2015, 5:06 PM

                  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

                  W 1 Reply Last reply Jun 22, 2015, 5:10 PM Reply Quote 0
                  • W
                    Wayne Workman @Raymond Bell
                    last edited by Jun 22, 2015, 5:10 PM

                    @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
                    • R
                      Raymond Bell Testers
                      last edited by Jun 22, 2015, 5:13 PM

                      will it keep all my database?

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

                      W 1 Reply Last reply Jun 22, 2015, 5:15 PM Reply Quote 0
                      • W
                        Wayne Workman @Raymond Bell
                        last edited by Jun 22, 2015, 5:15 PM

                        @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/

                        R 2 Replies Last reply Jun 22, 2015, 5:30 PM Reply Quote 0
                        • R
                          Raymond Bell Testers @Wayne Workman
                          last edited by Jun 22, 2015, 5:30 PM

                          @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

                          T 1 Reply Last reply Jun 22, 2015, 5:43 PM Reply Quote 0
                          • R
                            Raymond Bell Testers @Wayne Workman
                            last edited by Jun 22, 2015, 5:34 PM

                            @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
                            • T
                              Tom Elliott
                              last edited by Jun 22, 2015, 5:41 PM

                              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

                              R 1 Reply Last reply Jun 22, 2015, 5:42 PM Reply Quote 0
                              • R
                                Raymond Bell Testers @Tom Elliott
                                last edited by Jun 22, 2015, 5:42 PM

                                @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
                                • T
                                  Tom Elliott @Raymond Bell
                                  last edited by Jun 22, 2015, 5:43 PM

                                  @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

                                  R 1 Reply Last reply Jun 22, 2015, 5:46 PM Reply Quote 0
                                  • R
                                    Raymond Bell Testers @Tom Elliott
                                    last edited by Jun 22, 2015, 5:46 PM

                                    @Tom-Elliott Yes it works now… Thanks but i am unable to FTP to that storage node

                                    Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".
                                    Error:	Could not connect to server```
                                    
                                    Should i not be able to ftp to it i had always before

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

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Jun 22, 2015, 5:48 PM

                                      Is vsftpd running?

                                      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

                                      R 1 Reply Last reply Jun 22, 2015, 5:49 PM Reply Quote 0
                                      • R
                                        Raymond Bell Testers @Tom Elliott
                                        last edited by Jun 22, 2015, 5:49 PM

                                        @Tom-Elliott how do i tell

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

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Jun 22, 2015, 5:50 PM

                                          sudo service vsftpd status

                                          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

                                          R 2 Replies Last reply Jun 22, 2015, 5:59 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            15/30
                                            Last post

                                          246

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project