Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntp drift [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Fri Jun 04, 2004 8:02 am    Post subject: ntp drift [SOLVED] Reply with quote

Hi!

I have problems writing the drift file.

Code:

oot@serv4 /var/log # cat ntpd.log

4 Jun 08:24:24 ntpd[15524]: can't open ntp.drift.TEMP: Permission denied
 4 Jun 09:24:24 ntpd[15524]: can't open ntp.drift.TEMP: Permission denied


driftfile is /var/lib/misc/ntp.drift

Where does ntpd want to write this TEMP file?


Last edited by tam on Fri Jun 04, 2004 1:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Fri Jun 04, 2004 12:54 pm    Post subject: Reply with quote

check the permissions on the drift file.

644 ntp:ntp should be fine


/var/lib/misc/ntp.drift
/var/lib/ntp/ntp.drift
_________________
linux: #232767
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Fri Jun 04, 2004 1:05 pm    Post subject: Reply with quote

ikaro wrote:
check the permissions on the drift file.


I have set the "drift directory" to /var/lib/ntp which belongs to user/group ntp. Everything is fine now. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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