Jan 3, 2012

List of different log files in cPanel

The path to various logs files on a cPanel server for different services as listed here.


Apache Web Server Logs:
/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log

Exim (Email) Logs:
/var/log/exim_mainlog
/var/log/exim_paniclog
/var/log/exim_rejectlog

Ftp Logs:
/var/log/messages

Mysql Logs:
/var/lib/mysql/server.hostname.err

Cronjob Logs:
/var/log/cron

Server Logs:
/var/log/messages

SSH Logs:
/var/log/secure

cPanel Installation Logs:
/var/log/cpanel-install-thread0.log

ChkServd (cPanel Monitoring Daemon) Logs:
/var/log/chkservd.log

Named (Bind) Logs:
/var/log/messages

Last successful login attempts to the server:
/var/log/wtmp (but to view the details, execute the command “last”)

Last unsuccessful login attempts to the server:
/var/log/utmp (To view the logs, execute “lastb” command)

Domlogs of an Account:
/usr/local/apache/domlogs/domainname.tld

Mod Security Logs:
/usr/local/apache/logs/modsec_audit.log
/usr/local/apache/logs/modsec_debug_log

Apache SUEXEC Logs:
/usr/local/apache/logs/suexec_log

cPanel Access and Error Logs:
/usr/local/cpanel/logs/access_log
/usr/local/cpanel/logs/error_log

Stats Execution Logs:
/usr/local/cpanel/logs/stats_log

cPanel License Logs:
/usr/local/cpanel/logs/license_log

cPanel Backup Logs:
/usr/local/cpanel/logs/cpbackup/*.log

Tomcat Logs:
/usr/local/jakarta/tomcat/logs/catalina.err
/usr/local/jakarta/tomcat/logs/catalina.out

0 comments:

Post a Comment

 

Copyright © 2011 Best WebHosting Tips | Design by Kenga Ads-template