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

    DHCP Breaks Randomly

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    5
    1.2k
    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.
    • A
      arduinoAndMore
      last edited by arduinoAndMore

      I have a FOG 1.2.0 server running on Ubuntu 14.04.3. I have been imaging for a day and a half now, and I have completed around 200 successful images. I came in this morning and was getting ready for the first batch of 36 machines. All but four PXE booted properly, so I just tossed them into another pile and started without them. The 32 that were left finished just fine like all the others. I set up the next run, and now none of the clients are getting DHCP addresses from the server. I have restarted the server (virtual) and the host. I restarted the switch, and I have not changed any settings in FOG. It has just decided to stop working. I have restarted the server several times, and for some reason I can’t always access the web interface. This server was 100% functional yesterday so I have no idea what has happened to it overnight. I have at least 2-3 more runs to complete before the day is out, so any assistance is greatly valued. I’ll be sticking around the forum to be sure and see your reply promptly.

      Thanks!

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

        To me it sounds rather simple. Your dhcp server has run out of IP’s to hand out.

        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 2
        • A
          arduinoAndMore
          last edited by

          That would make sense. I assumed that FOG did not have very long lease periods. So if it doesn’t recycle IP’s, how do I clear the current leases?

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

            @arduinoAndMore You could expand the current scope… 1.2.0 only gives 254 addresses by default.

            change your dhcp configuration file to expand your scope.

            It’s really important to do this correctly - just saying. make a backup of the file as it is.

            Then when you’ve made your changes - restart dhcp

            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
            • A
              arduinoAndMore
              last edited by

              SOLVED: Had to delete the /var/lib/dhcp/dhcpd.leases file. Started working again like a charm. Thanks again!

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

              253

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project