nadi Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/56608942544c1350d842cd.jpg)
Joined: 06 Aug 2004 Posts: 280 Location: Norway
|
Posted: Fri Aug 13, 2004 10:07 am Post subject: ntpd returns a permission denied error! |
|
|
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. |
|