LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ntpd working? (https://www.linuxquestions.org/questions/linux-software-2/ntpd-working-65389/)

Greg21 06-13-2003 08:40 AM

ntpd working?
 
I'm not sure if my ntpd is correctly setting (or slewing) my time. The log file reads:

Code:

12 Jun 21:29:54 ntpd[11252]: logging to file /var/log/ntp.log
12 Jun 21:29:54 ntpd[11252]: ntpd 4.1.1a@1.791 Tue Mar  4 18:00:29 PST 2003 (1)
12 Jun 21:29:54 ntpd[11252]: signal_no_reset: signal 13 had flags 4000000
12 Jun 21:29:54 ntpd[11252]: precision = 13 usec
12 Jun 21:29:54 ntpd[11252]: kernel time discipline status 0040
12 Jun 21:29:54 ntpd[11252]: frequency initialized -60.788 from /etc/ntp.drift
12 Jun 21:29:54 ntpd[11253]: signal_no_reset: signal 17 had flags 4000000
12 Jun 21:30:43 ntpd[11252]: time slew 0.082318 s
12 Jun 21:34:32 ntpd[11275]: logging to file /var/log/ntp.log
12 Jun 21:34:32 ntpd[11275]: ntpd 4.1.1a@1.791 Tue Mar  4 18:00:29 PST 2003 (1)
12 Jun 21:34:32 ntpd[11275]: signal_no_reset: signal 13 had flags 4000000
12 Jun 21:34:32 ntpd[11275]: precision = 17 usec
12 Jun 21:34:32 ntpd[11275]: kernel time discipline status 0040
12 Jun 21:34:32 ntpd[11275]: frequency initialized -60.788 from /etc/ntp.drift
12 Jun 21:34:32 ntpd[11276]: signal_no_reset: signal 17 had flags 4000000
12 Jun 21:38:02 ntpd[11275]: kernel time discipline status change 41

Jun 12th was yesterday, it's been running overnight... hasn't logged anything in over 12 hours.

I'm invoking it with this command:
ntpd -A -c /etc/ntp.conf -l /var/log/ntp.log
And my conf file (/etc/ntp.conf) reads:

server time.nist.gov
server xxx.xxx.edu
driftfile /etc/ntp.drift
logfile /var/log/ntp.log

I edited out a non-public server address, yes I know this server is working.

Everything goes ok when I use ntdate to set the date, it query's the servers I have above (i pass them through the command line) and it tells me it's setting the clock back of forward X amount.

I'm confused :) maybe ntpd is working, maybe it isnt. I just thought it should write to the log when it adjusts my time letting me know it is working (maybe it doesnt).

Please clear me up :)

Greg

Greg21 06-13-2003 03:08 PM

Still no change in the log after 20+ hours


All times are GMT -5. The time now is 04:45 AM.