[Hot to FIX] vzquota : (error) can't lock quota file
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

[Hot to FIX] vzquota : (error) can't lock quota file

x3hostx3host Banned
edited January 2 in Tutorials

Hi ,

To fix this issue ,

[ vzquota : (error) can't lock quota file, some quota operations are performing for id 101 ]

First you need to open your ssh session and run this command:

ps ax | grep vzquota

Then kill the pid for example :

kill -9 1234

And then try to start the vz container

vzquota off id

vzctl start id

After that your openvz container should work fine, Some openvz nodes needs to fix the quota and this need some time depending on your quota size, if your openvz doesn't run after awhile then you need to check the availability of ram inside your openvz to see if there is enough ram or not by running the following command:

free -m

Have a nice day.

Comments

  • AmitzAmitz Member

    Thanked by 1jar

    "Actually, throughout my life, my two greatest assets have been mental stability and being, like, really smart."

Sign In or Register to comment.