Cpanel log locations

cPanel logs are most activity that happens on a server to log files so you can go back and check log records for issues, instead of having to be on the server at the time of them occurring.

This post will cover the locations of the log files:

cPanel Apache logs:

/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log

MySQL:

/var/lib/mysql/hostname.err

cPanel Installation Logs:

/var/log/cpanel-install-thread0.log

Apache domlogs

/usr/local/apache/domlogs/example.com

cPanel Access Log:

/usr/local/cpanel/logs/access_log

cPanel Error Log:

/usr/local/cpanel/logs/error_log

ModSecurity:

/usr/local/apache/logs/modsec_audit.log
/usr/local/apache/logs/modsec_debug_log

Cron Logs:

/var/log/cron

Apache SUEXEC Logs:

/usr/local/apache/logs/suexec_log

Exim:

/var/log/exim_mainlog
/var/log/exim_paniclog
/var/log/exim_rejectlog

BIND (named) Log:

/var/log/messages

Courier or Dovecot IMAP:

/var/log/maillog

Tomcat Logs:

/usr/local/jakarta/tomcat/logs/catalina.err
/usr/local/jakarta/tomcat/logs/catalina.out

cPanel Error Log:

/usr/local/cpanel/logs/error_log

cPanel License Log:

/usr/local/cpanel/logs/license_log

cPHulkd:

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

Stats Execution Logs:

/usr/local/cpanel/logs/stats_log

cPanel Backup Logs:

/usr/local/cpanel/logs/cpbackup/*.log
/usr/local/cpanel/logs/cpbackup_transporter.log

ChkServd (cPanel Monitoring Daemon) Logs:

/var/log/chkservd.log

SSH Logs:

/var/log/secure

Pure-FTP:

/var/log/messages
/var/log/xferlog (symlinked to /usr/local/apache/domlogs/ftpxferlog)

 

 

Leave a Reply

Register to Get FREE Offers

Why Pay for Software when you can GET it for FREE

JOIN US TONIGHT!