LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2003, 09:40 AM   #1
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
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
 
Old 06-13-2003, 04:08 PM   #2
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Still no change in the log after 20+ hours
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with ntpd... JordanH Linux - Networking 8 05-09-2005 08:22 PM
ntpd jayhel Slackware 2 02-19-2005 11:12 AM
ntpd seitan Linux - Software 1 11-29-2004 06:30 AM
Is ntpd working? lhill Linux - Networking 4 08-31-2003 01:10 PM
ntpd susx Linux - Newbie 3 08-28-2001 05:18 PM


All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration