Tips & Tricks

ntpdate: step-systime: Operation not permitted

step-systime
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.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
vzctl stop CT_ID
vzctl set CT_ID --capability sys_time:on --save
vzctl start CT_ID
vzctl stop CT_ID vzctl set CT_ID --capability sys_time:on --save vzctl start CT_ID
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:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
vzctl set 101 --capability sys_time:on --save
vzctl set 101 --capability sys_time:on --save
vzctl set 101 --capability sys_time:on --save

You can also see how to change Time Zone in CentOS 6 by clicking here

That’s it!

If you like this post and wish to receive more articles from us, please like our FB page: Button

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Topics