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.
3 comments:
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".
;)
Thanks, the post was very useful.
Suggestion: Change the group also
chown -R cyrus:mail /var/lib/cyrus
another good idea is to
chown -R cyrus:mail /var/spool/cyrus
also...
Post a Comment