When you are getting below error, while updating the date on OpenVZ VPS -
date: cannot set date: Operation not permitted (OpenVZ)
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>
# vzctl set <veid> --save --capability sys_time:on
# vzctl start <veid>
Note : Replace your VEID with the actual VPS ID.
That's it!
That's it!