ntpdate: step-systime: Operation not permitted

ntpdate: step-systime: Operation not permitted

You may noticed the error ntpdate: step-systime: Operation not permitted while running ntpdate command on your OpenVZ container. You can easily fix this issue by running the below commands on the host node.

 

 

vzctl stop CT_ID

vzctl set CT_ID –capability sys_time:on –save

vzctl start CT_ID

Replace CT_ID with your container ID

Example:

vzctl set 101 –capability sys_time:on –save

That’s it!