{"id":273,"date":"2008-05-20T01:12:00","date_gmt":"2008-05-20T01:12:00","guid":{"rendered":"http:\/\/new.cottee.org\/2008\/05\/cyrus-imap-on-hardy-heron\/"},"modified":"2008-05-20T01:12:00","modified_gmt":"2008-05-20T01:12:00","slug":"cyrus-imap-on-hardy-heron","status":"publish","type":"post","link":"https:\/\/cottee.org\/?p=273","title":{"rendered":">Cyrus IMAP on Hardy Heron"},"content":{"rendered":"<p>>So you&#8217;ve just installed cyrus imap on Hardy Heron and you can&#8217;t seem to connect. You try a test telnet session and get <\/p>\n<pre><br \/>   icottee@ijcdev:~$ telnet localhost 143<br \/>   Trying 127.0.0.1...<br \/>   Connected to localhost.<br \/>   Escape character is '^]'.<br \/>   * BYE Fatal error: can't write proc file<br \/>   Connection closed by foreign host.<br \/><\/pre>\n<p>Take a look in \/var\/log\/mail.err and you&#8217;ll see stuff like <\/p>\n<pre><br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: DBERROR: dbenv->open '\/var\/lib\/cyrus\/db' failed: Permission denied<br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: DBERROR: init() on berkeley<br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: DBERROR: reading \/var\/lib\/cyrus\/db\/skipstamp, assuming the worst: Permission denied<br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: locking disabled: couldn't open socket lockfile \/var\/lib\/cyrus\/socket\/imap-1.lock: Permission denied<br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: IOERROR: creating \/var\/lib\/cyrus\/proc\/8316: Permission denied<br \/>   May 19 22:13:15 ijcdev cyrus\/imap[8316]: Fatal error: can't write proc file<br \/>   May 19 22:13:15 ijcdev cyrus\/master[8260]: process 8316 exited, signaled to death by 11<br \/><\/pre>\n<p>The solution is simple <\/p>\n<pre><br \/>   chown -R cyrus \/var\/lib\/cyrus<br \/><\/pre>\n<p>I&#8217;d give cyrus a restart after that as well.<\/p>\n<div class=\"blogger-post-footer\"><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/9210244490645736884-1862108636176074471?l=blog.cottee.org' alt='' \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>>So you&#8217;ve just installed cyrus imap on Hardy Heron and you can&#8217;t seem to connect. You try a test telnet session and get icottee@ijcdev:~$ telnet localhost 143 Trying 127.0.0.1&#8230; Connected to localhost. Escape character is &#8216;^]&#8217;. * BYE Fatal error: can&#8217;t write proc file Connection closed by foreign host. Take a look in \/var\/log\/mail.err and you&#8217;ll see stuff like May 19 22:13:15 ijcdev cyrus\/imap[8316]: DBERROR: dbenv->open &#8216;\/var\/lib\/cyrus\/db&#8217; failed: Permission denied May 19 22:13:15 ijcdev cyrus\/imap[8316]: DBERROR: init() on berkeley May&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/cottee.org\/?p=273\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[15,25,47],"class_list":["post-273","post","type-post","status-publish","format-standard","hentry","category-oldsite","tag-cyrus","tag-hardy","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273"}],"version-history":[{"count":0,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions"}],"wp:attachment":[{"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}