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

Computers not booting from HD if iPXE fails

Scheduled Pinned Locked Moved Solved
FOG Problems
3
6
329
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.
  • S
    scosta
    last edited by Jun 19, 2019, 7:03 PM

    Hello everyone! Here’s my scenario: I have my computer’s boot order set to:
    1st boot: Lan with PXE
    2nd boot: Hard Disk.

    Lets say that, for any mysterious reasons, the iPXE booting fails to load the FOG Boot Menu, in this case I would expect that it would continue to booting on the 2nd boot configured, Hard Disk in my case. But it’s not happening, after the iPXE fails happens, seconds later the machine reboots and the machine gets stuck in a loop boot->ipxe fail->reboot .

    Am I doing anything wrong? Is there any setting in FOG i’m missing?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Jun 19, 2019, 7:07 PM

      So your saying that iPXE is aborting and then rebooting the system? If that is the case we need to identify why iPXE is doing this because if iPXE is telling the computer to reboot it will never fall through to the second booting option, because… it was told to reboot.

      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!

      1 Reply Last reply Reply Quote 0
      • S
        scosta
        last edited by Jun 19, 2019, 8:11 PM

        I noticed sometimes it happened because my database max connections were exceeded, leading to an error on loading the menu.

        Is there a way to change this behavior of iPXE commanding a reboot?

        G 1 Reply Last reply Jun 20, 2019, 11:56 AM Reply Quote 0
        • G
          george1421 Moderator @scosta
          last edited by Jun 20, 2019, 11:56 AM

          @scosta I guess 2.5 points here.

          1. I’d almost have to see a video of where exactly its causing the reboot because this isn’t normal. iPXE really doesn’t interact directly with the database. The only time iPXE touches the database is when it chains to boot.php. I can’t see the connection a the moment the linkage between iPXE an the database.
          2. Why don’t you change the max connections on the database?
            2.5 How many client computers do you have in your environment?

          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!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Jun 24, 2019, 12:01 PM

            @scosta Any news on this?

            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
            • S
              scosta
              last edited by Feb 5, 2020, 6:39 PM

              Sorry for bringing this back to life, but I guess this needs a disclosure: i fixed the issue incresing the max connections on my DB and by reducing the time that MySQL keeps the idle connections active. Sorry for not bringing this earlier.

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

              149

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project