date: cannot set date: Operation not permitted (OpenVZ)

When you are getting below error, while updating the date on OpenVZ VPS -
date: cannot set date: Operation not permitted (OpenVZ)

Use below commands from the node to update the date:

# vzctl stop <veid>
# vzctl set <veid> --save --capability sys_time:on
# vzctl start <veid>

Note : Replace your VEID with the actual VPS ID.

That's it!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to display the Quota correctly on cPanel?

On cPanel server , sometimes disk quota are not displayed correctly. The reason is that the "...

network error: could not connect to server.. xxx.xxx.xx.xxx:port

Sometimes the Java VNC for windows server doesn't work and shows the error message as below:...

Unable to fork: Cannot allocate memory

When you see a message “Unable to fork: Cannot allocate memory” while logging to a VPS from the...

Powered by WHMCompleteSolution