NTPD - cap_set_proc() failed to drop root privileges: Operation not permitted


Problem description

NTPD doesn't start on a virtual machine:bash

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:ide

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

Now the restart will work:spa

service ntpd start
相關文章
相關標籤/搜索