1. Home
  2. Hosting & Servers
  3. Web Hosting
  4. How to check various Cpanel logs like WHM, APACHE, MY-SQL EMAIL , errors etc from command line
  1. Home
  2. Hosting & Servers
  3. Virtual Private Server [VPS]
  4. How to check various Cpanel logs like WHM, APACHE, MY-SQL EMAIL , errors etc from command line
  1. Home
  2. Hosting & Servers
  3. Web Hosting
  4. How to check various Cpanel logs like WHM, APACHE, MY-SQL EMAIL , errors etc from command line
  1. Home
  2. Hosting & Servers
  3. Virtual Private Server [VPS]
  4. How to check various Cpanel logs like WHM, APACHE, MY-SQL EMAIL , errors etc from command line

How to check various Cpanel logs like WHM, APACHE, MY-SQL EMAIL , errors etc from command line

You can use cPanel to access your Linux web hosting account with GUI. It is relatively easier to work on the GUI in place of CLI. If you are seeking out for some superior troubleshooting, you will need to realize the command-line tools. cPanel saves maximum of the logs in its log files. You can view log files to solve your troubles at the server.

Following are the several cPanel log path.

CPanel Logs :-

Access logs and consumer actions

  • /usr/local/cpanel/logs/access_log

Account transfers and misc. Logs

  • /var/cpanel/logs

Auditing log (account creations, deletions, etc)

  • /var/cpanel/accounting.Log

Backup logs

  • /usr/local/cpanel/logs/cpbackup

Brute pressure 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

DBmapping

  • /usr/local/cpanel/logs/setupdbmap_log

EasyApache build logs

  • /usr/local/cpanel/logs/easy/apache/

Error log

  • /usr/local/cpanel/logs/error_log

Installation log

  • /var/log/cpanel

License updates and errors

  • /usr/local/cpanel/logs/license_log

Local database modifications

  • /usr/local/cpanel/logs/build_locale_database_log

Login errors (CPSRVD)

  • /usr/local/cpanel/logs/login_log

Horde

  • /var/cpanel/horde/log/

RoundCube

  • /var/cpanel/roundcube/log/

SquirrelMail

  • /var/cpanel/squirrelmail/

Panic log

  • /usr/local/cpanel/logs/panic_log

Per account bandwidth history (Cached)

  • /var/cpanel/bandwidth.Cache/USERNAME

Per account bandwidth history (Human Readable)

  • /var/cpanel/bandwidth/USERNAME

Service status logs

  • /var/log/chkservd.Log

Tailwatch driver tailwatchd log

  • /usr/local/cpanel/logs/tailwatch_log

Update evaluation reporting

  • /usr/local/cpanel/logs/updated_analysis/TIMESTAMP.Log

Update (UPCP) log

  • /var/cpanel/updatelogs/updated.TIMESTAMP.Log

WebDisk (CPDAVD)

  • /usr/local/cpanel/logs/cpdavd_error_log

Website statistics log

  • /usr/local/cpanel/logs/stats_log

cPanel AccessLog :-

Access logs and user actions

  • /usr/local/cpanel/logs/access_log

cPanel Apache Log : 

Apache restarts done via cPanel and WHM

  • /usr/local/cpanel/logs/safeapcherestart_log

Domain access logs

  • /usr/local/apache/domlogs/DOMAIN

Processing of log splitting

  • /usr/local/cpanel/logs/splitlogs_log

suPHP audit log

  • /usr/local/apache/logs/suphp_log

Web server and CGI application error log 

  • /usr/local/apache/logs/error_log

cPanel Email log :-

Delivery and receipt log

  • /var/log/exim_mainlog

Incoming mail queue

  • /var/spool/exim/input/

Messages log rejected based on ACLS or more policies

  • /var/log/exim_rejectlog

Unexpected/Fatal errors log

  • /var/log/exim_paniclog

IMAP, POP login trials, transactions, deadlyerrors and spam scoring

  • /var/log/maillog or /var/log/messages

Mailman

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

NGINX :-

NGINX cache

  • /var/nginx/cache

NGINX access log

  • /var/log/nginx/get entry to.Log

NGINX’s errors log

  • /var/log/nginx/blunders.Log

That’s it !

 

Updated on July 1, 2020

Was this article helpful?