{"id":186,"date":"2009-05-24T09:04:57","date_gmt":"2009-05-24T09:04:57","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/index.php\/?p=186"},"modified":"2009-05-24T09:04:57","modified_gmt":"2009-05-24T09:04:57","slug":"log-locations","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/log-locations\/","title":{"rendered":"Log Locations"},"content":{"rendered":"<p>General:<\/p>\n<p>cPanel\/WHM Initial Installation Errors:<br \/>\nLocation : \/var\/log\/cpanel*install*<br \/>\nDescription : These log files contain cPanel installation logs &#038; should be referenced first for any issues resulting from new cPanel installations..<\/p>\n<p>Cpanel\/WHM Service Status Logs:<br \/>\nLocation : \/var\/log\/chkservd.log<br \/>\nDescription :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-] and active services are represented by [+].<\/p>\n<p>Cpanel\/WHM Accounting Logs:<br \/>\nLocation : \/var\/cpanel\/accounting.log<br \/>\nDescription : Contains a list of accounting functions performed through WHM, including account removal and creation..<\/p>\n<p>cPanel\/WHM Specific Requests and Errors:<\/p>\n<p>cPanel error logs:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/error_log<br \/>\nDescription : cPanel logs any error it incurs here. This should be checked when you encounter errors or strange behavior in cPanel\/WHM&#8230;<\/p>\n<p>cPanel License Error Logs:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/license_log<br \/>\nDescription : All license update attempts are logged here. If you run into any errors related to license when logging in, check here.<\/p>\n<p>Stats Daemon Logs:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/stats_log<br \/>\nDescription : The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.<\/p>\n<p>Client Information, Requested URL Logs:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/access_log<br \/>\nDescription : General information related to access cPanel requests is logged here.<\/p>\n<p>cPanel\/WHM Update Logs:<br \/>\nLocation : \/var\/cpanel\/updatelogs\/update-[TIMESTAMP].log<br \/>\nDescription : Contains all output from each cPanel update [upcp]. It&#8217;s named with the timestamp at which the upcp process was initiated..<\/p>\n<p>Bandwidth Logs:<br \/>\nLocation : \/var\/cpanel\/bandwidth<br \/>\nDescription : Files contain a list of the bandwidth history for each account. Each named after their respective user.<\/p>\n<p>Tailwatchd [New]:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/tailwatchd_log<br \/>\nDescription : Logs for daemon configuired under tailwatchd ie. cPBandwd, Eximstats, Antirelayd.<\/p>\n<p>Apache Logs:<\/p>\n<p>General Error and Auditing Logs:<br \/>\nLocation : \/usr\/local\/apache\/logs\/error_log<br \/>\nDescription : All exceptions caught by httpd along with standard error output from CGI applications are logged here..<br \/>\nThe first place you should look when httpd crashes or you incur errors when accessing website.<\/p>\n<p>Apache SuExec Logs:<br \/>\nLocation : \/usr\/local\/apache\/logs\/suexec_log<br \/>\nDescription : Auditing information reported by suexec each time a CGI application is executed. Useful for debugging internal server errors, with no relevant information being reported to the Apache error_log, check here for potential suexec policy violations&#8230;<\/p>\n<p>Domain Access Logs:<br \/>\nLocation : \/usr\/local\/apache\/domlogs\/domain.com<br \/>\nDescription : General access log file for each domain configured with cPanel.<\/p>\n<p>Apache Access Logs:<br \/>\nLocation : \/usr\/local\/apache\/logs\/access_log<br \/>\nDescription : Complete web server access log records all requests processed by the server.<br \/>\nExim :<\/p>\n<p>Message Reception and Delivery:<br \/>\nLocation : \/var\/log\/exim_mainlog or \/var\/log\/exim\/mainlog<br \/>\nDescription : Receives an entry every time a message is received or delivered.<\/p>\n<p>Exim ACLs\/Policies based RejectLog :<br \/>\nLocation : \/var\/log\/exim_rejectlog<br \/>\nDescription : An entry is written to this log every time a message is rejected based on either ACLs or other policies eg: aliases configured to :fail<\/p>\n<p>Unexpected or Fatal Errors:<br \/>\nLocation : \/var\/log\/exim_paniclog<br \/>\nDescription : Logs any entries exim doesn\u2019t know how to handle. It&#8217;s generally a really bad thing when log entries are being written here, and they should be properly investigated..<\/p>\n<p>IMAP\/POP\/SpamAssassin General Logging and Errors:<br \/>\nLocation : \/var\/log\/maillog &#038; \/var\/log\/messages<br \/>\nDescription : The IMAP, POP, and SpamAssassin services all log here. This includes all general logging information (login attempts, transactions, spam scoring), along with fatal errors.<\/p>\n<p>FTP:<\/p>\n<p>FTP Logins and General Errors:<br \/>\nLocation : \/var\/log\/messages<br \/>\nDescription : General information and login attempts are logged here..<\/p>\n<p>FTP Transactions logging:<br \/>\nLocation : \/var\/log\/xferlog or \/var\/log\/messages<br \/>\nDescription : Is a symbolic link in most cases to \/usr\/local\/apache\/domlogs\/ftpxferlog, which contains a history of the transactions made by FTP users&#8230;<\/p>\n<p>MySQL:<\/p>\n<p>MySQL General Information and Errors :<br \/>\nLocation : \/var\/lib\/mysql\/$(hostname).err<br \/>\nDescription : This path could vary, but is generally located in \/var\/lib\/mysql. Could also be located at \/var\/log\/mysqld.log<\/p>\n<p>Security:<\/p>\n<p>Authentication attempts:<br \/>\nLocation : \/var\/log\/secure<br \/>\nDescription : Logs all daemons which requires PAM Authentication.<\/p>\n<p>Tracking all Bad Logins and Logouts:<br \/>\nLocation : \/var\/log\/btmp<br \/>\nDescription : Log of all attempted bad logins to the system. Accessed via the lastb command..<\/p>\n<p>Tracking all Logins and Logouts:<br \/>\nLocation : \/var\/log\/wtmp<br \/>\nDescription : The wtmp file records all logins and logouts.<\/p>\n<p>Last Logins:<br \/>\nLocation : \/var\/log\/lastlog<br \/>\nDescription : Database times of previous user logins. The lastlog file is a database which contains info on the last login of each user.<\/p>\n<p>WebDav or WebDisk Log :<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/cpdavd_error_log<br \/>\nDescription : The cpdavd daemon is &#8220;WebDav&#8221; (better known as &#8220;WebDisk&#8221;) which was introduced in cPanel 11 to allow users to mount their home directory on their personal computer, always having access to the files and content&#8230;<\/p>\n<p>Cphulkd Logs:<br \/>\nLocation : \/usr\/local\/cpanel\/logs\/cphulkd_errors.log<br \/>\nDescription : cPHulk Brute Force Protection prevents malicious forces from trying to access your server&#8217;s services by guessing the login password for that service&#8230;.<br \/>\nIt blacklists IPs that it thinks are trying to run a brute force attack.<\/p>\n<p>Failure Logging:<br \/>\nLocation : \/var\/log\/faillog<br \/>\nDescription : Faillog formats the contents of the failure log from \/var\/log\/faillog database. It also can be used for maintains failure counters and limits. Run faillog without arguments display only list of user faillog records who have ever had a login failure.<\/p>\n<p>Startup\/Boot, Kernel &#038; Hardware error messages :<br \/>\nLocation : \/var\/log\/dmesg<br \/>\nDescription : dmesg is a &#8220;window&#8221; into the kernels ring-buffer. It&#8217;s a message buffer of the kernel. The content of this file is referred to by the dmesg command. It shows bootlog and the hardware errors..<\/p>\n<p>Tomcat:<\/p>\n<p>General Startup, Shutdown &#038; Error Logs:<br \/>\nLocation : \/usr\/local\/jakarta\/tomcat\/logs\/catalina.err and \/usr\/local\/jakarta\/tomcat\/logs\/catalina.out<br \/>\nDescription : Logs for Tomcat and all tomcat based applications&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>General: cPanel\/WHM Initial Installation Errors: Location : \/var\/log\/cpanel*install* Description : These log files contain cPanel installation logs &#038; should be referenced first for any issues resulting from new cPanel installations.. Cpanel\/WHM Service Status Logs: Location : \/var\/log\/chkservd.log Description :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-]&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/log-locations\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Log Locations - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/log-locations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Log Locations - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"General: cPanel\/WHM Initial Installation Errors: Location : \/var\/log\/cpanel*install* Description : These log files contain cPanel installation logs &#038; should be referenced first for any issues resulting from new cPanel installations.. Cpanel\/WHM Service Status Logs: Location : \/var\/log\/chkservd.log Description :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-]... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/log-locations\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-24T09:04:57+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Log Locations\",\"datePublished\":\"2009-05-24T09:04:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/\"},\"wordCount\":965,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/\",\"name\":\"Log Locations - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2009-05-24T09:04:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/log-locations\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Log Locations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Log Locations - Linux Shtuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/g33kinfo.com\/info\/log-locations\/","og_locale":"en_US","og_type":"article","og_title":"Log Locations - Linux Shtuff","og_description":"General: cPanel\/WHM Initial Installation Errors: Location : \/var\/log\/cpanel*install* Description : These log files contain cPanel installation logs &#038; should be referenced first for any issues resulting from new cPanel installations.. Cpanel\/WHM Service Status Logs: Location : \/var\/log\/chkservd.log Description :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-]... Read More","og_url":"https:\/\/g33kinfo.com\/info\/log-locations\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2009-05-24T09:04:57+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/log-locations\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/log-locations\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Log Locations","datePublished":"2009-05-24T09:04:57+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/log-locations\/"},"wordCount":965,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/log-locations\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/log-locations\/","url":"https:\/\/g33kinfo.com\/info\/log-locations\/","name":"Log Locations - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2009-05-24T09:04:57+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/log-locations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/log-locations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/log-locations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Log Locations"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}