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!

Was this answer helpful?

 Print this Article

Also Read

Unable to fork: Cannot allocate memory

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

network error: could not connect to server..

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

How to display the Quota correctly on cPanel?

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

Powered by WHMCompleteSolution