Unable to get DHCP server to restart after restart - Ubuntu 12.04
-
[quote=“Tom Elliott, post: 46461, member: 7271”]My guess is tftp isn’t running. Try [code]sudo service tftpd-hpa restart[/code][/quote]
Hi Tom. Unfortunately, this didn’t solve my issue. I have attached the logs you have mentioned in your sig if you’d like to take a look at them.
I am running [FONT=Tahoma]Fog 1.2.0 on Ubuntu 12.04. [/FONT]
[url=“/_imported_xf_attachments/1/1935_PageTown Fog logs.zip?:”]PageTown Fog logs.zip[/url]
-
I remember reading something about how DHCP needs to see that the port it should be operating on is indeed connected/active… Maybe I’m wrong… maybe that applies to dnsmasq I don’t remember.
Do you have an old switch? or hub or mini switch to test with?
-
What is the exact output when you try to restart DHCP?
[CODE]sudo service isc-dhcp-server restart[/CODE]And, let us know the output of this (after running the above line):
[CODE]sudo service isc-dhcp-server status[/CODE]And, I’d [B]still[/B] recommend using a mini switch and some regular straight-through patch cables to test this with…
-
I tried the switch idea with a few different configurations, some using a crossover cable, some not. It didn’t change anything.
However, running the [I]sudo service isc-dhcp-server restart[/I] command followed by the [I]sudo service tftpd-hpa restart[/I] [B]got me going again![/B] I ran both of those commands previously and they didn’t get me running, not sure how or why they worked this time. I am afraid to shut down and restart to test them out now that I have Fog up and running again. I’m just going to avoid powering the machine off for as long as I can!
Thanks for all the help everyone!
-
Well,
I’d strongly recommend figuring out why. Eventually the machine will go down, whether you want it to or not. A storm could knock power out for hours, some jack— could hit a power pole with a garbage truck or something… and I’m willing to bet that none of us have more than some server-grade backup batteries that can hold out for hours…
It’s better to fix it now on YOUR time, rather than fix it later on CHANCE’s time.