ntpd log file displays error

  • Follow


/var/log/ntpd.log contains many lines...

5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
Permission denied

Actually, from the time stamp, this message is repeating every 3
seconds.

Thank you for helping...
Charles


0
Reply Charles 3/6/2005 3:47:49 AM

It is repeated every 1 hr 3 seconds (3603 seconds)

Charles wrote:

> /var/log/ntpd.log contains many lines...
>
> 5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
> Permission denied
>
> Actually, from the time stamp, this message is repeating every 3
> seconds.
>
> Thank you for helping...
> Charles

0
Reply Charles 3/6/2005 4:01:44 AM


"Charles" <charles97@dunjas.com> wrote in message 
news:422A80A8.BFBBB90F@dunjas.com...
> It is repeated every 1 hr 3 seconds (3603 seconds)
>
> Charles wrote:
>
>> /var/log/ntpd.log contains many lines...
>>
>> 5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
>> Permission denied
>>
>> Actually, from the time stamp, this message is repeating every 3
>> seconds.
>>
>> Thank you for helping...
>> Charles

    Is this on a RedHat or Fedora system? Is NTP running as root or a normal 
user? Does the '/var/lib' directory exist?

    DS


0
Reply David 3/6/2005 4:14:46 AM

Charles wrote:

>/var/log/ntpd.log contains many lines...
>
>5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
>Permission denied
>
>Actually, from the time stamp, this message is repeating every 3
>seconds.
>
>Thank you for helping...
>Charles
>
>  
>
There were multiple problems...
First /var/lib/ntp/drift was declared within /etc/ntp.conf
    => so /var/lib/ntp.drift was not good grammar

Second  /var/lib/ntp was owned by root, so I  did a chown to ntp
and I get no more "Permission denied" messages.

I would always rather be part of the solution than the precipitate.
Tnx to all for suggestions,
Charles

I have another small question.
When I type "ntpq -np" the bottom line has .CDMA. in the
column headed "refid". What is .CDMA. ?
Tnx again,
Charles
0
Reply Charles 3/6/2005 11:40:34 PM

At 11:14 PM 3/5/2005, David Schwartz wrote:

>"Charles" <charles97@dunjas.com> wrote in message
>news:422A80A8.BFBBB90F@dunjas.com...
> > It is repeated every 1 hr 3 seconds (3603 seconds)
> >
> > Charles wrote:
> >
> >> /var/log/ntpd.log contains many lines...
> >>
> >> 5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
> >> Permission denied
> >>
> >> Actually, from the time stamp, this message is repeating every 3
> >> seconds.
> >>
> >> Thank you for helping...
> >> Charles
>
>     Is this on a RedHat or Fedora system? Is NTP running as root or a normal
>user? Does the '/var/lib' directory exist?
>
>     DS

Permission denied means exactly what it says: the account under which
ntpd is running does not have permission to write to that file or directory
or both. You need to fix the permissions.

Danny


>_______________________________________________
>questions mailing list
>questions@lists.ntp.isc.org
>https://lists.ntp.isc.org/mailman/listinfo/questions

0
Reply Danny 3/7/2005 1:15:49 AM

Charles Cashion wrote:

> Charles wrote:
>
>> /var/log/ntpd.log contains many lines...
>>
>> 5 Mar 21:28:40 ntpd[28893]: can't open /var/lib/ntp.drift.TEMP:
>> Permission denied
>>
>> Actually, from the time stamp, this message is repeating every 3
>> seconds.
>>
>> Thank you for helping...
>> Charles
>>
>>  
>>
> There were multiple problems...
> First /var/lib/ntp/drift was declared within /etc/ntp.conf
>    => so /var/lib/ntp.drift was not good grammar
>
> Second  /var/lib/ntp was owned by root, so I  did a chown to ntp
> and I get no more "Permission denied" messages.
>
> I would always rather be part of the solution than the precipitate.
> Tnx to all for suggestions,
> Charles
>
> I have another small question.
> When I type "ntpq -np" the bottom line has .CDMA. in the
> column headed "refid". What is .CDMA. ?
> Tnx again,
> Charles

CDMA:== Code Division Multiple Access (or something like that).   It's a 
cell phone thing.  In a more general sense, it means that the server's 
reference clock is receiving a timing signal from a cell phone base 
station.  The CDMA timing signal is derived from GPS.
0
Reply Richard 3/7/2005 3:11:04 AM

5 Replies
452 Views

(page loaded in 0.105 seconds)

Similiar Articles:













7/25/2012 10:40:44 AM


Reply: