Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

References

http://www.linuxquestions.org/questions/linux-software-2/ntp-error-failed-to-drop-root-privileges-812256/

Problem description

NTPD doesn't start on a virtual machine:

Code Block
languagebash
service ntpd status
ntpd dead but pid file exists
service ntpd restart
Shutting down ntpd:      [FAILED]
Starting ntpd:           [ OK ]
tail /var/log/messages
... cap_set_proc() failed to drop root privileges: Operation not permitted

Resolution

vi /etc/sysconfig/ntpd

locate the following line and comment it out:

# OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g"

Now the restart will work:

service ntpd start