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 in
/etc/rc.d/rc.M before the call to start
ntpd (that's after the network starts and additional filesystems are mounted).
You'd want to do something like
Code:
# 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
fi
# Set the time and date
/usr/sbin/ntpdate pool.ntp.org
sleep 1
# Start the Network Time Protocol daemon:
if [ -x /etc/rc.d/rc.ntpd ]; then
sh /etc/rc.d/rc.ntpd start
fi
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 108.61.56.35). 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.