Archive for the tag 'WHM'

SBDavid

WHM Scripts

WHM Scripts

When cPanel and WHM is installed, a number of predefined scripts become available in your server’s /scripts directory.

For example, if you wanted to run the update script, you would type:

/scripts/upcp

#easyapache — Upgrades and reinstalls Apache.
#phpextensionmgr — Manages PHP extensions.
# restartsrv_* — Restarts a service.
# *up — Updates a service.

* bandminup — Bandmin application.
* courierup — Courier mail server.
* cpaddonsup — cPanel’s addon scripts.
* dovecotup — Dovecot mail server.
* eximup — Exim mail exchanger.
* ftpup — FTP servers (ProFTP and Pure-FTP).
* imapup — IMAP mail server.
* mysqlup —MySQL service.
* nsdup — BIND nameserver.
* phpup — Current version of PHP.
* suphpup — SuPHP tool for handling PHP requests.

SBDavid

How to Fix cPanel/WHM Quotas

To Fix Common reasons for quota problems

Run the following command as root user.

/scripts/fixquotas

Try finding other files owned by the user.

find -user username > /tmp/username.txt

This will list all files owned by this user that could be affecting the quota reported by Cpanel.

Cpanel/WHM sometimes has problems with the user quota files causing all users accounts to have unlimited disk space available or 0 megs of disk space in use.

« Prev