View previous topic :: View next topic |
Author |
Message |
rmalolepszy Apprentice
Joined: 01 Jan 2004 Posts: 167
|
Posted: Wed May 12, 2004 5:44 pm Post subject: ntptrace issue. |
|
|
I figured my ntptrace should go a little further...
Code: |
rmalolep@ngl-dev rmalolep $ ntptrace
localhost: stratum 16, offset 0.000000, root distance 0.000000
|
everything in /etc/conf.d/ntpd is commented out (i have tried nearly all variations).
/etc/ntp.conf
Code: |
server clock.linuxshell.net
server clock.nyc.he.net
server ntp0.cornell.edu
driftfile /var/lib/misc/ntp.drift
logfile /var/log/ntpd.log
restrict default ignore
restrict default notrust nomodify
restrict 127.0.0.1
|
Code: |
/var/log/ntpd.log
12 May 13:42:23 ntpd[31546]: signal_no_reset: signal 17 had flags 4000000
12 May 13:42:25 ntpd[31546]: signal_no_reset: signal 14 had flags 4000000
|
If i stop ntpd
Code: | ntpdate clock.nyc.he.net |
works fine and sets the correct time. I am quite certain ntpd is not actually doing anything. _________________ Cheers,
Ryan |
|
Back to top |
|
|
markkuk Guru
Joined: 29 Nov 2002 Posts: 446
|
Posted: Wed May 12, 2004 6:43 pm Post subject: |
|
|
Remove the "notrust" specification from the restrict line, and the redundant "restrict default ignore". |
|
Back to top |
|
|
rmalolepszy Apprentice
Joined: 01 Jan 2004 Posts: 167
|
Posted: Wed May 12, 2004 7:08 pm Post subject: |
|
|
no change.
current /etc/ntp.conf -
Code: | server clock.linuxshell.net
server clock.nyc.he.net
server ntp0.cornell.edu
driftfile /var/lib/misc/ntp.drift
logfile /var/log/ntpd.log
restrict default nomodify
restrict 127.0.0.1
|
log -
Code: |
12 May 15:07:42 ntpd[31540]: ntpd exiting on signal 15
12 May 15:07:43 ntpd[2003]: signal_no_reset: signal 17 had flags 4000000
12 May 15:07:45 ntpd[2003]: signal_no_reset: signal 14 had flags 4000000
12 May 15:07:55 ntpd[31546]: parent died before we finished, exiting
|
_________________ Cheers,
Ryan |
|
Back to top |
|
|
rmalolepszy Apprentice
Joined: 01 Jan 2004 Posts: 167
|
Posted: Wed May 12, 2004 7:35 pm Post subject: |
|
|
I also put this back in /etc/conf.d/ntpd
Code: | NTPD_OPTS="-u ntp:ntp" |
Altered the owner/group of /var/lib/misc/ntp.drift and it now seems to be working as it should.
Not sure exactly what was going on there... _________________ Cheers,
Ryan |
|
Back to top |
|
|
|