On Thu, Mar 24, 2011 at 11:16 AM, Binand Sethumadhavan binand@gmail.com wrote:
2011/3/24 jtd jtd@mtnl.net.in:
You might want to add ntpdate to maintain proper time.
ntpd, you mean. ntpdate cannot substitute for a properly configured ntpd. It is only a one-off time adjuster (usually a precursor to ntpd's startup).
+1 for ntpd.
I found out the hard way. dovecot would keep stopping in a mail server. After some investigation I correlated the dovecot stops to a cron job that ran ntpdate to adjust the system time. Installed ntpd, removed the ntpdate cron entries and dovecot worked happily thereafter.
Now I run ntpd in all my systems in "client" mode. They all point to one "server" mode ntpd on the LAN. The LAN ntp "server" references from ntp.pool.org time servers.
-- Arun Khan
On Sat, Mar 26, 2011 at 1:16 PM, Arun Khan knura9@gmail.com wrote:
from ntp.pool.org time servers.
oops. s/b pool.ntp.org.
-- Arun Khan
On Saturday 26 March 2011 01:16 PM, Arun Khan wrote:
On Thu, Mar 24, 2011 at 11:16 AM, Binand Sethumadhavanbinand@gmail.com wrote:
2011/3/24 jtdjtd@mtnl.net.in:
You might want to add ntpdate to maintain proper time.
ntpd, you mean. ntpdate cannot substitute for a properly configured ntpd. It is only a one-off time adjuster (usually a precursor to ntpd's startup).
+1 for ntpd.
I found out the hard way. dovecot would keep stopping in a mail server. After some investigation I correlated the dovecot stops to a cron job that ran ntpdate to adjust the system time. Installed ntpd, removed the ntpdate cron entries and dovecot worked happily thereafter.
Now I run ntpd in all my systems in "client" mode. They all point to one "server" mode ntpd on the LAN. The LAN ntp "server" references from ntp.pool.org time servers.
I am curious to know, if there is a single machine and uses ntpd as a client for the main ntp.pool.org server then suppose the internet is down, what time will the computer reference to? The reason I ask this is that my Reliance CDMA phone sets its clock on the time from the tower. When there is no signal in an area and I start the mobile, it show me 2355 at any time of the day, till it gets a signal tower. I can't let it happen in the comp.
2011/3/26 Rony gnulinuxist@gmail.com:
I am curious to know, if there is a single machine and uses ntpd as a client for the main ntp.pool.org server then suppose the internet is down, what time will the computer reference to?
Each computer has its own on-board clock, with its own power. Ntpd is only a way to set this clock to some reference clock's time.
that my Reliance CDMA phone sets its clock on the time from the tower. When there is no signal in an area and I start the mobile, it show me 2355 at any time of the day, till it gets a signal tower.
Who knows? Perhaps a Reliance quirk. I don't think the mobile operators are very particular about serving accurate time to phones. I prefer to set my phone's time manually than depend on the operator.
Binand