[Dovecot] Fatal: EOF reading environment from master
I have been running dovecot as an imap server since 22nd July 2005. The server was started from xinetd using /usr/local/libexec/dovecot/imap-auth The sever run successfully until the machine was shut down in a power outage on 12 Aug 2005. Dovecot has failed to start since the reboot. When starting it with the imap-auth it gives the following error: fatal: EOF reading environment from master
I have uninstalled dovecot, downloaded, compiled, and installed the stable of 14Aug 2005 and got the same error. I then installed the 0.99.14 version ang got the same error.
Can i have assistance in solving and/or diagnosing the problem?
-- Marcathian Alexander SDE Assistant Sustainable Development and Environment Section Ministry of Physical Development, Environment & Housing Open Source Software Evaluation Project - WebMail/Groupware/Collaboaration [Open WebMail Project (http://openwebmail.org)]
Have you tried deleting removing the indexes? Dovecot will rebuild
them automatically and at no cost for smaller mailboxes, so they're
typically safe to delete.
-- Jacob Elder
On Aug 16, 2005, at 3:57 PM, Marcathian Alexander wrote:
I have been running dovecot as an imap server since 22nd July 2005. The server was started from xinetd using /usr/local/libexec/dovecot/ imap-auth The sever run successfully until the machine was shut down in a
power outage on 12 Aug 2005. Dovecot has failed to start since the reboot.
When starting it with the imap-auth it gives the following error: fatal: EOF reading environment from masterI have uninstalled dovecot, downloaded, compiled, and installed the
stable of 14Aug 2005 and got the same error. I then installed the 0.99.14
version ang got the same error.Can i have assistance in solving and/or diagnosing the problem?
-- Marcathian Alexander SDE Assistant Sustainable Development and Environment Section Ministry of Physical Development, Environment & Housing Open Source Software Evaluation Project - WebMail/Groupware/ Collaboaration [Open WebMail Project (http://openwebmail.org)]
On Tue, 2005-08-16 at 15:57 -0400, Marcathian Alexander wrote:
I have been running dovecot as an imap server since 22nd July 2005. The server was started from xinetd using /usr/local/libexec/dovecot/imap-auth The sever run successfully until the machine was shut down in a power outage on 12 Aug 2005. Dovecot has failed to start since the reboot. When starting it with the imap-auth it gives the following error: fatal: EOF reading environment from master
Running Dovecot from xinetd hasn't usually been working. I guess it works in some releases, but I haven't really tried to keep it working.. Maybe I should fix it for v1.0 release.
Hello On 7 sept 2005 I downloaded compiled and installed Dovecot v1.0.alpha1. I get the following error when ever I try to start it using fossil:/usr/local/libexec/dovecot # ./imap-login Fatal: EOF while reading environment from master
The dovecot.err log has the following error: dovecot: Sep 08 18:47:33 Info: Dovecot v1.0.alpha1 starting up dovecot: Sep 08 18:47:33 Error: login: Missing protocol from server name 'imap'
I am not using xinetd to start it. the Alpha version has not worked no version of dove cot has worked since I first reported this problem.
I shall be gratefull for any solutions offered
Marcathian
On Wed, 17 Aug 2005 17:04:28 +0300, Timo Sirainen wrote
On Tue, 2005-08-16 at 15:57 -0400, Marcathian Alexander wrote:
I have been running dovecot as an imap server since 22nd July 2005. The server was started from xinetd using /usr/local/libexec/dovecot/imap-auth The sever run successfully until the machine was shut down in a power outage on 12 Aug 2005. Dovecot has failed to start since the reboot. When starting it with the imap-auth it gives the following error: fatal: EOF reading environment from master
Running Dovecot from xinetd hasn't usually been working. I guess it works in some releases, but I haven't really tried to keep it working.. Maybe I should fix it for v1.0 release.
-- Marcathian Alexander SDE Assistant Sustainable Development and Environment Section Ministry of Physical Development, Environment & Housing Open Source Software Evaluation Project - WebMail/Groupware/Collaboaration [Open WebMail Project (http://openwebmail.org)]
Have you tried the rpm's/compiled sources for your distrobution?
I had a similar problem compiling from source, but found that the RPM's fixed it. They did ask for two dependencies, wish are MySQL, and Postrgresql, which duly installed meant the thing just worked, almost out of the box.
The only thing I can suggest (as the config file that works with the binaries is the same one I used when I tried to comile it), it to try installing the two dependencies.
Phil
Marcathian Alexander wrote:
Hello On 7 sept 2005 I downloaded compiled and installed Dovecot v1.0.alpha1. I get the following error when ever I try to start it using fossil:/usr/local/libexec/dovecot # ./imap-login Fatal: EOF while reading environment from master
The dovecot.err log has the following error: dovecot: Sep 08 18:47:33 Info: Dovecot v1.0.alpha1 starting up dovecot: Sep 08 18:47:33 Error: login: Missing protocol from server name 'imap'
I am not using xinetd to start it. the Alpha version has not worked no version of dove cot has worked since I first reported this problem.
I shall be gratefull for any solutions offered
Marcathian
On Wed, 17 Aug 2005 17:04:28 +0300, Timo Sirainen wrote
On Tue, 2005-08-16 at 15:57 -0400, Marcathian Alexander wrote:
I have been running dovecot as an imap server since 22nd July 2005. The server was started from xinetd using /usr/local/libexec/dovecot/imap-auth The sever run successfully until the machine was shut down in a power outage on 12 Aug 2005. Dovecot has failed to start since the reboot. When starting it with the imap-auth it gives the following error: fatal: EOF reading environment from master
Running Dovecot from xinetd hasn't usually been working. I guess it works in some releases, but I haven't really tried to keep it working.. Maybe I should fix it for v1.0 release.
-- Marcathian Alexander SDE Assistant Sustainable Development and Environment Section Ministry of Physical Development, Environment & Housing Open Source Software Evaluation Project - WebMail/Groupware/Collaboaration [Open WebMail Project (http://openwebmail.org)]
-- Phil Bettinson Phil Bettinson System Administrator Llyfrgell Genedlaethol Cymru National Library of Wales
01970632867 01970632867 phil.bettinson@llgc.org.uk phil.bettinson@llgc.org.uk
Yn siarad drosof fy hun, nid LlGC - Speaking personally, not for NLW
On Thu, Sep 08, 2005 at 08:01:28PM -0400, Marcathian Alexander wrote:
Hello On 7 sept 2005 I downloaded compiled and installed Dovecot v1.0.alpha1. ... dovecot: Sep 08 18:47:33 Error: login: Missing protocol from server name 'imap'
The config file syntax changed. 1.0 will produce that kind of error when run with a 0.99 config file.
HTH.
Lorens skrev:
On Thu, Sep 08, 2005 at 08:01:28PM -0400, Marcathian Alexander wrote:
Hello On 7 sept 2005 I downloaded compiled and installed Dovecot v1.0.alpha1.
...
dovecot: Sep 08 18:47:33 Error: login: Missing protocol from server name 'imap'
The config file syntax changed. 1.0 will produce that kind of error when run with a 0.99 config file.
HTH.
I proposed a patch in February that would make "default" the default server name when no --group option, or one without a slash, is passed to imap-login or pop3-login. I don't (or didn't) think this has to do with the config file format. I think the patch is still valid, at least against the latest Debian source package. The workaround is thus to add --group=default/imap to the command line. -- Magnus Holmgren holmgren@lysator.liu.se --- src/master/login-process.c.orig 2005-02-19 22:24:16.000000000 +0100 +++ src/master/login-process.c 2005-02-19 22:56:00.000000000 +0100 @@ -192,13 +192,14 @@ i_error("login: Server name wasn't sent"); else { name = t_strndup(buf, len); - proto = strchr(buf, '/'); + proto = strchr(name, '/'); if (proto == NULL) { - i_error("login: Missing protocol from server name '%s'", - name); - return FALSE; + proto = name; + name = "default"; } - name = t_strdup_until(buf, proto++); + else { + *proto++ = '\0'; + } if (strcmp(proto, "imap") == 0) protocol = MAIL_PROTOCOL_IMAP;
On Tue, 2005-09-20 at 14:40 +0200, Magnus Holmgren wrote:
I proposed a patch in February that would make "default" the default server name when no --group option, or one without a slash, is passed to imap-login or pop3-login. I don't (or didn't) think this has to do with the config file format. I think the patch is still valid, at least against the latest Debian source package.
The workaround is thus to add --group=default/imap to the command line.
Thanks. The patch itself didn't make it work with alpha3 but it gave a good starting point for me. I did several fixes and now the CVS version runs again from inetd. No --group needed, and --ssl isn't needed anymore either for imaps and pop3s ports since it's automatically detected and enabled.
participants (6)
-
Jacob Elder
-
Lorens
-
Magnus Holmgren
-
Marcathian Alexander
-
Phil Bettinson
-
Timo Sirainen