{"id":4363,"date":"2018-04-28T00:52:42","date_gmt":"2018-04-28T00:52:42","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4363"},"modified":"2018-04-28T00:52:42","modified_gmt":"2018-04-28T00:52:42","slug":"courier-service-can-not-be-started-courierlogger-dead-but-pid-file-exists","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/04\/28\/courier-service-can-not-be-started-courierlogger-dead-but-pid-file-exists\/","title":{"rendered":"Courier service can not be started: courierlogger dead but pid file exists"},"content":{"rendered":"<p>Courier cannot start:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nCourier service can not be started: courierlogger dead but pid file exists\n#service courier-pop3s status\n\n<\/pre>\n<p>In the Plesk Control Panel\/Tools and Settings\/ Services all of the &#8216;Courier&#8217; entries show they are not running.<\/p>\n<p>The usual fix of grep the courierlogger process and killing it does not work. Here is what does:<\/p>\n<p>This is caused by hung processes, but not courierlogger was hung, but couriertcpd processes, one of them was running since April 3:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# ps aux | grep couriertcpd\nroot 3784 0.0 0.0 11976 1796 ? S 11:05 0:04 \/usr\/lib64\/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 110 \/usr\/sbin\/pop3login \/usr\/lib64\/plesk-9.0\/pop3login Maildir\nroot 3907 0.0 0.0 11972 1884 ? S 11:05 0:00 \/usr\/lib64\/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 143 \/usr\/sbin\/imaplogin \/usr\/bin\/imapd Maildir\nroot 3973 0.0 0.0 11972 1776 ? S 11:05 0:00 \/usr\/lib64\/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 993 \/usr\/bin\/couriertls -server -tcpd \/usr\/sbin\/imaplogin \/usr\/bin\/imapd Maildir\nroot 26808 0.0 0.0 103396 2080 pts\/2 S+ 19:53 0:00 grep couriertcpd\nroot 26951 0.0 0.0 11976 1704 ? S Apr03 0:49 \/usr\/lib64\/couriertcpd -address=0 -maxprocs=80 -maxperip=10 -nodnslookup -noidentlookup 995 \/usr\/bin\/couriertls -server -tcpd \/usr\/sbin\/pop3login \/usr\/lib64\/plesk-9.0\/pop3login Maildir\n&#x5B;root@216-55-187-88 ~]# ps aux | grep courierlogger\nroot 13394 0.0 0.0 4124 1432 ? S 18:08 0:00 \/usr\/sbin\/courierlogger -name=courier-authdaemon -pid=\/var\/run\/courier-authdaemon.pid -lockfile=\/var\/lock\/subsys\/courier-authdaemon -start \/usr\/lib64\/courier-authlib\/authdaemond\n\n\n<\/pre>\n<p>Kill all those processes and after that you are able to start the service successfully:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# service courier-imapd status\ncourierlogger (pid 29099) is running...\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Courier cannot start: Courier service can not be started: courierlogger dead but pid file exists #service courier-pop3s status In the Plesk Control Panel\/Tools and Settings\/ Services all of the &#8216;Courier&#8217; entries show they are not running. The usual fix of grep the courierlogger process and killing it does not work. Here is what does: This &#8230; <a title=\"Courier service can not be started: courierlogger dead but pid file exists\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/04\/28\/courier-service-can-not-be-started-courierlogger-dead-but-pid-file-exists\/\" aria-label=\"Read more about Courier service can not be started: courierlogger dead but pid file exists\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[],"class_list":["post-4363","post","type-post","status-publish","format-standard","hentry","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=4363"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4363\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}