Unreliable LTSP DHCP server: No DHCP offers received on client
Stéphane Graber
stgraber at ubuntu.com
Wed Aug 22 23:09:29 UTC 2012
On 08/22/2012 06:42 PM, John Hupp wrote:
> I got no output from that command string, and I found that on this
> system /run/dhcp-server/dhcpd.pid does not exist - that is an empty folder.
Ah, right, try: (still on one line)
sudo /usr/sbin/dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf
/etc/ltsp/dhcpd.conf
My guess is that the -q was making any error/informational message go away.
> On 8/22/2012 4:57 PM, Stéphane Graber wrote:
>> On 08/22/2012 04:38 PM, John Hupp wrote:
>>> Thanks.
>>>
>>> /var/log/upstart/isc-dhcp-server.log does not exist, but
>>> isc-dhcp-server6.log does (perhaps related to the fact that this is an
>>> LTSP DHCP server and not a regular DHCP server?).
>>>
>>> Its contents:
>>>
>>> /etc/dhcp/dhcpd6.conf does not exist! - Aborting...
>>> Please create and configure /etc/dhcp/dhcpd6.conf to fix the problem.
>>> isc-dhcp-server6 stop/pre-start, process 1094
>>>
>>> But very interestingly, on another server for which the LTSP clients
>>> boot reliably, isc-dhcp-server6.log has the same contents!
>> That's the expected content for isc-dhcp-server6.log for a network
>> without IPv6.
>>
>> Try running (one line):
>> sudo /usr/sbin/dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf
>> /etc/ltsp/dhcpd.conf
>>
>> From a shell, that should tell you what's failing.
>>
>>> On 8/22/2012 3:21 PM, Stéphane Graber wrote:
>>>> On 08/22/2012 03:02 PM, John Hupp wrote:
>>>>> I have a couple small LTSP networks set up for testing. On the network
>>>>> with Edubuntu 12.04, the LTSP client boot regularly fails at step one of
>>>>> the PXE boot with the message: "DHCP ..... No DHCP or proxyDHCP offers
>>>>> were received."
>>>>>
>>>>> Restarting the isc-dhcp-server service always works, but something about
>>>>> the boot process regularly causes it to fail to start. The restart
>>>>> command output:
>>>>> stop: Unknown instance:
>>>>> isc-dhcp-server start/running, process (pid goes here)
>>>>>
>>>>> Dmesg includes these lines:
>>>>> init: isc-dhcp-server main process ended, respawning
>>>>> init: isc-dhcp-server main process (pid goes here) terminated
>>>>> init: isc-dhcp-server respawning too fast, stopped
>>>>>
>>>>> Is anyone familiar with this problem?
>>>> Look in /var/log/upstart/isc-dhcp-server.log for details.
>>>>
>>>>
>>
>
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/edubuntu-users/attachments/20120822/cea61dcd/attachment.pgp>
More information about the edubuntu-users
mailing list