WHM Built-in Scripts

February 23, 2008

cPanel comes with the variety of built-in scripts which are always useful when different errors poke up & need to be resolved on urgent basis. Following is the list of scripts with a short description of their usage, but, before running these, precautionary measures should always be pertained, of what you are doing and what you intend to do!!

Source: cPanel Scripts

installgd – Builds GD.
installipc – (INTERNAL)
installpkg – Installs a FreeBSD package.
installpostgres – Installs PostrgeSQL.
installrmmods – (OLD)
installrpm – Installs a rpm.
installrpm2 – (INTERNAL)
installspam – Install SpamAssassin.
installssl – Add a SSL vhost.
installtree -
installzendopt – Install zend optimzer.
installzendopt-freebsd – Install zend optimizer on a freebsd machine.
ipcheck – (INTERNAL)
ipusage – (INTERNAL)
isdedicatedip – Checks an ip to see if it is dedicated.
kernelcheck – (INTERNAL)
killacct – Delete an account.
killbadrpms – Security script that kills insecure RPMs from the server.
killdns – Delete a DNS zone.
killdns-dnsadmin -
killdrrootvhost – Removes the document root for a virtual host.
killndbm – Remove the broken NDBM_File module from 7.2.
killpvhost – Removes a virtual host from proftpd.conf.
killspamkeys – Removes a spam key.
killsslvhost – Removes a SSL entry for a virtual host.
killvhost – Delete a vhost.
listcheck – Checks mailing lists for issues.
listproblems – Lists common problems.
listsubdomains – List subdomains.
mailadmin – (DEAD, OLD)
maildirmenu – (INTERNAL)
mailman212 – (INTERNAL)
mailperm – Fix almost any mail permission problem.
mailscannerupdate – Updates MailScanner
mailtroubleshoot – Guided mail fix.
makecpphp – Installs php.
makesecondary – Part of DNS transfer.
manualupcp – Updates cPanel manually.
md5crypt – Encrypts a password into MD5.
mkquotas – OLD
mkwwwacctconf – (INTERNAL)
mrusersscpcmd -
mseclocal – Sets up Mandrake’s msec to allow exim to run as mailnull.
mysqladduserdb – Create a MySQL databse and user.
mysqlconnectioncheck – Attempts to connect to MySQL, restarts SQL if necessary.
mysqldeluserdb – Delete a MySQL databse and user.
mysqlinfo – (OLD)
mysqlpasswd – Change MySQL password.
mysqlrpmpingtest – Checks your connection speed for downloading
mySQL rpms.
mysqlup – Updates mySQL.
mysqlup~ – (INTERNAL)
ndbmcheck – Checks to see if the nbdm module is loaded (kills in RedHat 7.2)
netftpsslpatch – PAtches FTPSSL.pm.
newdomains – (OLD)
newdomains-sendmail – (OLD)
newexim – Installs the latest version of exim.
newftpuser – (NOT USED)
newpop – (NOT USED)
nofsck – Make fsck always use -y
nomodattach – Removes mod_attach from httpd.conf.
nomodauthmysql -Removes mod_auth_mysql from httpd.conf.
nomodbwprotect – Removes mod_bwportect from httpd.conf.
nomodgzipconfmods – Removes mod_gzip from httpd.conf.
nomodperl – Removes mod_perl from httpd.conf.
oldaddoncgi2xaddon – Updates old addons to X addons.
oldaddonconverter-(INTERNAL)
oopcheck – (INTERNAL)
park – Parks a domain.
patcheximconf – Fixes exim.conf.
patchposixtypes -
patchtypes -
patchtypesizes -
pedquota – (INTERNAL) – Part of editquota (for editting quota).
perlinstaller – Installs perl.
phpini – Create a php.ini file.
phpopenbasectl -
pingtest – Checks your download time from cPanel mirrors.
pkgacct – (INTERNAL)
pkgacct~ -(INTERNAL)
pkgacct2 – (INTERNAL)
pkgaccount-ala – backs up an Alab*nza account for transfer.
pkgacct-ciXost – backs up a ci*ost account for transfer.
pkgacct-dXm – backs up a d*m account for transfer.
pkgacct-enXim – backs up an en*im account for transfer.
pkgacct-ng -
pkgacctn-ng.orig -
pkgacct-pXa – backs up a p*a account for transfer.
popftpuse – (OLD)
portsup – (FREEBSD BETA)
postsuexecinstall – (INTERNAL)
proftpd128 – Installs proftpd-1.2.8.
pscan – (OLD)
ptycheck – Fixes permissoins on /dev/ptmx.
pwck -Verifies the integrity of system authentication information.
quickfixmysqlbsd – (NOT USED)
quickkernel – Updates your kernel.
quicksecure – Quickly kill useless services.
quotacheck – (INTERNAL)
rasetup – (OLD)
rawchpass – (INTERNAL)
realadduser – (INTERNAL)
realchpass – (INTERNAL)
realperlinstaller – (INTERNAL)
realrawchpass – (INTERNAL)
rebuildcpanelsslcrt – Rebuilds the cPanel SSL Certificate.
rebuildcpusers – Rebuilds /var/cpanel/users.
rebuildetcpasswd – Rebuilds /etc/passwd.
rebuildeximbsd – Rebuilds exim on FreeBSD.
rebuildhttpdconffromproftpd – Rebuild httpd.conf from the proftpd.conf file.
rebuildinterchangecfg – Used after moving a domain with Interchange to the server.
rebuildippool – (INTERNAL)
rebuildnamedconf – Restore named.conf from files in /var/named.
rebuildproftpd – Restore proftpd.conf from httpd.conf.
reinstallmailman – Reinstalls mailman.
relocatevartousr – Relocates files from /var to /usr in case of disk space issues.
remdefssl – Remove default SSL vhost.
reseteximtodefaults – Resets exim’s default settings.
resethorde -
resetimappasswds – Resets all imap passwords.
resetmailmanurls -
resetquotas – Change quotas to what they should be .
restartsrv – Restart a service.
restartsrv_apache – Restart apache.
restartsrv_bind – Restart bind.
restartsrv_clamd – Restart clamd.
restartsrv_courier – Restart courier imap.
restartsrv_cppop – Restart cppop.
restartsrv_entropychat – Restart entropy chat.
restartsrv_exim – Restart exim.
restartsrv_eximstats – Restart exim statistics.
restartsrv_ftpserver – Restart your ftp server.
restartsrv_ftpserver~ – (INTERNAL)
restartsrv_httpd – Restart httpd.
restartsrv_imap – Restart impad.
restartsrv_inetd – Restart inetd.
restartsrv_interchange – Restart Interchange Shopping Cart.
restartsrv_melange – Restart melange chat.
restartsrv_mysql – Restart mysqld.
restartsrv_named – Restart named.
restartsrv_postgres – Restart postgresql.
restartsrv_postgresql – Restart postgresql.
restartsrv_proftpd – Restart proftpd.
restartsrv_pureftpd – Restart pure-ftpd.
restartsrv_spamd – Restart spamd.
restartsrv_sshd – Restart sshd.
restartsrv_syslogd – Restart syslogd.
restartsrv_tomcat – Restart tomcat.
restartsrv_xinetd – Restart xinetd.
restoremail – Restores a user’s mail.
restorepkg -
reswhostmgr – Restart whostmgr.
rhlupdate – (OLD)
rpmpreinstall – (INTERNAL)
rpmup – Upgrade redhat/mandrake errata/security.
rpmup2 – (INTERNAL)
rpmup3 – (INTERNAL)
rrdtoolinstall – Installs RRD Tool.
rscpmd -
runlogsnow – (OLD)
runstatsonce – Runs statistics (should be used from the crontab).
runweblogs – Run analog/webalizer/etc. for a user.
ruserssscpcmd – (INTERNAL)
safeperlinstaller – Installs perl safely.
safeup2date – Runs up2date safely.
safeyum – Runs yum safely.
scpcmd – (INTERNAL)
searchbadgroups -
searchreplace – (NOT USED)
secureit – Remove unnecessary suid binaries.
securemysql – Attempts to secure the MySQL configuration.
securetmp – Adds securetmp to system startup.
selinux_custom_contexts -
selinuxsetup -
sendaim – (INTERNAL)
sendicq – (INTERNAL)
setupfp – Install FrontPage 3 on an account.
setupfp4 – Install FrontPage 4 (2000) installer on an account.
setupfp5 – Install FrontPage 5 (2002) installer on an account.
setupfp5.nosueuxec – Install FrontPage 5 (2002) installer on an account when not using suexec.
setupmakeconf -
showexelist – Shows exe processes.
simpleps – Display the process list.
simplesshcmd – (INTERNAL)
smartcheck – Checks hard drive integrity.
smtpmailgdionly – Enables SMTP Mail Protection.
snarf – (INTERNAL)
spamasssassin-cpanel – (NOT USED)
spamboxdisable – Disables SpamAssassin’s spambox delivery for all accounts.
sscpcmd – (INTERNAL)
ssh2.expect – (INTERNAL)
sshcmd -
sshcontrol – (INTERNAL)
ssh.expect – (INTERNAL)
stage2fpmail – (INTERNAL)
supportvoidcheck -
suspendacct – Suspends an account.
symlinktodir – (INTERNAL)
sysup – update cPanel RPMs.
telentcrt – (OLD)
testinf – (OLD)
trustme – (INTERNAL)
typocheck -
uf – (OLD)
unlimitnamed – Installs the latest version of bind patched to support greater than 512 ips on the server.
unblockip – Unblocks an IP blocked by portsentry.
unpkgacct – (INTERNAL)
unsetupfp4 – Removes FrontPage 4 or 5 from an account.
unslavenamedconf – If the user accidentally sets a DNS master as local server, this will repair named.conf after the loop.
unsuspendacct – Unsuspends an account.
upcp – Updates cPanel.
updated – Updates /scripts.
updatedomainips – (INTERNAL)
updatefrontpage – Updates FrontPage
updatemysqlquota -
updatenow – Updates /scripts NOW.
updatephpconf – Updates PHP configuration files.
updateuserdomains – (INTERNAL)
updateuserdomains2 – (INTERNAL)
userdirctl -
userps – (OLD)
usersscpcmd – (INTERNAL)
usersscpcmd1 – (INTERNAL)
usersshcmd – (INTERNAL)
verify – (OLD)
verifyzone – (INTERNAL)
whichrpm – (INTERNAL)
whoowns – Finds out who owns a domain.
whostmgrkey – (OLD)
wwwacct – Creates an account.
wwwacct2 – (INTERNAL)
x* – (OLD)
xaddonreport – Reports the current addon scripts installed.
zoneexists – (INTERNAL)

Leave a Reply