On Tue, 13 May 2008 18:56:11 +1200 Nick Rout <[EMAIL PROTECTED]> wrote:
> ntpdate nz.pool.ntp.org If is whinges that the port is already in use, then sudo /etc/init.d/ntp stop ( that might be ntpd or ntp-server on Mandriva - not sure ) Then sudo ntpdate nz.pool.ntp.org then sudo /etc/init.d/ntp start They ( ntp and ntpdate ) sort of do the same thing, but the ntpdate program is designed to be a large mallet, run once to correct the time no matter how wrong it is, then the ntp daemon attempts to keep it there, but it can only make small changes. I usually update the /etc/init.d/ntp script so that it calls ntpdate before starting the daemon, so the clock's put right when the machine's switched on. This used to be standard practice on DEC and HP Unixes ( where are they now! ). Steve -- Steve Holdoway <[EMAIL PROTECTED]>
