Page 1 of 1

Solved: DHCP server not sending DHCPACK

Posted: Sun Feb 24, 2013 8:51 pm
by mister_v
Hello,

I have a problem with my DHCP server.
My Pc doesn't get a ip-address.

I already restarted the DHCP-service (even restarted the entire server)
I did some investigation:

Code: Select all

sudo dhclient -v eth0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/1c:6f:xx:xx:xx:0a
Sending on   LPF/eth0/1c:6f:xx:xx:xx:0a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 192.168.1.84 from 192.168.1.252
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
So the server is working and offering and IP-address,
my client is requesting it, but no OK from the server to use it!

What is going wrong?
Please help me.

Re: DHCP server not sending DHCPACK

Posted: Sun Feb 24, 2013 9:35 pm
by mister_v
Finally figured it out.

After checking the /var/lib/dhcp/dhcpd.leases file on the server,
I noticed that the /var partition was full.
dhcpd-deamon couldn't write to the file,
so it could not give the OK.

Liberated some space, all works fine.