Sunday, June 20, 2010

vzquota : (warning) Incorrect quota shutdown for id , recalculating disk usage

In VPS VEID is not restarting and VEID is DOWN / Locked
Error:-
[root@server ~]# vzctl start VEID
Starting VE ...
vzquota : (warning) Incorrect quota shutdown for id VEID, recalculating disk usage
vzquota : (error) quota check : lstat `sess_f3d432f92a5366e68dd74bce1aa437b7': No such file or directory
vzquota on failed [1]
[1]+ Killed vzctl start VEID


In Open VZ server particular VEID is down and we can not manually start that VEID.
[root@server~]# vzctl start 9894802
Starting VE ...
vzquota : (warning) Incorrect quota shutdown for id VEID, recalculating disk usage

[1]+ Stopped vzctl start VEID

[root@server~]# vzctl start VEID
VE already locked

This situation first we have to check the process ID for the locked VEID and kill that process.
[root@server ~]# vi /vz/lock/VEID.lck
we will get the process ID and
[root@server ~]# kill -9 PID

[root@server ~]# vzquota off VEID
[root@server ~]# vzquota on VEID
[root@server ~]# vzctl start VEID


2. [root@server]# vzctl enter 9896XX
enter into CT 989XXX failed
Unable to open pty: No such file or directory


Solution
# vzctl exec 9896556 /sbin/MAKEDEV pty
# vzctl exec 9896556 /sbin/MAKEDEV tty

After that restart your VE

Or try
# vzctl exec 9896xx update-rc.d -f udev remove

No comments:

Post a Comment