Issue :
Some of OpenVZ containers, on servers that may have problems it will show "Can't adjust the time of day: Operation not permitted " . Well,its not a big deal,
ntpdate ri.ntp.carnet.hr
ntpdate[22082]: Can't adjust the time of day: Operation not permitted
Solution:
On HW host:
/usr/sbin/vzctl stop <ctid>
/usr/sbin/vzctl set <ctid> --capability sys_time:on --save
/usr/sbin/vzctl start <ctid>
Check if everything is working now:
ntpdate ri.ntp.carnet.hrntpdate[3238]: adjust time server 161.53.30.170 offset -0.142383 sec
No comments:
Post a Comment