>Cyrus IMAP on Hardy Heron

>So you’ve just installed cyrus imap on Hardy Heron and you can’t seem to connect. You try a test telnet session and get


icottee@ijcdev:~$ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* BYE Fatal error: can't write proc file
Connection closed by foreign host.

Take a look in /var/log/mail.err and you’ll see stuff like


May 19 22:13:15 ijcdev cyrus/imap[8316]: DBERROR: dbenv->open '/var/lib/cyrus/db' failed: Permission denied
May 19 22:13:15 ijcdev cyrus/imap[8316]: DBERROR: init() on berkeley
May 19 22:13:15 ijcdev cyrus/imap[8316]: DBERROR: reading /var/lib/cyrus/db/skipstamp, assuming the worst: Permission denied
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
May 19 22:13:15 ijcdev cyrus/imap[8316]: IOERROR: creating /var/lib/cyrus/proc/8316: Permission denied
May 19 22:13:15 ijcdev cyrus/imap[8316]: Fatal error: can't write proc file
May 19 22:13:15 ijcdev cyrus/master[8260]: process 8316 exited, signaled to death by 11

The solution is simple


chown -R cyrus /var/lib/cyrus

I’d give cyrus a restart after that as well.

12 Comments

  • 1
    Roger Lancefield
    May 20, 2008 - 3:13 pm | Permalink

    >Phew, given the problems some people have been having with Hardy, when I got to the line:

    “The solution is simple”

    I half expected to see following:

    “Re-install gutsy”.

    😉

  • 2
    jmas
    May 22, 2008 - 5:20 pm | Permalink

    >Thanks, the post was very useful.
    Suggestion: Change the group also

    chown -R cyrus:mail /var/lib/cyrus

  • 3
    Anonymous
    June 2, 2008 - 12:17 pm | Permalink

    >another good idea is to

    chown -R cyrus:mail /var/spool/cyrus

    also…

  • 4
    Anonymous
    August 25, 2008 - 5:26 pm | Permalink

    >Also I needed to do:

    chown -R cyrus:mail /var/spool/sieve/

    in order to use avelsieve through squirrelmail.

    Thanks!

  • 5
    marco giardini
    August 26, 2008 - 2:55 pm | Permalink

    >i’m new on imapd server. I have created some user (login users witha a shell) but now the system tells me the pass is not correct.
    cyrus/imap[8016]: badlogin: host.domain.com [xxx.xxx.xxx.xxx] plaintext roger SASL(-13): user not found: checkpass failed

    what shall i do?
    thanks

  • 6
    Anonymous
    January 2, 2010 - 6:17 am | Permalink

    >Thanks! It was helpful!

    DM

  • 7
    July 19, 2014 - 12:24 pm | Permalink

    I see a lot of interesting articles on your page. You have
    to spend a lot of time writing, i know how to save you a lot of work,
    there is a tool that creates unique, SEO friendly articles in couple of minutes, just search in google – k2 unlimited content

  • 8
    October 27, 2015 - 4:07 am | Permalink

    Very good post. I’m dealing with a few οf these
    issues as well..

  • 9
    May 27, 2016 - 6:21 am | Permalink

    Howdy! I coᥙlԀ have sworn І’ve bᥱen to this sіte before but after gοing through some of the poѕts I realized it’s new to me.
    Anyhow, I’m definitely happy I stumbled սpon it ɑnd I’ll be
    book-marking it and checking bɑcҝ often!

  • 10
    June 4, 2016 - 4:39 pm | Permalink

    Аdmiring the hard work you put intο your blog and in depth information you offer.
    It’s nice to come across a blog every օnce in a
    while that isn’t the same unwanted rehashed materiaⅼ. Wonderful reаd!
    I’ve ѕaveԀ your site and I’m including your RSЅ feeds to my Google account.

  • 11
    June 10, 2016 - 8:06 am | Permalink

    І have read so many articles about the blogger lovers
    except this piece of writing is genuinely a nicе
    piece of writing, keep іt up.

  • 12
    June 15, 2016 - 10:25 am | Permalink

    After going oѵer a numƄer of the blοg posts on your blog,
    I seгіously like your wаy ߋf writing a bⅼog. I saved it
    to my bookmark website list and will be chеcking back soon. Takᥱ a look at my web site too and
    lеt me know how you feel.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *