UnixServerAdmin

Server Administration & Management

How to Fixquotas for cPanel in Virtuozzo

quotacheck: Scanning /dev/vzfs [/] quotacheck: lstat Cannot stat `//usr/share/sgml/docbook/xmlcatalog’: No such file or directory
Guess you’d better run fsck first !
exiting…

This is because cPanel has changed files provided by the OS template on which the system is built. The solution is:
On the main node server:

# vzfsutil –cM -t /vz/template /vz/private/

This will give you a set of files that has been modified.
do:

# chmod -S -t /vz/private//root/

then try:

# vzfsutil –cM -t /vz/template /vz/private/

once done, re-enter the C-panel server and run:

# /scripts/fixquotas

that will do.

Advertisements

October 25, 2011 Posted by | cPanel, Virtualization, Virtuozzo | , , , , | Leave a comment