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

As of svn 3013 i get input\output pxe error. does that mean i need to flash my pxe ?

Scheduled Pinned Locked Moved
FOG Problems
4
7
1.4k
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.
  • J
    jenesis
    last edited by Feb 15, 2015, 9:25 AM

    I get error [url]http://ipxe.org/1d0c6139[/url] on laptops that used to pxe just fine few releases ago ,

    now they don’t boot

    how do i fix this ?
    thanks

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Feb 15, 2015, 1:41 PM

      As you probably found out already this error means: ‘Unrecognised HTTP response code’. iPXE is being loaded via TFTP and then tries to load the boot menu or the kernel/init.xz (if a task is scheduled for this host). This obviously fails. What do you get browsing this URL: [url]http://<fog-server-ip>/fog/service/ipxe/boot.php[/url]

      And please check your apache log files to see if any errors occour: /var/log/apache2/error.log or /var/log/httpd/error_log

      [url]http://fogproject.org/forum/threads/ipxe-error-1d0c6139.11529/[/url]

      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 0
      • J
        jenesis
        last edited by Feb 15, 2015, 2:18 PM

        thanks for the guidenss , here is what i got so far :
        this line constatly repeated in the apache error log :
        PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 143
        [Sun Feb 15 09:33:33.095571 2015] [:error]

        this is line 143 from bootmenu.class.php
        ‘mac’ => $Host->get(‘mac’),

        i have attached boot.php for reference, but it seams fine for the untrained eye.

        thoughts ?

        [url=“/_imported_xf_attachments/1/1687_boot.php?:”]boot.php[/url]

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 15, 2015, 7:26 PM

          Downgrade back to 3012 with svn up -r 3012

          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 0
          • R
            Rafa
            last edited by Feb 17, 2015, 4:10 PM

            Hello,

            yesterday I found the same problem while trying to quick register a laptop booting from the network. If I tried network boot with an already registered laptop, everything worked fine. I had r3016 (clean install) on Ubuntu 14.04 (64 bits). After reading this post, I downgraded to r3012 and faced the same problem. So I clean installed r3016 again, and took a look at /var/www/fog/lib/fog/BootMenu.class.php, and changed some lines:

            Where it was:

            [PHP]
            $iPXE = new iPXE(array(
            ‘product’ => $_REQUEST[‘product’],
            ‘manufacturer’ => $_REQUEST[‘manufacturer’],
            ‘mac’ => $Host->get(‘mac’),
            ‘success’ => 1,
            ‘file’ => $_REQUEST[‘filename’],
            ‘version’ => $_REQUEST[‘ipxever’],
            ));
            [/PHP]

            I changed it to:

            [PHP]
            if ($Host && $Host->isValid())
            {
            $iPXE = new iPXE(array(
            ‘product’ => $_REQUEST[‘product’],
            ‘manufacturer’ => $_REQUEST[‘manufacturer’],
            ‘mac’ => $Host->get(‘mac’),
            ‘success’ => 1,
            ‘file’ => $_REQUEST[‘filename’],
            ‘version’ => $_REQUEST[‘ipxever’],
            ));
            }
            else
            {
            $iPXE = new iPXE(array(
            ‘product’ => $_REQUEST[‘product’],
            ‘manufacturer’ => $_REQUEST[‘manufacturer’],
            //‘mac’ => $Host->get(‘mac’),
            ‘success’ => 1,
            ‘file’ => $_REQUEST[‘filename’],
            ‘version’ => $_REQUEST[‘ipxever’],
            ));
            }
            [/PHP]

            The only thing I do is to check “$Host” before calling “get(‘mac’)”. Now I can register, upload, and deploy images from/to this laptop without any problem.

            I hope it helps someone else.

            Regards!
            Rafa.

            1 Reply Last reply Reply Quote 0
            • J
              jenesis
              last edited by Feb 18, 2015, 12:09 PM

              it did help get pass that error i was having , but something else is wrong 😞 i cant register, quick or full , after bzimage is loaded i get three very quick lines that says something … not found… cant read it it disappeared fast.
              so thank you for the code, but something else is broken.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Feb 18, 2015, 2:48 PM

                Maybe try hitting the ‘PAUSE’ key just at the right moment or take a video with your smartphone or camera might help…

                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 0
                • 1 / 1
                1 / 1
                • First post
                  5/7
                  Last post

                156

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project