Syslog has 'ntpd[xxx]: can't open /var/lib/ntp/drift.TEMP: Permission denied'. How do I avoid this message?

Solution Verified - Updated -

Issue

  • Syslog has 'ntpd[xxx]: can't open /var/lib/ntp/drift.TEMP: Permission denied'. How do I avoid this message?

    ntpd[xxx]: can't open /var/lib/ntp/drift.TEMP: Permission denied
    ntpd[xxx]: can't open /var/lib/ntp/drift.TEMP: Permission denied
    ntpd[xxx]: can't open /var/lib/ntp/drift.TEMP: Permission denied
    
  • ntpd are working as two processs.

    Sample ps command output is below

    ntp       1848  0.0  0.0  30440  1656 ?        Ss   Jul02   0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
    root      1855  0.0  0.0  30440  1144 ?        S    Jul02   0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
    

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content