Log files in a cPanel server

To better troubleshoot an issue in a cPanel server its good go know the various log files, following are some log files which will help in resolution.

General Logs :

cPanel/WHM Initial Installation Errors:
Location : /var/log/cpanel*install*
Description : These log files contain cPanel installation logs & should be referenced first for any issues resulting from new cPanel installations..

Cpanel/WHM Service Status Logs:
Location : /var/log/chkservd.log
Description :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-] and active services are represented by [+].

Cpanel/WHM Accounting Logs:
Location : /var/cpanel/accounting.log
Description : Contains a list of accounting functions performed through WHM, including account removal and creation..

cPanel/WHM Specific Requests and Errors:

cPanel error logs:
Location : /usr/local/cpanel/logs/error_log
Description : cPanel logs any error it incurs here. This should be checked when you encounter errors or strange behavior in cPanel/WHM…

cPanel License Error Logs:
Location : /usr/local/cpanel/logs/license_log
Description : All license update attempts are logged here. If you run into any errors related to license when logging in, check here.

Stats Daemon Logs:
Location : /usr/local/cpanel/logs/stats_log
Description : The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.

Client Information, Requested URL Logs:
Location : /usr/local/cpanel/logs/access_log
Description : General information related to access cPanel requests is logged here.

cPanel/WHM Update Logs:
Location : /var/cpanel/updatelogs/update-[TIMESTAMP].log
Description : Contains all output from each cPanel update [upcp]. It’s named with the timestamp at which the upcp process was initiated..

Bandwidth Logs:
Location : /var/cpanel/bandwidth
Description : Files contain a list of the bandwidth history for each account. Each named after their respective user.

Tailwatchd [New]:
Location : /usr/local/cpanel/logs/tailwatchd_log
Description : Logs for daemon configuired under tailwatchd ie. cPBandwd, Eximstats, Antirelayd.

Apache Logs:

General Error and Auditing Logs:
Location : /usr/local/apache/logs/error_log
Description : All exceptions caught by httpd along with standard error output from CGI applications are logged here..
The first place you should look when httpd crashes or you incur errors when accessing website.

Apache SuExec Logs:
Location : /usr/local/apache/logs/suexec_log
Description : Auditing information reported by suexec each time a CGI application is executed. Useful for debugging internal server errors, with no relevant information being reported to the Apache error_log, check here for potential suexec policy violations…

Domain Access Logs:
Location : /usr/local/apache/domlogs/domain.com
Description : General access log file for each domain configured with cPanel.

Apache Access Logs:
Location : /usr/local/apache/logs/access_log
Description : Complete web server access log records all requests processed by the server.

Exim :

Message Reception and Delivery:
Location : /var/log/exim_mainlog or /var/log/exim/mainlog
Description : Receives an entry every time a message is received or delivered.

Exim ACLs/Policies based RejectLog :
Location : /var/log/exim_rejectlog
Description : An entry is written to this log every time a message is rejected based on either ACLs or other policies eg: aliases configured to :fail

Unexpected or Fatal Errors:
Location : /var/log/exim_paniclog
Description : Logs any entries exim doesn’t know how to handle. It’s generally a really bad thing when log entries are being written here, and they should be properly investigated..

IMAP/POP/SpamAssassin General Logging and Errors:
Location : /var/log/maillog & /var/log/messages
Description : The IMAP, POP, and SpamAssassin services all log here. This includes all general logging information (login attempts, transactions, spam scoring), along with fatal errors.

FTP:

FTP Logins and General Errors:
Location : /var/log/messages
Description : General information and login attempts are logged here..

FTP Transactions logging:
Location : /var/log/xferlog or /var/log/messages
Description : Is a symbolic link in most cases to /usr/local/apache/domlogs/ftpxferlog, which contains a history of the transactions made by FTP users…

MySQL:

MySQL General Information and Errors :
Location : /var/lib/mysql/$(hostname).err
Description : This path could vary, but is generally located in /var/lib/mysql. Could also be located at /var/log/mysqld.log

Security:

Authentication attempts:
Location : /var/log/secure
Description : Logs all daemons which requires PAM Authentication.

