{"id":2721,"date":"2015-06-12T10:00:04","date_gmt":"2015-06-12T10:00:04","guid":{"rendered":"http:\/\/www.esds.co.in\/kb\/?p=2721"},"modified":"2015-06-11T09:01:25","modified_gmt":"2015-06-11T09:01:25","slug":"common-log-files-paths-in-cpanel-servers","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/","title":{"rendered":"Common log files\u2019 path in cpanel servers"},"content":{"rendered":"<p>Cpanel server keeps frequently visited files and web traffic in log files, in these servers, locations of common log files is almost fixed for almost all versions of cPanel, hence it gets easy to track it for any service running on cpanel based server. Checkout some logs for varied services running on cPanel based servers.<\/p>\n<p><strong><u>Common cPanel logs<\/u><\/strong><\/p>\n<p><strong>Introduction: <\/strong>Contains logs related to cPanel, all web traffic is logged to cPanel and webmail. Installation log contains records and errors during cPanel installation. Access log contains traffic details to cPanel and webmail. Error Log comprises of all errors that occurred while accessing cPanel. Bandwidth log contains Bandwidth history with user details.<\/p>\n<ul>\n<li><strong>Directory: <\/strong><strong>\/<\/strong>usr\/local\/cpanel\/logs<\/li>\n<li><strong>Installation logs:<\/strong> \/var\/log\/cpanel-install.log<\/li>\n<li><strong>Access Log:<\/strong> <strong>\/<\/strong>usr\/local\/cpanel\/logs\/access_log<\/li>\n<li><strong>Error Log:<\/strong> \/usr\/local\/cpanel\/logs\/error_log<\/li>\n<li><strong>Bandwidth log: <\/strong>\/var\/cpanel\/bandwidth\/(account user name)<\/li>\n<\/ul>\n<p><strong><u>Apache<\/u><\/strong><\/p>\n<p><strong>Introduction: <\/strong> It is a web server managed by cPanel typically for Linux servers, it carries log for all sites accessed with cpanel. Access log contains all the details of the requests to the servers with IPs, usernames, etc. as required. All Apache errors are logged in Error log. Domain access and error logs for each registered domain with cPanel are logged in domlog.<\/p>\n<ul>\n<li><strong>Directory: <\/strong>\/usr\/local\/apache\/logs<\/li>\n<li><strong>Apache access log: <\/strong>\/usr\/local\/apache\/logs\/access_log<\/li>\n<li><strong>General error log: \/<\/strong>usr\/local\/apache\/logs\/error_log<\/li>\n<li><strong>Domain access and error log (<a href=\"https:\/\/www.esds.co.in\/forums\/showthread.php?t=1539\">domlog<\/a>): <\/strong>\/usr\/local\/apache\/domlogs\/domain.com<\/li>\n<\/ul>\n<p><strong><u>FTP<\/u><\/strong><\/p>\n<p><strong>Introduction:<\/strong> FTP does not have its own log file; it is connected with Message log of system and hence all details of FTP processes like login\/access or failure, transactions or communications are logged in messages of the system.<\/p>\n<ul>\n<li><strong>Directory:<\/strong> <a href=\"https:\/\/www.esds.co.in\/forums\/showthread.php?t=3684\">\/var\/log\/messages<\/a><\/li>\n<li><strong>FTP general login and failure log: <\/strong>\/var\/log\/messages<\/li>\n<li><strong>Transaction log: <\/strong>\/var\/log\/messages \/var\/log\/xferlog<\/li>\n<\/ul>\n<p><strong><u>MySQL<\/u><\/strong><\/p>\n<p><strong>Introduction: <\/strong>It contains general information and <strong>error<\/strong>s related with MySQL access with the cPanel. The address may vary but many of the times remain same.<\/p>\n<ul>\n<li><strong>Directory: <\/strong>\/var\/lib\/mysql<\/li>\n<li><strong>MySQL general information and error logs: <\/strong>\/val\/log\/mysqld.log \/var\/lib\/mysql\/$(HOSTNAME).err<\/li>\n<\/ul>\n<p><strong><u>Exim<\/u><\/strong><\/p>\n<p><strong>Introduction: <\/strong>It is a Mail Transfer Agent used by cPanel. Exim has importantly 2 useful logs they are Main log and Reject log. Main log contains all transaction details of mails with incoming and outgoing specifics. Reject log contains all failed transaction details. And IMAP logs have all general details of transaction, failures, etc.<\/p>\n<ul>\n<li><strong>Main log: <\/strong>\/var\/log\/exim_mainlog<\/li>\n<li><strong>Reject log:<\/strong> \/var\/log\/exim_rejectlog<\/li>\n<li><strong>IMAP\/POP logs:<\/strong> \/var\/log\/maillog<\/li>\n<\/ul>\n<p>These are some of the important log details; however there are many other log details also. With use of these paths, we can easily access common log files in cPanel for any services running on cPanel based servers. Share other log files you know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Locations Common log files with details for different services running on cPanel based server is given for easily accessing common log files in cPanel.<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[69],"tags":[647],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Common log files\u2019 paths in cpanel servers<\/title>\n<meta name=\"description\" content=\"Locations Common log files with details for different services running on cPanel based server is given for easily accessing common log files in cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Common log files\u2019 paths in cpanel servers\" \/>\n<meta property=\"og:description\" content=\"Locations Common log files with details for different services running on cPanel based server is given for easily accessing common log files in cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-12T10:00:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-11T09:01:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\",\"name\":\"Common log files\\u2019 paths in cpanel servers\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"datePublished\":\"2015-06-12T10:00:04+00:00\",\"dateModified\":\"2015-06-11T09:01:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/807313e67c0638369bb6094b4941ae25\"},\"description\":\"Locations Common log files with details for different services running on cPanel based server is given for easily accessing common log files in cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/common-log-files-paths-in-cpanel-servers\/\",\"name\":\"Common log files\\u2019 path in cpanel servers\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/807313e67c0638369bb6094b4941ae25\",\"name\":\"Vaishnavi Kulkarni\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7535bc3cc45bc3c067caa9ed33f0f689?s=96&d=mm&r=g\",\"caption\":\"Vaishnavi Kulkarni\"},\"description\":\"Vaishnavi is an Engineer and a blogger with an acute inclination to technology, especially the computing technologies. At ESDS, she explores cases of PaaS and related technologies and gives consultation by means of blogs. Connect with her over Twitter and Facebook\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/2721"}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=2721"}],"version-history":[{"count":4,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/2721\/revisions"}],"predecessor-version":[{"id":2725,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/2721\/revisions\/2725"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=2721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=2721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=2721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}