{"id":264,"date":"2017-01-09T16:19:13","date_gmt":"2017-01-09T16:19:13","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=264"},"modified":"2017-02-12T20:34:33","modified_gmt":"2017-02-12T20:34:33","slug":"common-log-files-locations-cpanel-servers","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/common-log-files-locations-cpanel-servers\/","title":{"rendered":"Common Log Files locations Of cPanel Servers"},"content":{"rendered":"<h2>Logs location files for cPanel,apache,error ,emails,whm and mysql<\/h2>\n<p>One of the powerfull of cPanel based servers is that keep the location of key files in the same place across all of the various cPanel versions .that help you to trace and find out any issue in your server . The following guide covers the most locations of the log files for things such as access logs, Apache web server logs, email logs, error logs, ftp logs, MySQL logs, and WHM logs.<\/p>\n<h3>cPanel Log Files Location<\/h3>\n<div class=\"well   oscitas-bootstrap-container \"><div class=\"table-responsive oscitas-bootstrap-container\"><table width=\"100%\" class=\"table  oscitas-bootstrap-container\" style=\"table-striped table-bordered table-hover\"><thead><tr> <th>Log Description<\/th> <th>Log File Location<\/th> <\/tr><\/thead> <tbody> <tr> <td><strong>Apache Access logs <\/strong>and user actions ,this log used to log all http requests to ether the hostname of the server, requests directed at the servers IPs, or sites that resolve to the server but are no longer hosted on it<\/td> <td><strong>\/usr\/local\/apache\/logs\/error_log<\/strong><\/td> <\/tr> <tr> <td><strong>Backup logs <\/strong>: This directory contains the cPanel backup log files<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/cpbackup<\/strong><\/td> <\/tr> <tr> <td><strong>RoundCube logs <\/strong>: This directory contains the log files for Roundcube Webmail,including error logs and sendmail log.<\/td> <td><strong>\/var\/cpanel\/roundcube\/log\/<\/strong><\/td> <\/tr> <tr> <td><strong>Horde logs <\/strong>: This directory contains the log files for Horde , including horde_.log and horde_stesares.log.<\/td> <td><strong>\/var\/cpanel\/horde\/log\/<\/strong><\/td> <\/tr> <tr> <td><strong>SquirrelMail logs <\/strong>: This directory contains the log files for SquirrelMail,included version log.<\/td> <td><strong>\/var\/cpanel\/squirrelmail\/<\/strong><\/td> <\/tr> <tr> <td><strong>Panic logs<\/strong> : This file contains a cPanel account&#8217;s severe error logs.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/panic_log<\/strong><\/td> <\/tr> <tr> <td><strong>Brute force protection (cphulkd) log<\/strong>: This file contains the cphulkd daemon&#8217;s activity logs. <\/td> <td><strong>\/usr\/local\/cpanel\/logs\/cphulkd.log<\/strong><\/td> <\/tr> <tr> <td><strong> cPanel &amp; WHM service manager daemon&#8217;s activity log<\/strong>: This file contains the cPanel &amp; WHM service manager daemon&#8217;s (cpsrvd) activity logs.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/cpwrapd_log<\/strong><\/td> <\/tr> <tr> <td><strong>License updates and errors<\/strong>: This file contains the cPanel account&#8217;s license update logs and license errors.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/license_log<\/strong><\/td> <\/tr> <tr> <td><strong>DBmapping Log<\/strong>: This file contains the cPanel account&#8217;s database-related activities.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/setupdbmap_log<\/strong><\/td> <\/tr> <tr> <td><strong>DBmapping Log<\/strong>: This file contains the cPanel account&#8217;s database-related activities.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/setupdbmap_log<\/strong><\/td> <\/tr> <tr> <td><strong>Installation log<\/strong>: This file contains the cPanel &amp; WHM installation logs.<\/td> <td><strong>\/var\/log\/cpanel-install.log<\/strong><\/td> <\/tr> <tr><td><strong>Login errors log<\/strong>: This file contains the login attempts to the cpsrvd daemon.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/login_log<\/strong><\/td> <\/tr> <tr><td><strong>cPanel account Cached bandwidth history log<\/strong>: This file contains the cached bandwidth history for each cPanel account on your server.<\/td> <td><strong>\/var\/cpanel.bandwidth.cache<\/strong><\/td> <\/tr> <tr><td><strong>WebDisk error log<\/strong>: This file contains WebDisk&#8217;s error logs.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/cpdavd_error_log<\/strong><\/td> <\/tr> <tr><td><strong>Website statistics log<\/strong>: This file contains the bandwidth statistics for all of the server&#8217;s cPanel accounts.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/stats_log<\/strong><\/td> <\/tr> <tr><td><strong>cPanel taskqueue processing daemon<\/strong>:This file contains the cPanel TaskQueue Processing daemon&#8217;s (queueprocd) logs.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/queueprocd.log<\/strong><\/td> <\/tr> <tr><td><strong>Domain access logs<\/strong>:This directory contains the FTP transaction logs for all of the cPanel account&#8217;s domains.<\/td> <td><strong>\/usr\/local\/apache\/domlogs<\/strong><\/td> <\/tr> <tr><td><strong>Web server and CGI application error log<\/strong>:This file contains the error logs for Web Servers and CGI Applications.<\/td> <td><strong>\/usr\/local\/apache\/logs\/error_log<\/strong><\/td> <\/tr> <tr><td><strong>suPHP audit log<\/strong>:This file contains information about the suPHP Apache module audit logs. This is useful, for example, to diagnose internal server errors that do not produce relevant information in the error log..<\/td> <td><strong>\/usr\/local\/apache\/logs\/suphp_log<\/strong><\/td> <\/tr> <tr><td><strong>Web server and CGI application error log<\/strong>:This file contains the error logs for Web Servers and CGI Applications.<\/td> <td><strong>\/usr\/local\/apache\/logs\/error_log<\/strong><\/td> <\/tr> <tr> <td><strong>Apache restarts done through cPanel and WHM log<\/strong>:This file contains information about each time that Apache restarted on the server.<\/td> <td><strong>\/usr\/local\/cpanel\/logs\/safeapacherestart_log<\/strong><\/td> <\/tr> <\/tbody><\/table><\/div><\/div>\n<h3>cPanel Email Log Files Location<\/h3>\n<div class=\"well   oscitas-bootstrap-container \"><div class=\"table-responsive oscitas-bootstrap-container\"><table width=\"100%\" class=\"table  oscitas-bootstrap-container\" style=\"table-striped table-hover\"> <thead><tr> <th>Log Description<\/th> <th>Log File Location<\/th> <\/tr><\/thead> <tbody> <tr> <td><strong>Receipt and delivery log<\/strong>: This file contains Exim&#8217;s mail receipt and delivery logs for the cPanel account&#8217;s domains.<\/td> <td><strong>\/var\/log\/exim_mainlog<\/strong><\/td> <\/tr> <tr> <td><strong>Log of messages rejected based on ACLS or other policies<\/strong>: This file contains a log of messages that the system rejected due to ACLs.<\/td> <td><strong>\/var\/log\/exim_rejectlog<\/strong><\/td> <\/tr> <tr> <td><strong>Unexpected\/Fatal error log<\/strong>:This file contains Exim&#8217;s severe error logs.<\/td> <td><strong>\/var\/log\/exim_paniclog<\/strong><\/td> <\/tr> <tr> <td><strong>IMAP, POP login attempts, transactions, fatal errors and spam scoring<\/strong>:This file contains IMAP and POP3 login attempts, transactions, fatal errors, and Apache SpamAssassin scores.<\/td> <td><strong>\/var\/log\/maillog<\/strong>,<strong>\/var\/log\/messages<\/strong><\/td> <\/tr> <tr> <td><strong>Incoming mail queue log<\/strong>:This file contains email in queue.<\/td> <td><strong>\/var\/spool\/exim\/input\/<\/strong><\/td> <\/tr> <\/tbody><\/table><\/div><\/div>\n<h3>MySQL log Files Location<\/h3>\n<div class=\"well   oscitas-bootstrap-container \"><div class=\"table-responsive oscitas-bootstrap-container\"><table width=\"100%\" class=\"table  oscitas-bootstrap-container\" style=\"table-striped table-hover\"> <thead><tr> <th>Log Description<\/th> <th>Log File Location<\/th> <\/tr><\/thead> <tbody> <tr> <td><strong>MySQL error log<\/strong>: This file contains information about the cPanel account&#8217;s MySQL databases and errors. &#8220;The HOSTNAME represents the account&#8217;s hostname.&#8221;<\/td> <td><strong>\/var\/lib\/mysql\/HOSTNAME.err<\/strong><\/td> <\/tr> <\/tbody> <\/table><\/div><\/div>\n<h3>Security SSH log Files Location<\/h3>\n<div class=\"well   oscitas-bootstrap-container \"><div class=\"table-responsive oscitas-bootstrap-container\"><table width=\"100%\" class=\"table  oscitas-bootstrap-container\" style=\"table-striped table-hover\"> <thead><tr> <th>Log Description<\/th> <th>Log File Location<\/th> <\/tr><\/thead> <tbody> <tr> <td><strong>SSH log<\/strong>: This file contains information about All authentication related SSH transactions<\/td> <td><strong>\/var\/log\/secure<\/strong><\/td> <\/tr> <tr> <td><strong>SSH Commands log<\/strong>: This file contains information about commands issued over an SSH connection.<\/td> <td><strong> \/var\/log\/messages<\/strong><\/td><\/tr><\/tbody><\/table><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Logs location files for cPanel,apache,error ,emails,whm and mysql One of the powerfull of cPanel based servers is that keep the location of key files in the same place across all of the various cPanel versions .that help you to trace and find out any issue in your server . The following guide covers the most [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":277,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[4,29],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/264"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":14,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":544,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/264\/revisions\/544"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/277"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}