Tracking all Bad Logins and Logouts:
Location : /var/log/btmp
Description : Log of all attempted bad logins to the system. Accessed via the lastb command..

Tracking all Logins and Logouts:
Location : /var/log/wtmp
Description : The wtmp file records all logins and logouts.

Last Logins:
Location : /var/log/lastlog
Description : Database times of previous user logins. The lastlog file is a database which contains info on the last login of each user.

WebDav or WebDisk Log :
Location : /usr/local/cpanel/logs/cpdavd_error_log
Description : The cpdavd daemon is “WebDav” (better known as “WebDisk”) which was introduced in cPanel 11 to allow users to mount their home directory on their personal computer, always having access to the files and content…

Cphulkd Logs:
Location : /usr/local/cpanel/logs/cphulkd_errors.log
Description : cPHulk Brute Force Protection prevents malicious forces from trying to access your server’s services by guessing the login password for that service….
It blacklists IPs that it thinks are trying to run a brute force attack.

Failure Logging:
Location : /var/log/faillog
Description : Faillog formats the contents of the failure log from /var/log/faillog database. It also can be used for maintains failure counters and limits. Run faillog without arguments display only list of user faillog records who have ever had a login failure.

Startup/Boot, Kernel & Hardware error messages :
Location : /var/log/dmesg
Description : dmesg is a “window” into the kernels ring-buffer. It’s a message buffer of the kernel. The content of this file is referred to by the dmesg command. It shows bootlog and the hardware errors..

Tomcat:

General Startup, Shutdown & Error Logs:
Location : /usr/local/jakarta/tomcat/logs/catalina.err and /usr/local/jakarta/tomcat/logs/catalina.out
Description : Logs for Tomcat and all tomcat based applications…

Mysql database backup and restore

If you’re storing anything in MySQL databases that you do not want to lose, it is very important to make regular backups of your data to protect it from loss. It is always good to have backup copy of everything. This tutorial will show you easy steps to backup and restore the data in your MySQL database.

Creating A Backup

The mysqldump command is used to create textfile “dumps” of databases managed by MySQL. These dumps are just files with .sql format which are used to restore the database in case of any database loss.

If you want to back up a single database, you can create the dump and send the output into a file by

# mysqldump database_name > database_name.sql

Multiple databases can be backed up at the same time

# mysqldump –databases database_one database_two > two_databases.sql

It is also simple to back up all of the databases on a server

# mysqldump –all-databases > all_databases.sql

Restoring a Backup

Since the dump files are just .sql files, you can restore the database backup by

# mysql database_name < database_name.sql

If you are trying to restore a single database from dump of all the databases, you have to let mysql know like this

# mysql –one-database database_name < all_databases.sql

Here is the proper syntax if there is password for mysql for root user.

# mysqldump –opt -u [uname] -p[pass] [dbname] > [backupfile.sql]

[uname] Your database username

[pass] The password for your database (note there is no space between -p and the password)

[dbname] The name of your database

[backupfile.sql] the filename for your database backup

[–opt] The mysqldump option.

For example, to backup a database named ‘database_name’ with the username ‘root’ and with no password to a file database_name.sql ,

# mysqldump -u root -p database_name > database_name.sql

This command will backup the ‘database_name’ database into a file called database_name.sql which will contain all the SQL statements needed to re-create the database.

With mysqldump command you can specify certain tables of your database you want to backup. For example, to back up only “tableone” and “tabletwo” tables from the ‘database_name’ database use the command below. Each table name has to be separated by space.

# mysqldump -u root -p database_name tableone tabletwo > tables.sql

Sometimes it is necessary to back up more than one database at once. In this case you can use the –database option followed by the list of databases you would like to backup. Each database name has to be separated by space.

# mysqldump -u root -p –databases database_name database_name2 > databases_backup.sql

If you want to back up all the databases in the server at one time you should use the –all-databases option. It tells MySQL to dump all the databases it has in storage.

# mysqldump -u root -p –all-databases > alldb_backup.sql

The mysqldump command has also some other useful options:

–add-drop-table: Tells MySQL to add a DROP TABLE statement before each CREATE TABLE in the dump.

–no-data: Dumps only the database structure, not the contents.

–add-locks: Adds the LOCK TABLES and UNLOCK TABLES statements you can see in the dump file.

The mysqldump command has advantages and disadvantages. The advantages of using mysqldump are that it is simple to use and it takes care of table locking issues for you. The disadvantage is that the command locks tables. If the size of your tables is very big mysqldump can lock out users for a long period of time.

Back up your MySQL Database with Compress

If your mysql database is too big, its good to compress the output of mysqldump. Just use the mysql backup command below and pipe the output to gzip, then you will get the output as gzip file.

# mysqldump -u [uname] -p[pass] [dbname] | gzip -9 > [backupfile.sql.gz]

If you want to extract the .gz file, use the command below

# gunzip [backupfile.sql.gz]

Restoring your MySQL Database

Above we backup the database_name database into database_name.sql file. To re-create the database_name database, you can use following commands

Create an empty database on the serverLoad the file using the mysql command

# mysql -u [uname] -p[pass] [database_name] < [database_name.sql]

To restore compressed backup files you can do the following

# gunzip < [backupfile.sql.gz] | mysql -u [uname] -p[pass] [dbname]

If you want to restore a database that already exists, you’ll have to use mysqlimport command. The syntax for mysqlimport is as below

# mysqlimport -u [uname] -p[pass] [dbname] [backupfile.sql]

Backing up database by using PHPMYADMIN

phpMyAdmin is the most popular web-based interface to MySQL and is usually preinstalled in most shared hosting accounts. Through it, you can perform any action on the database including backups and restoration. You can use phpMyAdmin to backup/restore your database if it is relatively small ie upto 8 to 10 MB. For bigger databases, you can use above method.

To back up your database, open your phpMyAdmin page in your web browser and select your database from the dropdown on the left. From the main database page, click on Export tab on the top button bar.

1. Select the database you’d like to back up from the column on the left side of phpMyAdmin.

2. Click on Export tab on the top button bar.

3. Select the tables from the list that you would like to backup. If you want to backup the entire database, check Select All.

4. Select Structure and data from the bullet list.

5. Check the Add ‘drop table box if you are moving the database to a new location and don’t want to merge the old table with an existing one.

6. Click the Save as file box.

7. Use the Save as file zipped if you want to compress the backup before downloading it from the server.

8. Click the Go button, when prompted save the file to your local computer.

Restoring via PHPMYADMIN

1. From the column on the left select the database that you want to restore to. If one doesn’t exist you must first create it.

2. Click on Import from the top set of tabs.

3. Click on the Browse button next to Location of the textfile near the bottom.

4. Browse to the local backup and click Open.

5. If you have the local backup in a non-text file format, e.g. you selected save as file: zipped when you backed up the database, you’ll have to unzip the file on your local computer before you can select it during this step.

6. Click the Go button.

7. Done…Your SQL-query has been executed successfully.

Softaculous Installation

Softaculous is an Instant/Auto Installer. Softaculous helps users to install free/opensource softwares in minutes. A user can install a software, available in Softaculous, without having to download/upload any files.

Unlike other auto installers Softaculous is much faster, well designed and it installs all scripts in just ONE STEP.
Please see detailed Comparison of Softaculous and other auto installers.

Softaculous is available as a FREE or a Premium Auto Installer. The Free License has 60/69 scripts while the Premium one has 176 scripts.

You can check the demo here.

Installing Softaculous

Note: Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and click on Tweak Settings. Please make sure that the Ioncube loader is selected for the backend copy of PHP. Now SSH to your server and enter following commands:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://www.softaculous.com/ins/addon_softaculous.php
chmod 755 addon_softaculous.php

Now go to : WHM > Plugins (Add-Ons on older versions than 11) > Softaculous – Instant Installs The following webpage will open if the installation was successful.

Now, just wait for the scripts to get downloaded. The download status is shown in the iFRAME.

That’s it the installation of Softaculous is completed!

Different ports in a cPanel server

Here is the list of different ports used in cPanel server:-

20 –> FTP (Inbound/Outbound,TCP/UDP)

21 –> FTP (Inbound/Outbound,TCP/UDP)

22 –>SSH (Inbound,TCP)

25 –>SMTP (Inbound/Outbound,TCP)

26 –>SMTP (Inbound/Outbound,TCP)

37 –>RDATE (Outbound,TCP)

43 –>WHOIS(Outbound,TCP)

53 –>DNS (Inbound/Outbound,TCP/UDP)

80 –>HTTP (Inbound/Outbound,TCP)

110 –> POP3(Inbound,TCP)

143 –>IMAP4(Inbound,TCP)

443 –>HTTPS(Inbound,TCP)

465 –>SMTP (TLS/SSL)(Inbound/Outbound,TCP/UDP)

873 –> RSYNC(Outbound,TCP/UDP)

993 –>IMAP4 (SSL)(Inbound,TCP)

995 –>POP3 (SSL)(Inbound,TCP)

2082 –>CPANEL(Inbound,TCP)

2083 –>CPANEL (With SSL)(Inbound,TCP)

2086 –>WHM (Inbound,TCP)

2087 –>WHM (With SSL)(Inbound,TCP)

2089 –>cPanel licence(Outbound,TCP)

2095 –>WEBMAIL(Inbound,TCP)

2096 –>WEBMAIL (With SSL)(Inbound,TCP)

3306 –>MYSQL (Inbound/Outbound,TCP)

Default cPanel Scripts

cPanel and WHM has a large number of predefined scripts available in the /scripts folder, which can be uses as follows

/scripts/scriptname

Some of the scripts may need username afterscriptname so that it execute.

/scripts/scriptname cpanelusername

The available scripts are as follows:

* adddns – Adds a DNS zone.

* addfpmail – Add frontpage mail extensions to all domains without them.

* addfpmail2 -Add frontpage mail extensions to all domains without them.

* addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask.

* addnobodygrp – Adds the group nobody and activates security.

* addpop – Add a Pop Account.

* addservlets – Add JSP support to an account (requires tomcat).

* addstatus – (Internal use never called by user).

* adduser – Add a user to the system.

* admin – Run WHM Lite.

* apachelimits – Add rlimits to Apache.

* bandwidth – (OLD)

* betaexim – Installs the latest version of exim.

* biglogcheck – looks for logs nearing 2 gigabytes in size

* bitstest –

* bsdcryptoinstall – Installs crypto on FreeBSD.

* bsdldconfig – Configures the proper lib directories in FreeBSD.

* bsdpkgpingtest – Tests the connection speed for downloading FreeBSD packages.

* buildbsdexpect – Install expect on FreeBSD.

* builddomainaddr – (OLD)

* buildeximconf – Rebuilds exim.conf.

* buildpostgrebsd-dev – Installs postgresql on FreeBSD.

* buildpureftproot –

* bupcp – (OLD)

* chcpass – (Internal use)

* checkallowoverride –

* checkbadconf – Checks /usr/local/apache/conf/httpd.conf for bad users.

* checkbashshell –

* checkbsdgroups – Checks and repairs proftpd ownership on FreeBSD.

* checkccompiler – Checks to make sure the C compiler works on your system.

* checkdeadperlso –

* checkerrorlogsafe –

* checkfpkey – Checks for the FrontPage suid key

* checkgd – Checks to see if GD is built.

* checkgentoousers –

* checkhttpd –

* checkinterchange – (Internal use).

* checklibssl – Checks to make sure the proper libssl symlinks exist.

* checklink –

* checklog – (OLD)

* checkmakeconf –

* checkmaxclients – Checks to see if apache has reached the maximum clients allowed.

* checkoldperl – Checks to see if the version of Perl on your system is old.

* checkoldrpm –

* checkrsync – Checks to make sure rsync is up to date.

* checksuexecpatch – Checks to see if mailman has been patched for suexec.

* checksuspendpages – Checks to see if suspend pages are properly named.

* checkswup – (OLD)

* checkup2date – Makes sure up2date is set up properly (RedHat)

* checkyum – Makes sure yum is set up properly.

* chkpaths – Makes sure /usr/sbin/chown has a symlink to /bin/chown

* chownpublichtmls – Change ownership of all users web space to them, which is useful for converting to suexec. Files owned by nobody are deleted.

* chpass – Change password.

* ckillall – Allows you to kill a process (used like killall).

* ckillall2 – Allows you to kill a process.

* cleanandmailformmaillog –

* cleanbw – Cleans up old bandwidth logs.

* cleandns – (OLD)

* cleandns8 – Clean up named.conf.

* cleangd – Cleans up old GD installs and reinstalls GD

* cleanmd5 – Fix CPAN md5 problems.

* cleanmsglog – cleans exim’s msglog

* cleanopenwebmail – (OLD)

* cleanupcheck –

* cleanupmysqlprivs – Cleans up improper mySQL privileges.

* compilers – Disables the usage of compilers for unprivileged users.

* configips – (OLD)

* *.cgi – (INTERNAL)

* *.c – (INTERNAL)

* convert2maildir – Converts mail from mbox to maildir format and installs courier impap and pop (cpimap is removed).

* convertemails –

* convertemails2 – (INTERNAL)

* convertemails5 – (INTERNAL)

* courierup – Updates/Installs Courier

* cpanelsync –

* cpbackup – Runs backups.

* cpbackup2 – (INTERNAL)

* cptheme – (NOT USED)

* dialog* – (NOT USED)

* distupgrade – Upgrades RedHat to the newest version (for testing only)

* dnscluster – Enables DNS clustering.

* dnsqueuecron – Adds a cron job to dump the DNS queue.

* dns_setup – (OLD)

* dnstransfer – Only if the server has a DNS master (sync with DNS master).

* doomhttpd –

* dotbuffer – (INTERNAL)

* downgradefp – Downgrades FrontPage Extensions (to 5.0-0)

* dropmysqldb – Drops a mySQL database.

* easyapache – Upgrade Apache

* editquota – Change a users quota.

* enablechkservdwebmail – Enable service checking of webmaild.

* enablefileprotect – Protects home directories if file protection is built in apache.

* ensurepkg – Installs a FreeBSD package.

* ensurerpm – Installs a rpm.

* ensurerpm2 – (INTERNAL)

* exchangeacctdb – (OLD)

* exim3 – Installs exim 3.

* exim4 – Installs exim 4.

* exim4-rh73test – Installs exim release #260. (RedHat only)

* eximcron – Creates a cron job for exim_tidy_db.

* eximlocalsend – Enables/Disables exim local sending.

* exim_tidydb – Cleans the exim message log.

* eximup – Installs/Updates exim.

* eximup~ – (INTERNAL)

* expectperlinstaller – (INTERNAL)

* fetchfile – (INTERNAL)

* fetchfpexec –

* fetchgd – Includes libg.so.

* finddev – (INTERNAL)

* findhacks – Search for common Trojan Horses.

* findoddrootprocesses – Lists root processes that may need to be checked out.

* findphpversion – Check to see if your php version file is up to date.

* findtrojans – Exhaustive Trojan Horse search.

* fixadmin – (OLD)

* fixallcartswithsuexec – Fixes permissions on carts when using suexec.

* fixallinterchangeperm – Fixes permissions on all users’ Interchange Shopping Carts.

* fixbinpath – Makes sure all bin file paths are correct.

* fixbuggynamed – Updates bind to solve any problems with bugs.

* fixcartwithsuexec – (INTERNAL) – Can be used to fix a cart with suexec.

* fixcgiwrap – (OLD)

* fixcommonproblems – Attempt to fix the most common problems.

* fixetchosts – Fixes problems with /etc/hosts

* fixeverything – Fix common problems and quotas.

* fixfpwml – Fix for .wml errors with frontpage.

* fixheaders – Run if nothing compiles errors with .h files on compile.

* fixhome – (NOT USED) – Unsymlink items.

* fixinterchange – Reinstall interchange Perl modules.

* fixinterchangeperm – fix permissions on a user’s interchange cart.

* fixipsnm – Same as addnetmask ips, but Perl though.

* fixlibnet – Reinstall Bundle::libnet (Perl).

* fixlocalhostwithphp – Change /etc/hosts to work better with PHP 4.2.0 + MySQL.

* fixmailandakopia – (NOT USED)

* fixmailman – Updates and restarts mailman.

* fixmailmanwithsuexec –

* fixmuse – Reinstalls muse.

* fixmysql – Fixes problems with mySQL.

* fixmysqlbsd – Fixes problesm with mySQL on FreeBSD.

* fixnamed – Updates bind to handle many DNS zones (more than 512).

* fixndc – Repair redhat’s broken named.conf on 7.2.

* fixndc.new – (INTERNAL)

* fixoldlistswithsuexec – Run after enabling suexec on the server to change the URLs that Mailman gives out to ones that don’t give a 500 internal server error.

* fixperl – Symlink /usr/local/bin/perl /usr/bin/perl.

* fixperlscript – Makes sure a perlscript includes all corresponding modules.

* fixpop – Fix a POP account and reset password.

* fixproftpdconf – Fixes problems with /usr/local/etc/proftpd.conf

* fixproftpdconf~ – (INTERNAL)

* fixproftpddupes – Updates proftpd.

* fixquotas – Fix quotas.

* fixrelayd – (OLD)

* fixrh72ndckey – (INTERNAL)

* fixrndc – Fixes named.conf to prevent rndc staus failed.

* fixspamassassinfailedupdate – Reinstalls a failed spamassassin update.

* fixsubconf –

* fixsubdomainlogs – Run if subdomain logs don’t show up in cPanel.

* fixsuexeccgiscripts – Fix CGI scripts that are broken after suexec installed.

* fixtrojans – (NOT USED)

* fixvaliases – Fix permisions on valiases.

* fixwebalizer – Repair a Webalizer that has stopped updating.

* fixwebmail – (OLD)

* fixwwwdir – (OLD)

* fp3 – Updates the fpexe3 patch.

* fpanonuserpatch – Updates FrontPage extensions to include the anonymous user patch.

* fp-auth –

* fpbtr – (OLD)

* fpsuexec – (INTERNAL)

* fpsuexec2 – (INTERNAL)

* fpsuexec3 – (INTERNAL)

* fpupgrade – (INTERNAL)

* ftpcheck – Checks for FTPSSL.

* ftpfetch – (INTERNAL)

* ftpput – (INTERNAL)

* ftpquaotacheck – Runs quota checking for all ftp users.

* ftpsfetch – (INTERNAL)

* ftpup – Updates your ftp server.

* ftpupdate – (INTERNAL)

* fullhordereset – Resets Horde and displays the current Horde password.

* futexfix – Fixes problesm with futex.

* futexstartup – Starts futex.

* gcc3 – Installs gcc-3.3.3

* gencrt – Generate a .crt and .csr file.

* gencrt2 – (NOT USED)

* gentomcatlist – (INTERNAL)

* gentooportsup –

* gethomedir – (INTERNAL)

* getpasswd – (INTERNAL)

* getremotecpmove – (INTERNAL)

* getrpmfor –

* grabemails – (INTERNAL)

* grabhttp – (INTERNAL)

* grabhttp2 – (INTERNAL)

* grabmysqlprivs – (INTERNAL)

* grpck – Checks to see if grpck is working properly.

* hackcheck – (INTERNAL)

* hdparmify – Enable dma/irq/32bit HD access, which speeds up IDE drives.

* hdparmon – Turns on hdparm.

* HTTPreq.pm – (INTERNAL)

* httpspamdetect –

* icpanel – (OLD)

* initacls – Mounts your file systems with ACL support (make sure your kernel supports ACLs)

* initbyteslog – (INTERNAL)

* initfpsuexec – Enable FrontPage suexec support.

* initquotas – Turn on quota support on new drives.

* initsslhttpd – Make sure HTTP starts with SSL.

* initsuexec – Turn on suexec support if suexec is installed.

* installaimicq – (INTERNAL)

* installcgipm – Installs CGI.pm

* installcpbsdpkg –

* installcpgentoopkg –

* installdbi – Install Bundle::DBD::mysql.

* installfpfreebsd – Installs FrontPage 5 Extensions on FreeBSD.

* installfpgentoo – Installs FrontPage on Gentoo.

* 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 database 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)

Depending upon update, some scripts may not be available in newer versions of cpanel.