Apache Error Logs Cpanel
Contents |
Getting Started Home Page | Knowledge Base 24 X 7 HEROIC SUPPORT 800.580.4985 (1-517-322-0434) Find Answers To Web Hosting Questions SearchSearch Locations of Common Log Files on cPanel Servers Category: Technical Support One of the nice things about cPanel based /usr/local/apache/logs/error_log servers is the way that they keep the location of key files in the same
Cpanel Apache Error Log File
place across all of the various cPanel versions. Due to this consistency one always knows where to look for logs files for cpanel php error log location all services running on a cPanel server. Apache Apache is the web server that is typically utilized by cPanel. On cPanel servers Apache does write to a rather high number of logs as each site has its
Cpanel Error Log Empty
own traffic log. /usr/local/apache/logs/access_log The access_log is 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. /usr/local/apache/logs/error_log On cPanel servers all Apache errors, regardless of site, are logged in the error_log. /usr/local/apache/domlogs Within the domlogs folder each site on the server will have its own log file. These files will be cpanel mail logs the fully qualified domain name for the domain, ie domain.com, liquidweb.com. All http traffic to a site will be logged in this log file. Exim Exim is the MTA(Mail Transfer Agent) that cPanel utilizes. Exim has three primary logs, but only two of these logs contain useful information /var/log/exim_mainlog The exim_mainlog contains ALL interactions that exim handles, so both incoming and outgoing mail transactions. /var/log/exim_rejectlog The exim_rejectlog contains all connection attempts that were denied. This information is also logged in the exim_mainlog. For more information on Exim's logs try a Google search for "Exim Cheat Sheet". cPanel Cpanel does log all http traffic to WHM, webmail, and cPanel access. All cPanel logs are located in the /usr/local/cpanel/logs directory. /usr/local/cpanel/logs/access_log This access_log contains all traffic to WHM, cPanel, and webmail over http. /usr/local/cpanel/logs/error_log This error_log contains all errors that occur when accessing a cPanel related site over http or https. FTP Regardless of FTP deamon in use, cPanel does log connections, uploads, and downloads. However, FTP does not have its own log file it is instead threaded into the systemside messages log file. /var/log/messages All FTP transactions are recorded in messages. They are however interwoven with all other system messages that are logged in this file. SSH SSH (aka Secure Shell) is a secure way of logging into a server remotely from another
DOMAINS WEB DESIGN WEB DESIGN SERVICES CREATE YOUR OWN WEBSITE SITE HOSTING TOOLS MEET US MEET US ABOUT US PARTNERS & AWARDS BLOG WE'RE
/usr/local/cpanel/logs/access_log
HIRING CONTACT US AMP LOGIN SUPPORT CENTER Search Support Center Product
Whm Access Logs
Guides Dedicated Hosting Reseller Hosting KnowledgeBase Website Email Domain Names Reseller Billing Community Support Browse Questions cpanel domain access logs Ask a Question User Submitted Articles Education Channels Android BoldGrid cPanel DokuWiki Drupal 7 Drupal 8 Everything Email Joomla 2.5 Joomla 3.1 K2 Magento 1.6 Mambo MediaWiki https://www.liquidweb.com/kb/locations-of-common-log-files-on-cpanel-servers/ Moodle Movable Type OpenCart OpenCart 2.0 osCommerce PHP-Fusion PHP-Nuke phpBB phpList Premium Website Builder PrestaShop 1.5 PrestaShop 1.6 SMF Tiki Wiki VirtueMart 3 Web Hosting Manager Website Design WordPress Tools & Resources Email Configuration Blacklist Check Visual DNS Lookup Quick Tagger Icon Sets Favicon Generator Bounce Back Parser What is my IP address? >>Website .htaccess http://www.inmotionhosting.com/support/website/stats-logging/how-to-view-cpanel-error-logs (17)Adobe Flash (2)APIs (2)Backup and Restore (15)Billing (8)Browser Issues (2)Connecting to a Database (5)cPanel (26)cPanel Account Management (16)Cron Jobs (4)Cube Cart (2)Database Setup (5)Database Troubleshooting (6)Domain Management (2)Dreamweaver (12)Drush (2)eCommerce (7)Elasticsearch (4)Fantastico (4)File Management (16)File Manager (6)FTP (10)FTP Client Setup (21)General Server Setup / Management (15)Getting Started Guides (18)Ghost (3)Google Tools (21)How To (23)HTML (2)Image Editing (2)IP Addresses (3)iWeb (1)JavaScript (2)Joomla (10)Joomla 2.5 (36)Koken (11)Linux (27)Logaholic (5)Magento (2)Maintaining Your Website (1)Managing Files (7)Microsoft FrontPage (11)Microsoft Publisher (1)ModSecurity (7) MODx (3)New Customers (7)Open Classifieds (1)PCI Compliance (7)PHP (15)PHP Configuration (7)PHP Troubleshooting (6)phpBB (25)phpMyAdmin (10)Premium Website Builder (22)Prestashop (1)Protecting Files (5)Publishing Your Site (2)Python (1)Redirects (4)Restricting Bots (5)Search Engine Optimization (1)Secure Socket Layer (SSL) Tutorials (13)Security (12)Sending Email From Websites (2)Server Security (2)Server Usage (21)Slow Websites (7)Social Media (4)Software FAQs (11)Soho Web Builder (18)SSH and Root access (21)Statistics/Logging (12)Troubleshooting Comment Spam (3)Troubleshooting Hacked Websites (9)Web Host Manager (7)Website Error Numbers (4)Website Is Unavailable (3)Website Transfers (6)Website Troubleshooting (26)Welcome to AMP (22)What Is... (9)
Knowledge BasePagesBlogTagsPage tree Browse pagesConfigureSpace tools Attachments (0) Page History Page Information Resolved comments Link to this Page… View in Hierarchy View Source https://confluence2.cpanel.net/display/CKB/The+cPanel+Log+Files Export to PDF Export to Word Pages cPanel Knowledge Base The cPanel Product Skip to end of banner JIRA links Go to start of banner The cPanel Log Files Skip to end of metadata Created by Doc User, last modified on Aug 10, 2016 Go to start of metadata We last updated this page on: Aug 10, 2016 09:59 OverviewThis document error log describes the location of all of the log files in cPanel & WHM, Webmail, and MySQL®. This document also provides examples of each log file.The directories and files in this document reflect unaltered configurations on CentOS, CloudLinux™, RedHat Enterprise Linux (RHEL), and Amazon Linux. Note: You can alter a log file's location with a configuration file. GeneralFilepathDescriptionExample/var/log/messagesThis directory contains the login apache error log attempts and general error messages for the following services:FTPThe nameserver daemons (named or nsd).MyDNSThe SSH daemon (sshd).The Courier mail server. Warning: We removed the Courier mail server in cPanel & WHM version 54. The Courier mail server only exists for cPanel & WHM version 11.52 and earlier.The Dovecot mail server.Apache SpamAssassin™. Click to view... Nov 3 08:41:10 vm5 proftpd[684684]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session opened. Nov 3 08:41:10 vm5 proftpd[684684]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session closed. Nov 3 08:46:12 vm5 proftpd[684753]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session opened. Nov 3 08:46:12 vm5 proftpd[684753]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session closed. cPanel & WHM servicesFilesThe following table lists the log files for cPanel & WHM.FilepathDescriptionExample/usr/local/cpanel/logs/access_logThis file contains records of when a cPanel & WHM user accesses their account. Click to view... 192.168.0.20 - - [10/21/1985:16:42:23 -0000] "GET /.__cpanel__service__check__./serviceauth?sendkey=__HIDDEN__&version=1.2 HTTP/1.0" 200 0 "" "-" "-" "-" /usr/local/cpanel/addbandwidth.logThis file contains records of when a user adds bandwidth to a cPanel account. Click to view... [2014-10-15 10:08:52 -0500] info [bandwidth] ADDHTTP: 'example.com' = 67 /usr/local/cpanel/build/locale_database_logThis file contains information about when a user edits a locale. Click to view... [2014-09-28 02:55:26 -0500] info [build_locale_datab