top of page
Search

cPanel Logs

  • knowledgediary4min
  • Mar 2, 2020
  • 1 min read

#Cpanel Logs

Access Log /usr/local/cpanel/logs/access_log

Error log /usr/local/cpanel/logs/error_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

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/

License updates and errors /usr/local/cpanel/logs/license_log

Locale database modifications /usr/local/cpanel/logs/build_locale_database_log

Login errors /usr/local/cpanel/logs/login_log

Panic log /usr/local/cpanel/logs/panic_log

Tailwatch driver tailwatchd log /usr/local/cpanel/logs/tailwatch_log

Update analysis reporting /usr/local/cpanel/logs/updated_analysis/{TIMESTAMP}.log

WebDisk (CPDAVD) /usr/local/cpanel/logs/cpdavd_error_log

Website statistics log /usr/local/cpanel/logs/stats_log

/usr/local/apache/conf/httpd.conf

Installation log /var/log/cpanel

Service status logs /var/log/chkservd.log

Update (UPCP) log /var/cpanel/updatelogs/updated.{TIMESTAMP}.log

transfers and misc. logs /var/cpanel/logs

Auditing log /var/cpanel/accounting.log

Horde /var/cpanel/horde/log/

RoundCube /var/cpanel/roundcube/log/

SquirrelMail /var/cpanel/squirrelmail/

Per account bandwidth history /var/cpanel/bandwidth.cache/{USERNAME}

(Cache)

Per account bandwidth history /var/cpanel/bandwidth/{USERNAME}

(Human Readable)

Update (UPCP) log /var/cpanel/updatelogs/updated.{TIMESTAMP}.log

#cpanel apache logs

error log /usr/local/apache/logs/error_log

suPHP audit log /usr/local/apache/logs/suphp_log

Processing of log splitting /usr/locsl/apache/logs/splitlogs_log

Domain access logs /usr/local/apache/domlogs/username

Apache restarts done through /usr/local/cpanel/logs/safeapcherestart_log

cPanel and WHM

#Cpanel email logs

Delivery and receipt log /var/log/exim_mainlog

Incoming mail queue /var/spool/exim/input/

Log of rejected messages /var/log/exim_rejectlog

Unexpected/Fatal error log /var/log/exim_paniclog

IMAP, POP login attempts, /var/log/maillog

transactions, fatal errors /var/log/messages

and spam scoring

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

#Mysql logs

MySQL error log /var/lib/mysql/{SERVER_NAME}.err

hostname.err

MySQL slow query log var/log/slowqueries

#Other Cpanel logs

Kernel boot and h/w log /var/log/dmesg

System informations /var/log/messages (tail -f)

Bad login and logouts /var/log/btmp (lastb - list all the logins and logouts)

Log in and Log out /var/log/wtmp (last - list allauthorized logins)

Last logins log /var/log/lastlog (lastlog - retireve log data from the log)

Authenticatino log /var/log/secure

#Cpanel FTP logs

Log in failure /var/log/messages

FTP Data Transactions log /var/log/xferlog

FTP account Raw logs. /usr/local/apache/domlogs/ftp.domainname-ftp_log

Pure-ftp log /var/log/pureftpd.log

Pro-ftpd /var/log/pro-ftpd.log

#Useful logs

List all the main domain , subdomain, addon and parked domains under an account : /var/cpanel/userdata/username

 
 
 

Recent Posts

See All
clear script

#!/bin/bash rm -f ./cleanspace.sh bold=$(tput bold) normal=$(tput sgr0) TIMESTAMP=$(date +%d-%m-%Y-%H-%M) LOGFILE="/root/cleardisk-$TIME...

 
 
 
innodb restore

Create a new folder: mkdir /var/lib/mysql2 From R1: Restore from the /var/lib/mysql folder: + The folder which is called the db name...

 
 
 
Scripts

#not wordpress site grep shop2vizag.com /var/log/messages | awk '{print $6}' | cut -d: -f1 |sort -n |uniq -c |sort -n #Domains using...

 
 
 

Comments


  • White Facebook Icon
  • White Twitter Icon
  • White Instagram Icon
  • White YouTube Icon

© 2023 by Knowledge4mind. Proudly created with Wix.com

bottom of page