How to check Various cPanel logs like WHM, Apache, MySQL, Email, Error etc?

You can use cPanel to access your Linux hosting account with GUI. It is relatively easier to work on the GUI rather than CLI. If you are looking for some advanced troubleshooting, you need to know the command-line tools. cPanel saves most of the logs in its log files. You can view log files to fix your issues on the server.

Following are the various cPanel log path.

 

cPanel Logs

Access logs and user actions

/usr/local/cpanel/logs/access_log

Account transfers and misc. logs

/var/cpanel/logs

Auditing log (account creations, deletions, etc)

/var/cpanel/accounting.log

Backup logs

/usr/local/cpanel/logs/cpbackup

Brute force protection (cphulkd) log

/usr/local/cpanel/logs/cphulkd.log

Cpanel dnsadmin dns clustering daemon

/usr/local/cpanel/logs/dnsadmin_log

Cpanel taskqueue processing daemon

/usr/local/cpanel/logs/queueprocd.log

DBmapping

/usr/local/cpanel/logs/setupdbmap_log

EasyApache build logs

/usr/local/cpanel/logs/easy/apache/

Error log

/usr/local/cpanel/logs/error_log

Installation log

/var/log/cpanel

License updates and errors

/usr/local/cpanel/logs/license_log

Locale database modifications

/usr/local/cpanel/logs/build_locale_database_log

Login errors (CPSRVD)

/usr/local/cpanel/logs/login_log

Horde

/var/cpanel/horde/log/

RoundCube

/var/cpanel/roundcube/log/

SquirrelMail

/var/cpanel/squirrelmail/

Panic log

/usr/local/cpanel/logs/panic_log

Per account bandwidth history (Cached)

/var/cpanel/bandwidth.cache/{USERNAME}

Per account bandwidth history (Human Readable)

/var/cpanel/bandwidth/{USERNAME}

Service status logs

/var/log/chkservd.log

Tailwatch driver tailwatchd log

/usr/local/cpanel/logs/tailwatch_log

Update analysis reporting

/usr/local/cpanel/logs/updated_analysis/{TIMESTAMP}.log

Update (UPCP) log

/var/cpanel/updatelogs/updated.{TIMESTAMP}.log

WebDisk (CPDAVD)

/usr/local/cpanel/logs/cpdavd_error_log

Website statistics log

/usr/local/cpanel/logs/stats_log

 

 

cPanel access log

Access logs and user actions

/usr/local/cpanel/logs/access_log



cPanel apache log

Apache restarts done through cPanel and WHM

/usr/local/cpanel/logs/safeapcherestart_log

Domain access logs

/usr/local/apache/domlogs/{DOMAIN}

Processing of log splitting

/usr/local/cpanel/logs/splitlogs_log

suPHP audit log

/usr/local/apache/logs/suphp_log

Web server and CGI application error log

/usr/local/apache/logs/error_log

 

cPanel email log

Delivery and receipt log

/var/log/exim_mainlog

Incoming mail queue

/var/spool/exim/input/

Log of messages rejected based on ACLS or other policies

/var/log/exim_rejectlog

Unexpected/Fatal error log

/var/log/exim_paniclog

IMAP, POP login attempts, transactions, fatal errors and spam scoring

/var/log/maillog or /var/log/messages

Mailman

/usr/local/cpanel/3rdparty/mailmain/logs

 

 

NGINX

NGINX cache

/var/nginx/cache

NGINX access log

/var/log/nginx/access.log

NGINX error log

/var/log/nginx/error.log

 

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to add IP Address on Ubuntu 18.04 using netplan?

We can configure IP Address on ubuntu 18.04 using Netplan. It is a different method to add IP...

How to Install and Configure Fail2ban on Ubuntu?

You require to protect your server from a Brute force attack from the internet. You can do it...

Can I purchase additional RAM, Disk space and Bandwidth for VPS?

Yes, you can purchase additional RAM(Our RAM Recommendation), DiskSpace, Bandwidth and vCPU...

How to Upgrade PHP Version in cPanel/WHM Server?

Following article will assist you to upgrade PHP version in cPanel/WHM server. This article is...

Virtual Machine with CentOS 5 32-Bit OS Does not Address Physical Memory More Than 3 GB

Recently we came across very strange issue wherein Linux virtual machine with Centos 5.X 32 Bit...