1 / 14

The cPanel Log Files

Certain filepaths describe specific information about what the file contains. It is important to have information about the location of log files in cPanel & WHM. A configuration file can be used to alter the location of a log file.

htshosting
Download Presentation

The cPanel Log Files

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The cPanel Log Files

  2. Table of Contents • Filepaths Continued • More Information on Filepaths • Filepaths’ Information • Filepaths’ Information Continued • Introduction • Filepath - /var/log/messages • Filepath - /home/username/.cpanel/logs • Filepath - /usr/local/cpanel/logs/access_log • Some More Filepaths

  3. Introduction • The aim of this PPT is to provide information about the location of the log files in cPanel & WHM. A log file’s location can be altered with a configuration file. The log files that are being mentioned here show unaltered configurations. • For example, the filepath, /var/log/secure. The login attempts for the SSH daemon (sshd) are contained in this file.

  4. Filepath - /var/log/messages The login attempts and general error messages for the below-mentioned services are contained in this file. • FTP • named or bind • The nameserver daemons • MyDNS • PowerDNS • The Courier mail server • The SSH daemon (sshd) • NSD • The Dovecot mail server An important point that needs to be mentioned here is that the Courier mail server has been removed in cPanel & WHM version 54. It exists only for cPanel & WHM version 11.52 and earlier.

  5. Filepath - /home/username/.cpanel/logs • The records of errors within the task queue of a user are contained in this directory.

  6. 1-800-123 -8156 Whoa! That’s a big number, aren’t you proud?

  7. EasyApache 4 Home Interface • The records of errors within the task queue of a user are contained in this directory.

  8. Filepath - /usr/local/cpanel/logs/access_log • This file has the records regarding access for accounts of cPanel & WHM users. These records are displayed by the system in a standardized text format, which is known as the Common Log Format. • To digress, cPanel is a web hosting control panel. Web hosting is the service provided by web hosting service providers, such as HTS Hosting, for rendering websites accessible over the Internet. High quality of service at affordable prices ensures that a web hosting company gains the reputation of being the “Best Website Hosting Company” or the “Best Cloud Hosting Company”, or the “Best Windows Hosting Company”.

  9. Some More Filepaths • /usr/local/cpanel/build/locale_database_log – Information regarding when a user edits a locale is contained in this file. • /usr/local/cpanel/logs/api_tokens_log – The API token logs of WHM are contained in this file. • /usr/local/cpanel/logs/cpdavd_error_log – The error logs of WebDisk are contained in this file. • /usr/local/cpanel/logs/cpdavd_session_log – The activity logs of WebDisk are contained in this file. • /usr/local/cpanel/logs/cpgreylistd.log – The activity logs of the Greylisting daemon are contained in this file. • /usr/local/cpanel/logs/cphulkd_errors.log – The error logs of the Brute Force Protection daemon are contained in this file.

  10. Filepaths Continued • /usr/local/cpanel/logs/cphulkd.log – The activity logs of the cphulkd daemon are contained in this file. • /usr/local/cpanel/logs/cpwrapd_log – The activity logs of the cPanel & WHM service manager daemon are contained in this file. • /usr/local/cpanel/logs/dnsadmin_log – The dnsadmin request logs are contained in this file. • /usr/local/cpanel/logs/error_log – The general errors in cPanel & WHM are contained in this file. • /usr/local/cpanel/logs/incoming_http_requests.log – The logs of connection requests to the server of the cPanel account are contained in this file. • /usr/local/cpanel/logs/license_log – The license update logs and license errors of the server are contained in this file.

  11. More Information on Filepaths • /usr/local/cpanel/logs/login_log – The login attempts to the cpsrvd daemon are contained in this file. • /usr/local/cpanel/logs/queueprocd.log – The logs of the cPanel TaskQueue Processing daemon are contained in this file. • /usr/local/cpanel/logs/safeapacherestart_log – Information regarding Apache’s each restart on the server is contained in this file. • /usr/local/cpanel/logs/session_log – The logs of the activities of a user while he/she is logged into the cPanel account are contained in this file. • /usr/local/cpanel/logs/setupdbmap_log – The activities of the database of a cPanel account are contained in this file. • /usr/local/cpanel/logs/stats_log – The bandwidth statistics for the cPanel accounts of all of the servers are contained in this file.

  12. Filepaths’ Information • /usr/local/cpanel/logs/tailwatchd_log – The Tailwatch Driver’s logs are contained in this file. • /usr/local/cpanel/logs/panic_log – The most severe error logs of a cPanel account are contained in this file. • /usr/local/cpanel/logs/php-fpm/error.log – The PHP-FPM implementation errors are contained in this file. The errors for the cpsrvd and cpdavd services are included in these errors. The errors for customer sites are not included in this file. • /var/cpanel/php-fpm/USER/logs/slow.log – Those scripts that run unusually slow for a user, are contained in this file. It needs to be mentioned here that the term “USER” represents the account name of the cPanel. • /var/cpanel/php-fpm/USER/logs/error.log – The error logs of a user are contained in this file. The term “USER” represents the account name of the cPanel. • /var/cpanel.bandwidth.cache – A server’s each cPanel account’s cached bandwidth history is contained in this file.

  13. Filepaths’ Information Continued • /var/cpanel/accounting.log – Records related to the actions of cPanel account are contained in it. Examples of such actions are creation and deletion. • /var/log/chkservd.log – The service status logs are contained in this file. • /var/log/cpanel-install.log – The installation logs of cPanel & WHM are contained in this file.

  14. Thanks! ANY QUESTIONS? www.htshosting.org

More Related