Issue : date: cannot set date: Operation not permitted

To fix the issue:

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

# vzctl enter <veid>
# mv /etc/localtime /etc/localtime.bk
# ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
or set time by:

date -s "2 OCT 2006 18:00:00"

About these ads
About

anees

Posted in Issues
One comment on “Issue : date: cannot set date: Operation not permitted
  1. [...] # vzctl stop <veid> # vzctl set <veid> –save –capability sys_time:on # vzctl start <veid> [...]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog Stats
  • 120,573 hits
Follow

Get every new post delivered to your Inbox.

Join 211 other followers

%d bloggers like this: