Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpd returns a permission denied error!
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
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Fri Aug 13, 2004 10:07 am    Post subject: ntpd returns a permission denied error! Reply with quote

Hei all,
I have a problem with ntpd. At boot, i am running ntp-client and the time is updated, and then ntpd is running and the clock is correct for a while, but until a point where everything gets messed up. The /var/log/ntpd looks like this:
Quote:

13 Aug 11:48:14 ntpd[4712]: ntpd returns a permission denied error!
13 Aug 11:48:14 ntpd[4712]: ntpd returns a permission denied error!
13 Aug 11:48:14 ntpd[4712]: ntpd returns a permission denied error!
13 Aug 11:48:14 ntpd[4712]: signal_no_reset: signal 14 had flags 4000000
13 Aug 11:49:14 ntpd[4712]: ntpd returns a permission denied error!
13 Aug 11:49:14 ntpd[4712]: ntpd returns a permission denied error!
13 Aug 11:49:14 ntpd[4712]: ntpd returns a permission denied error!


I am not sure, but I think it happens after xscreensaver is activated but again I am not sure. anyway, Can anyone help me with the time synchronization?
Thanks,
Nadi

EDIT:

After rebooting and starting again, I get the following message from /var/log/ntp.log:
Quote:
13 Aug 13:05:02 ntpd[4200]: kernel time discipline status change 41
13 Aug 13:36:18 ntpd[4200]: synchronisation lost

then my clock starts biasing seriously, and after about 20 minutes I have bias of -356 sec. and increasing. Something had damaged the operation of ntpd. I still have connection as I can see the results from ntpq -p
Quote:

remote refid st t when poll reach delay offset jitter
==============================================================================
nic.lth.se ntp2-rz.rrze.un 2 u - 64 377 24.109 365919. 7399.53
fartein.ifi.uio chronos.cru.fr 2 u 35 64 377 8.846 362038. 7373.79
ns2.alcatel.no tick.usno.navy. 2 u 62 64 377 22.510 359049. 7127.37

So What's the hell happened?
I am disabling xscreensaver, but I doubt it is the cause of the problem.

EDIT:
it is not the xscreensaver, I stopped the ntpd, run the command ntpdate time.alcanet.no and then started ntpd again. The clock gets unsynchronized very fast, and after a few seconds, it is already on -2 seconds. The laptop is less than one year old so I don't think it is the hardware clock which fails. I also believe that the clock under windowz is stable. Only not in gentoo. I checked the drift file /var/lib/ntp/ntp.drift, and changed it to 0.0. No help.
Back to top
View user's profile Send private message
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Fri Aug 13, 2004 2:00 pm    Post subject: Reply with quote

update:
removing the /var/lib/ntp/ntp.drift (just erasing this file) will set the ntpd in special modus which correct the clock. It might fix the problem
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