Couple of things.
First one, you've most likely got a dead battery on the mother board, good idea to change it.
Second one, include a call to ntpdate
before the call to start ntpd
(that's after the network starts and additional filesystems are mounted).
You'd want to do something like
# Mount any additional filesystem types that haven't already been mounted:
mount -a -v 2> /dev/null | grep -v "already mounted"
# Start the Control Script for automounter:
if [ -x /etc/rc.d/rc.autofs ]; then
sh /etc/rc.d/rc.autofs start
# Set the time and date
# Start the Network Time Protocol daemon:
if [ -x /etc/rc.d/rc.ntpd ]; then
sh /etc/rc.d/rc.ntpd start
Given that the network is started, you can probably use pool.ntp.org
, but it might be a good idea to try using an actual address (right now, pool.ntp.org
is 188.8.131.52). Go to the NTP web site (http://www.ntp.org
) and look through the addresses of stratum 2 servers and ping a few of them to pick one electrically close to you (you're looking for a low time
value); use the actual address, not the name (like nnn.nn.nn.n).
Third option -- when you start the box, get into the bios and check and possibly set the time (especially with a dead battery).
Hope this helps some.