Highlighted
Absent Member.
Absent Member.
1957 views

DHCP stops handing out addresses

Recently we have had our dhcp server on oes11sp1 stop handing out addresses. The service remains running, but in the log, we are getting write lease:unable to write lease. Also showing in the DHCPREQUEST line of the log, database update failed. Has anyone seen this before ? Restarting the dhcp service fixes the problem.
Labels (2)
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

How full is the partition that holds the leases file? Leases file is under /var/lib/dhcp/db/

Did this just happen the one time? or does it happen more often? If the latter, at what frequency?
0 Likes
Highlighted
Absent Member.
Absent Member.

Not it is not full, 25% or so utilization. It has happened twice in the last 3 weeks.
0 Likes
Highlighted
Absent Member.
Absent Member.

deborahshields;2277652 wrote:
Not it is not full, 25% or so utilization. It has happened twice in the last 3 weeks.


What are the dhcp messages? no free leases? other?
0 Likes
Highlighted
Absent Member.
Absent Member.

deborahshields;2277635 wrote:
Recently we have had our dhcp server on oes11sp1 stop handing out addresses. The service remains running, but in the log, we are getting write lease:unable to write lease. Also showing in the DHCPREQUEST line of the log, database update failed. Has anyone seen this before ? Restarting the dhcp service fixes the problem.



We had this problem when we migrated from Netware 6.5 SP8 to oes 11. We used the oes migration tool to migrate dns/dhcp. We found after the migrate there were devices that had bad lease times. They would should show dates of 1970.
We stopped dhcp and deleted the lease file. Started dhcp and have not had the problem since.
0 Likes
Highlighted
Absent Member.
Absent Member.

danb1;2281078 wrote:
We had this problem when we migrated from Netware 6.5 SP8 to oes 11. We used the oes migration tool to migrate dns/dhcp. We found after the migrate there were devices that had bad lease times. They would should show dates of 1970.
We stopped dhcp and deleted the lease file. Started dhcp and have not had the problem since.


I went through and had lots of leases with the 1970 date also. I did as you suggested and we will see what happens. With the 1970 date, they probably never get flushed out and you basically run out of addresses it seems like. Thanks for the reply and hopefully it fixes the problem for us also.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.