I'm having a problem that i cannot understand why or how to solve it. I have a Centos 6.2 server, that's my secondary DNS (bind 8) and DHCP (ISC's dhcp server).
I need to maintain an accurate date because dhcp primary server complains and even stops synchronizing with the secondary server if the date diff is to high and here is the kicker.
In my secondary server i have a cron script that twice a day synchronizes the date and time (or at least it should).
Problem: The machine kind of hangs - kind of hangs because i can ping it, and even ssh to it, but after logging in, i just stays in the prompt and can't do anything else... I solve the problem going to the physical machine, log in and synchronize the date and time manually with ntpdate (or another method such as rdate). As soon as the date and time are ok, the machine works fine again, until it gets date and time unsynchronized again...
Someone knows what can be happening ? can this be an hardware problem, with the motherboard battery or something ?
EDITED: It's a DHCP problem. Since i've shutdown the DHCPD service, the machine is responsive and working perfectly. It really is something with the DHCP load balance configuration. I need to investigate deeply into this, because the configurations are standard. Thank you all for the responses...
ntpdate
from a cron? Is this a virtualised system or a physical box (I assume the latter as you mention the battery but need to check)?dmesg
? <space filler>ntpdate
from cron.