Re: [ilugd] ntp sync to server bt still drift is there

2009-09-20 Thread Arun Khan
On Saturday 19 Sep 2009, Subhanjan Ghosh wrote:
> ntpd is running ntpq -p is showing my server with the drift.
>

Many a times I have seen the ntpd is using the "local" clock as 
the "source" (in openSUSE it is the default config).   You need to 
remove the "local" clock and set your ntpd to sycn with a ntp server 
(see )

-- 
Arun Khan


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ntp sync to server bt still drift is there

2009-09-19 Thread Mithun Bhattacharya
I don't know which distribution you are using but on Fedora I do the following:
1. Setup decent NTP servers in ntp.conf - I set the following
server 0.fedora.pool.ntp.org
server 1.fedora.pool.ntp.org
server 2.fedora.pool.ntp.org

2. Run ntpdate at startup - this basically runs with the following OPTIONS="-U 
ntp -s -b"
   This just does a one time synchronization at startup

3. Run ntpd - this will make sure your time doesn't drift once it has been 
synchronized

Note: Running ntpd as is wont help especially if you are drifting too much - I 
don't remember the threshold but beyond a certain point ntpd wont try to 
correct the time.



- Mithun



- Original Message 
From: Subhanjan Ghosh 
To: The Linux-Delhi mailing list 
Sent: Saturday, September 19, 2009 11:25:35 AM
Subject: Re: [ilugd] ntp sync to server bt still drift is there

ntpd is running ntpq -p is showing my server with the drift.

On Sat, Sep 19, 2009 at 9:18 AM, Mehul Ved  wrote:

> On Sat, Sep 19, 2009 at 9:00 PM, Subhanjan Ghosh
>  wrote:
> > Facing one problem my server is synced to ntp server but every 2 days
> there
> > is a drift of 5 seconds or so then have to manually sync with ntpdate
> > command.
> >
> > Any permanent fix as in Redhat Kbase it said that not recommended to put
> > ntpdate in cron.
>
> Isn't ntpd running? It should do that.
>
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



  

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ntp sync to server bt still drift is there

2009-09-19 Thread Subhanjan Ghosh
ntpd is running ntpq -p is showing my server with the drift.

On Sat, Sep 19, 2009 at 9:18 AM, Mehul Ved  wrote:

> On Sat, Sep 19, 2009 at 9:00 PM, Subhanjan Ghosh
>  wrote:
> > Facing one problem my server is synced to ntp server but every 2 days
> there
> > is a drift of 5 seconds or so then have to manually sync with ntpdate
> > command.
> >
> > Any permanent fix as in Redhat Kbase it said that not recommended to put
> > ntpdate in cron.
>
> Isn't ntpd running? It should do that.
>
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ntp sync to server bt still drift is there

2009-09-19 Thread Mehul Ved
On Sat, Sep 19, 2009 at 9:00 PM, Subhanjan Ghosh
 wrote:
> Facing one problem my server is synced to ntp server but every 2 days there
> is a drift of 5 seconds or so then have to manually sync with ntpdate
> command.
>
> Any permanent fix as in Redhat Kbase it said that not recommended to put
> ntpdate in cron.

Isn't ntpd running? It should do that.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] ntp sync to server bt still drift is there

2009-09-19 Thread Subhanjan Ghosh
Hi,

Facing one problem my server is synced to ntp server but every 2 days there
is a drift of 5 seconds or so then have to manually sync with ntpdate
command.

Any permanent fix as in Redhat Kbase it said that not recommended to put
ntpdate in cron.

Please any solution to this.

With Regards.
Subhanjan
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/