Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntptrace issue.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rmalolepszy
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 167

PostPosted: Wed May 12, 2004 5:44 pm    Post subject: ntptrace issue. Reply with quote

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
View user's profile Send private message
markkuk
Guru
Guru


Joined: 29 Nov 2002
Posts: 446

PostPosted: Wed May 12, 2004 6:43 pm    Post subject: Reply with quote

Remove the "notrust" specification from the restrict line, and the redundant "restrict default ignore".
Back to top
View user's profile Send private message
rmalolepszy
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 167

PostPosted: Wed May 12, 2004 7:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
rmalolepszy
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 167

PostPosted: Wed May 12, 2004 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum