cPanel Notes

These are cPanel specific, consisting of quick How-To helper notes, log locations and more.

  • Install cPanel

    The following information provides instruction on how to install cPanel.

    Download and install cPanel
    cd /home && curl -o latest -L && sh latest
  • Update cPanel License

    You may get a notice that your cPanel license has not been verified. When this happens, you need to update it.

    Update cPanel License Command

Install Engintron

Engintron is a free open source plugin for cPanel that installs and configures NGINX for cPanel based web servers.

Download and Install Engintron
cd /; rm -f; wget --no-check-certificate; bash install
Click here for more about Engintron

Install Softaculous

Step 1Download the Softaculous installer
wget -N
Step 2Set permissions
chmod 755
Step 3Run the Softaculous installer

SSL Related Notes

Activate Let's Encrypt on cPanel's AutoSSL
Check SSL Certificates

Fix Missing SSL

This can often happen if your hostname changes and the SSL certificate hasn't been reissued for the correct hostname. First verify your hostname is correct by entering the word 'hostname' into the command line. If it's incorrect, fix it by entering 'hostname'. Next, follow these steps.

Step 1Create a file
touch /var/cpanel/ssl/disable_service_certificate_management
Step 2Run Check All SSL Certs
Step 3Remove the file you made
rm /var/cpanel/ssl/disable_service_certificate_management
Step 4Run Check All SSL Certs again

cPanel Logs

Access Logs
Account transfers and miscellaneous logs
Auditing log (account creations, deletions, etc)
Backup logs
Brute force protection (cphulkd) log
Cpanel dnsadmin dns clustering daemon
Cpanel taskqueue processing daemon
Database-related activities
EasyApache build logs
Error log
Installation log
License updates and errors
Locale database modifications
Login errors (CPSRVD)
Munin logs
Panic log
Per account bandwidth history (Cached)
Per account bandwidth history
(Human Readable)
Service status logs
Tailwatch driver tailwatchd log
Update analysis reporting
Update (UPCP) log
WebDisk (CPDAVD)
Website statistics log

cPanel Apache Logs

Apache restarts done through cPanel and WHM
Domain access logs
Processing of log splitting
suPHP audit log
Web server and CGI application error log

cPanel PHP-FPM Logs

PHP-FPM implementation's errors
Scripts that run unusually slow for a user
User error log

cPanel Email Logs

Delivery and receipt log
Incoming mail queue
Log of messages rejected based on ACLS or other policies
Unexpected/Fatal error log
IMAP, POP login attempts, transactions, fatal errors and spam scoring
/var/log/maillog or /var/log/messages

cPanel MySQL Logs

MySQL error log
MySQL slow query log (if enabled in my.cnf)
MySQL upgrade log