Pages

Thursday, October 30, 2014

cPanel Bakcup and all log locations & troubleshooting


#######################################
########Collected by Tayab Khan##########
#######################################

### For Accounts backup manually / forcely
===================================
First configure the backup from web and run this in shell

/usr/local/cpanel/bin/backup --force


### For system Backup
================
/scripts/cpbackup --force


==========================
### Listening (80, 443 ) Port check :   lsof -i :80


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

Apache Logs:
Shell Command:  /usr/local/apache/logs/access_log
                            /usr/local/apache/logs/error_log

Apache/Web Individual domain logs:
Shell Command:   /usr/local/apache/domlogs/tayabkhan.com

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

MySQL Logs:
Shell Command:   /var/lib/mysql/hostname.err

BIND (named) Log:
Shell Command:  /var/log/messages

Exim Mail Logs:
Shell Command:  /var/log/exim_mainlog
                             /var/log/exim_paniclog
                             /var/log/exim_rejectlog

Courier or Dovecot IMAP
Shell Command:  /var/log/maillog

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

cPanel Access Log:
Shell Command:  /usr/local/cpanel/logs/access_log

cPanel Error Log:
Shell Command:    /usr/local/cpanel/logs/error_log

cPanel License Log:
Shell Command:   /usr/local/cpanel/logs/license_log

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

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

cPHulkd
Shell Command: /usr/local/cpanel/logs/cphulkd.log

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

Pure-FTP Log
Shell Command:   /var/log/messages
                              /var/log/xferlog (symlinked to /usr/local/apache/domlogs/ftpxferlog)

Cron Logs:
Shell Command:   /var/log/cron

SSH Logs:
Shell Command:   /var/log/secure

ModSecurity:
Shell Command:      /usr/local/apache/logs/modsec_audit.log
                                 /usr/local/apache/logs/modsec_debug_

################################################################
#################################################################


No comments:

Post a Comment