Common log files location on cPanel/WHM server

cPanel is best and No.1 web hosting control panel for Linux environment, which will help administrator to manage everything without headache. Also read about cPanel/WHM utility Command line scripts which will help you to manage the cPanel on CLI & cPanel/WHM Configuration files location. We know 95% of the log files are located under /var/log directory (and subdirectory) and you can use less, more, cat or tail command to check the logs messages as per your requirement. Log files are first contributor on all the IT environment when we are troubleshooting the issues.

log file locationDescription
Cpanel installation logs/var/log/cpanel-install.log
Cpanel Access Logs/usr/local/cpanel/logs/access_log
Cpanel Error Logs/usr/local/cpanel/logs/error_log
Cpanel License Logs/usr/local/cpanel/logs/license_log
Cpanel Login Logs/usr/local/cpanel/logs/login_log
cPHulk Brute Force Logs/usr/local/cpanel/logs/cphulkd.log
Cpanel/WHM Accounting (account creations, deletions, etc) Logs/var/cpanel/accounting.log
Cpanel Bandwidth Logs/var/cpanel/bandwidth/(account user name)
Cpanel/WHM Service monitor Logs/var/log/chkservd.log
Cpanel Stats Daemon Logs/usr/local/cpanel/logs/stats_log
Cpanel backup Logs/usr/local/cpanel/logs/cpbackup
Update (UPCP) Log/var/cpanel/updatelogs/update-(TIMESTAMP).log
cPanel/WHM webalizer/awstats logs/usr/local/cpanel/logs/stats_log
SquirrelMail/var/cpanel/squirrelmail
RoundCube/var/cpanel/roundcube/log
Horde/var/cpanel/horde/log
tailwatchd log/usr/local/cpanel/logs/tailwatch_log
EasyApache Build Logs/usr/local/cpanel/logs/easy/apache/
Apache Access Logs/usr/local/apache/logs/access_log
Apache Error Logs/usr/local/apache/logs/error_log
Domain Access Logs/usr/local/apache/domlogs/domain.com
Ftp Logs/var/log/messages /var/log/xferlog (symlinked to /usr/local/apache/domlogs/ftpxferlog)
Exim Sent/received/var/log/exim_mainlog
Rejected mail logs/var/log/exim_rejectlog
Unexpected/Fatal Error Log/var/log/exim_paniclog
Courier, Dovecot, SpamAssassin & IMAP/var/log/maillog
Incoming mail queue/var/spool/exim/input/
Mailman Logs/usr/local/cpanel/3rdparty/mailmain/logs
mysql logs/val/log/mysqld.log /var/lib/mysql/$(HOSTNAME).err
Tomcat Logs/usr/local/jakarta/tomcat/logs/catalina.err /usr/local/jakarta/tomcat/logs/catalina.out
Cron Logs/var/log/cron
ModSecurity Logs/usr/local/apache/logs/modsec_audit.log /usr/local/apache/logs/modsec_debug_log
Named/Bind (DNS) logs/var/log/messages
PostgreSQL database server logs/var/log/pgsql
cPanel/WHM version checking/usr/local/cpanel/version
SSH Logs/var/log/secure

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...