Re: Problem Using IMP Web Mail reading interface

"Mike O'Rourke" <[email protected]> Sat, 29 Mar 2003 18:24:26 +0100
Newsgroups gmane.linux.suse.axp
Message-ID <[email protected]>
Carlos Kamtha wrote:

>Hello,
>
>
>I recently rebooted my Suse LInux 7.1 box, then tried checking mail via
>http. I was able to pull up the login interface, but when I typed my
>username and password and clicked "log in" it hung and eventually failed.
>
>I am thinking that this is because imapd was not started ? I tried started
>Imapd manually and got the following error;
>
>
>admin@mail:/var > /usr/cyrus/bin/imapd
>* BYE Fatal error: can't read mailboxes file
>
>
>I have verified the permissions, user (cyrus) and group (mail) settings.
>They are appear to be correct. I also verified that the mailboxes file
>isn't corrupt and that the mailboxes file is in the correct place (as it
>has always been).
>
>Any Ideas?
>
>Cheers,
>
>Carlos.


The command to manually start cyrus-imapd is /usr/cyrus/bin/master rather 
than /usr/cyrus/bin/imapd. The master process takes care of starting imapd 
(and pop3d and lmtpd, etc) as needed as well as making sure that all of the 
databases are in order.

There _should_ be a script in /etc/init.d to start cyrus, although I do not 
know what it would be as I always compile my own software and simply copy a 
script from another application.

If invoking /usr/cyrus/bin/master does not give you any joy, check that all 
is well with /etc/cyrus.conf and /etc/imapd.conf and finally look in 
/var/log/imapd.log (or whatever /etc/syslog.conf tells syslogd to write 
imap type messages to) and see if there are any other errors to go on.

Mike.