{"id":933,"date":"2015-07-08T00:17:01","date_gmt":"2015-07-08T00:17:01","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=933"},"modified":"2020-01-29T12:24:12","modified_gmt":"2020-01-29T18:24:12","slug":"cpanel-logs","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/cpanel-logs\/","title":{"rendered":"cPanel Logs"},"content":{"rendered":"<h2>How to view the logs<\/h2>\n<p>There are multiple ways to view log files, here are some common ways.<\/p>\n<p>tail the log, shows the 10 most recent log entries.<\/p>\n<pre>tail \/var\/log\/messages<\/pre>\n<p>tail the log and keep monitoring it for new entries.<\/p>\n<pre>tail -f \/var\/log\/messages<\/pre>\n<p>Find specific info in log file<\/p>\n<pre>cat \/var\/log\/messages | grep texttosearch<\/pre>\n<p><strong>cPanel Log Paths<\/strong><\/p>\n<p>Main log<\/p>\n<pre>\/var\/log\/messages<\/pre>\n<p>Access logs<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/access_log<\/pre>\n<p>Access logs for a specific domain<\/p>\n<pre>\/home\/user\/access-logs\/domainname.com<\/pre>\n<p>Account Transfers\/miscellaneous logs<\/p>\n<pre>\/var\/cpanel\/logs<\/pre>\n<p>Auditing Log (Account creation and deletions)<\/p>\n<pre>\/var\/cpanel\/accounting.log<\/pre>\n<p>Backup Logs<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/cpbackup<\/pre>\n<p>CPHULKD Log<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/cphulkd.log<\/pre>\n<p>DNSAdmin, DNS Clustering<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/dnsadmin_log<\/pre>\n<p>Task Queue Processing Daemon<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/queueprocd.log<\/pre>\n<p>DBMapping<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/setupdbmap_log<\/pre>\n<p>Easy Apache Build logs<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/easy\/apache\/<\/pre>\n<p>Error logs<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/error_log\n\/var\/log\/cpanel<\/pre>\n<p>License log<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/license_log<\/pre>\n<p>local database modifications<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/build_locale_database_log<\/pre>\n<p>Login errors CPSRVD<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/login_log<\/pre>\n<p>Bandwidth History<\/p>\n<pre>\/var\/cpanel\/bandwidth\/{USERNAME}<\/pre>\n<p>Service Status Logs<\/p>\n<pre>\/var\/log\/chkservd.log<\/pre>\n<p>Tailwatch log<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/tailwatch_log<\/pre>\n<p>Update Analysis Reporting<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/updated_analysis\/{TIMESTAMP}.log<\/pre>\n<p>Update log UPCP<\/p>\n<pre>\/var\/cpanel\/updatelogs\/updated.{TIMESTAMP}.log<\/pre>\n<p><strong>cPanel Email Logs<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p>Horde log<\/p>\n<pre>\/var\/cpanel\/horde\/log\/<\/pre>\n<p>RoundCube<\/p>\n<pre>\/var\/cpanel\/roundcube\/log\/<\/pre>\n<p>Squirrel Mail<\/p>\n<pre>\/var\/cpanel\/squirrelmail\/<\/pre>\n<p>Panic log<\/p>\n<pre>\/usr\/local\/cpanel\/logs\/panic_log<\/pre>\n<p>Delivery and receipt log<\/p>\n<pre>\/var\/log\/exim_mainlog<\/pre>\n<p>Incoming mail queue<\/p>\n<pre>\/var\/spool\/exim\/input\/<\/pre>\n<p>Log of messages rejected based on ACLS or other policies<\/p>\n<pre>\/var\/log\/exim_rejectlog<\/pre>\n<p>Unexpected\/Fatal error log<\/p>\n<pre>\/var\/log\/exim_paniclog<\/pre>\n<p>IMAP, POP login attempts, transactions, fatal errors and spam scoring<\/p>\n<pre>\/var\/log\/maillog<\/pre>\n<p>Mailman<\/p>\n<pre>\/usr\/local\/cpanel\/3rdparty\/mailmain\/logs<\/pre>\n<p><strong>MySQL<\/strong><\/p>\n<p>MySQL error log<\/p>\n<pre>\/var\/lib\/mysql\/{SERVER_NAME}.err<\/pre>\n<p>MySQL slow query log (if enabled in my.cnf)<\/p>\n<pre>\/var\/log\/slowqueries<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to view the logs There are multiple ways to view log files, here are some common ways. tail the log, shows the 10 most recent log entries. tail \/var\/log\/messages tail the log and keep monitoring it for new entries. &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/cpanel-logs\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,195],"tags":[196,236,7,234,235],"class_list":["post-933","post","type-post","status-publish","format-standard","hentry","category-command-line","category-cpanel","tag-cpanel-2","tag-cpanel-log","tag-linux-2","tag-log","tag-logs"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=933"}],"version-history":[{"count":10,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/933\/revisions"}],"predecessor-version":[{"id":2992,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/933\/revisions\/2992"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}