/usr/local/cpanel/scripts directory. You can use any of the scripts simply by typing its location in a terminal session. For example, if you wanted to run the update script, you would type: /usr/local/cpanel/scripts directory if it is not listed here. Executing such a script may damage your server. build_maxemails_config — Sets limits on the amount of email that users can send from domains on your server. For more information about configuring limits with this script, see our documentation on the Mail Delimiter.
easyapache — Upgrades and reinstalls Apache.
phpextensionmgr — Manages PHP extensions.
*up — Updates a service. We currently provide the following update scripts for the services noted: restartsrv_* — Restarts a service. We currently provide restart scripts for the following; simply replace the asterisk (*) in restartsrv_* with the term in bold: addpop — Adds a POP account.
delpop — Removes a POP account.
wwwacct — Adds a cPanel account.
killpkg — Removes a package.
restorepkg — Restores a package.
cpbackup — Backs up all accounts.
pkgacct — Handles cPanel packages.
upcp — Updates cPanel and WHM.
setupmailserver — Allows you to switch between mailservers.
setupftpserver — Allows you to switch between FTP servers.
setupnameserver — Allows switching between DNS servers.
checkperlmodules — Contains a list of standard CPAN modules to install on cPanel servers. This script is used in conjunction with realperlinstaller, below. This script can be used with the following arguments: realperlinstaller — A wrapper script that automates the installation of Perl CPAN modules.
suspendacct — Suspends an account.
unsuspendacct — Unsuspends an account.
runweblogs — Updates statistics for a user.
runstatsonce — Updates statistics for all users.
makecppphp — Re-installs cPanel’s internal PHP.
portsup — Updates ports (FreeBSD® systems only).
check_users_my_cnf — Check user accounts for ~/.my.cnf files that do not work and disable them. This script only returns output when it detects a bad .my.cnf. comparecdb — Compare the contents of 2 CDB files. You will need to specify the 2 CDB files you wish to compare after the script. /usr/local/cpanel/scripts/comparecdb $file1 $file2 (where the $file1 and $file2 represent the 2 files you wish to compare)
dumpcdb — Displays the contents of a CDB file. You will need to specify the CDB file you wish to view. /usr/local/cpanel/scripts/dumpcdb $file (where $file represents the file you wish to view)
Copyright © cPanel 2000–2011.