View previous topic :: View next topic |
Author |
Message |
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Fri Jun 04, 2004 8:02 am Post subject: ntp drift [SOLVED] |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Jun 04, 2004 12:54 pm Post subject: |
|
|
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 |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Fri Jun 04, 2004 1:05 pm Post subject: |
|
|
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 |
|
|
|