[PLUG] Niggling time problem

Kurt Sussman plug at merlot.com
Sat Dec 20 20:57:28 UTC 2008


John Jason Jordan (johnxj at comcast.net) typed this ...
> wes <plug at the-wes.com> dijo:
> > On Sat, Dec 20, 2008 at 9:32 AM, John Jason Jordan <johnxj at comcast.net>wrote:
> > > For some reason my laptop (Lenovo T61) does not sync its clock with the
> > 
> > 0 * * * * /usr/sbin/ntpdate time.mit.edu > /dev/null
> 
> jjj at Devil7:~$ sudo /usr/sbin/ntpdate time.mit.edu
> 20 Dec 11:48:18 ntpdate[1386]: the NTP socket is in use, exiting

It probably means you're running a NTP server. If you're going to use
cron to keep your date in sync, you don't need the server. Use rcconf to
turn it off.

Also/alternatively, you can add the '-u' option to your 'ntpdate'
command line. Another useful trick is to use the pool.ntp.org name,
which spreads the time load over many servers.

My T61 has clock problems also...

ntpdate -u pool.ntp.org
20 Dec 12:55:53 ntpdate[30934]: step time server 209.132.176.4 offset
-9.854261 sec

--Kurt
-- 
----------------------------------------------------------------------
     Merlot Research Group, Inc               kls[at]merlot.com
    "Quality is free, but only to those who are willing to pay 
     heavily for it." (Lister, DeMarco: "Peopleware")



More information about the PLUG mailing list