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

DHCP stopped working after power outage

Scheduled Pinned Locked Moved Solved
FOG Problems
3
17
3.1k
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.
  • T
    TTellez
    last edited by Apr 6, 2017, 9:08 PM

    Server
    • FOG Version: 1.3.5
    • OS: Ubuntu
    Description

    After a power outage, the FOG server DHCP function is not working. I have a new switch, there is no DHCP interference as i’m using a switch and a server with no internet connection. I’ve changed the cables for brand new ones, and verified the enet port on the laptop works fine.

    Suggestions?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Apr 6, 2017, 9:47 PM

      So fog is your dhcp server? Can you confirm that the dhcp service is running on your FOG server?

      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!

      T 2 Replies Last reply Apr 7, 2017, 12:11 PM Reply Quote 0
      • W
        Wayne Workman
        last edited by Apr 6, 2017, 10:40 PM

        Start the service. Enable it on boot so this doesn’t happen again.

        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/

        T 1 Reply Last reply Apr 7, 2017, 12:05 PM Reply Quote 0
        • T
          TTellez @Wayne Workman
          last edited by Apr 7, 2017, 12:05 PM

          @Wayne-Workman already done, and not working. Tried this on multiple laptops, none are connecting. Im about to give up.

          1 Reply Last reply Reply Quote 0
          • T
            TTellez @george1421
            last edited by Apr 7, 2017, 12:11 PM

            @george1421 Yes my FOG server has always been my DHCP server.

            I ran

            sudo /etc/init.d/dhcp3-server restart

            and it didn’t help

            1 Reply Last reply Reply Quote 0
            • T
              TTellez @george1421
              last edited by Apr 7, 2017, 12:15 PM

              @george1421 also tried this

              sudo /etc/init.d/isc-dhcp-server restart

              this one at least returned a positive result,

              1 Reply Last reply Reply Quote 0
              • T
                TTellez
                last edited by Apr 7, 2017, 12:38 PM

                When I check the DHCP server status this is what I get. 0_1491568693968_IMG_0303.JPG

                1 Reply Last reply Reply Quote 0
                • T
                  TTellez
                  last edited by Apr 7, 2017, 1:11 PM

                  I’ve decided to try a reinstall of the FOG server. I received a 404 error when i attempted WGET, but I was able to download the ZIP file from GitHUb.

                  Currently installing. Will update.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TTellez
                    last edited by Apr 7, 2017, 2:54 PM

                    POST reinstall, I restarted the DHCP server and checked the status again, and got this notification.

                    0_1491576859098_IMG_0305.JPG

                    W 1 Reply Last reply Apr 7, 2017, 9:36 PM Reply Quote 0
                    • T
                      TTellez
                      last edited by Apr 7, 2017, 5:00 PM

                      @Wayne-Workman @george1421 any ideas?

                      G 1 Reply Last reply Apr 7, 2017, 5:32 PM Reply Quote 0
                      • G
                        george1421 Moderator @TTellez
                        last edited by Apr 7, 2017, 5:32 PM

                        @TTellez You might want to review the accepted answer in this post: http://askubuntu.com/questions/140126/how-do-i-install-and-configure-a-dhcp-server

                        Also make sure your fog setup settings are correct for the next time you upgrade FOG /opt/fog/.fogsettings There should be an interface setting there too. Make sure that matches the interface where you want the dhcp server setup 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!

                        1 Reply Last reply Reply Quote 2
                        • W
                          Wayne Workman @TTellez
                          last edited by Wayne Workman Apr 7, 2017, 3:40 PM Apr 7, 2017, 9:36 PM

                          @TTellez The logs clearly state “Not configured to listen on any interfaces”. That’s your problem. You need to modify your /etc/dhcp/dhcpd.conf file to use the correct interface. Additionally, you should make sure (as George already said) that the information in /opt/fog/.fogsettings is correct. Particularly these fields:

                          • ipaddress
                          • interface
                          • submask
                          • routeraddress
                          • plainrouter
                          • dnsaddress
                          • bldhcp
                          • dodhcp

                          Here’s information on those: https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
                          Also, feel free to post a copy of your /etc/dhcp/dhcpd.conf file and the output of the command ip addr show and I would be happy to point out any issues.

                          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/

                          T 1 Reply Last reply Apr 7, 2017, 10:00 PM Reply Quote 0
                          • T
                            TTellez @Wayne Workman
                            last edited by Apr 7, 2017, 10:00 PM

                            @Wayne-Workman we wasted too long working on this. I wiped the machine and am working on a fresh install, but now for some reason I am getting the Stopping Web Services …Failed and then it gets stuck at Adding needed repository, during install. I WANT THIS TO WORK! lmao.

                            W 1 Reply Last reply Apr 7, 2017, 10:04 PM Reply Quote 0
                            • W
                              Wayne Workman @TTellez
                              last edited by Apr 7, 2017, 10:04 PM

                              I think you’re under the impression or idea that fixing DHCP configuration is complicated - it is not. The problem you had was a very simple thing to fix. You only recently posted a picture of actual errors - and I only just got home from work to see them.

                              I’d suggest you follow the guide for CentOS 7 or Debian8:

                              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/

                              T 1 Reply Last reply Apr 7, 2017, 10:05 PM Reply Quote 0
                              • T
                                TTellez @Wayne Workman
                                last edited by Apr 7, 2017, 10:05 PM

                                @Wayne-Workman the WE I meant was us here. I am nothing but appreciative of the help you offered. We have a linux pro here, and even he couldnt figure it out. I wasn’t being impatient with you.

                                W 1 Reply Last reply Apr 7, 2017, 10:13 PM Reply Quote 0
                                • W
                                  Wayne Workman @TTellez
                                  last edited by Apr 7, 2017, 10:13 PM

                                  @TTellez Well, the installation error is a different subject, it should be given a new thread if one of the below installation guides doesn’t do it for you. But - sounds like you’re not root when you’re running the installer.

                                  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/

                                  T 1 Reply Last reply Apr 9, 2017, 3:19 PM Reply Quote 0
                                  • T
                                    TTellez @Wayne Workman
                                    last edited by Apr 9, 2017, 3:19 PM

                                    @Wayne-Workman I ran

                                    chmod 755 ./installfog.sh

                                    and it works now. Thanks for pointing that out.

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

                                    200

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project