[Dovecot] dovecot-auth failed: Not enough space
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear all,
I've been trying to get a Dovecot IMAP service running under HP-UX 11.23, IA64. The system has 6GB of spare space under /var and at least the same amount of RAM free at the current time.
I've compiled from the latest source (1.2.4), using the following options:
# CC="/opt/aCC/bin/aCC" ./configure --prefix=/opt/dovecot ... usual make && make install
My config file follows at the end.
In essence, every time I attempt to start dovecot (/opt/dovecot/sbin/dovecot, with no options)
I get the following on the command line: Warning: Last died with error (see error log for more information): Auth process died too early - shutting down Info: If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
Looking into /var/adm/syslog/mail.log, the lines associated with this run read: Aug 24 14:46:25 bilbo dovecot: Dovecot v1.2.4 starting up Aug 24 14:46:25 bilbo dovecot: Fatal: execv(/opt/dovecot/libexec/dovecot/dovecot-auth) failed: Not enough space Aug 24 14:46:25 bilbo dovecot: Fatal: Auth process died too early - shutting down
I've switched over to using a static passwd file type auth and I still get the same error.
Hoping someone has some idea why this is happening... Thanks, Ashley
## Dovecot configuration file ## base_dir = /var/run/dovecot protocols = imap listen = * disable_plaintext_auth = no shutdown_clients = yes
## ## Logging ## log_timestamp = "%b %d %H:%M:%S " syslog_facility = mail
## ## SSL settings ## #ssl_listen = ssl = no
## ## Login processes ## login_dir = /var/run/dovecot/login login_chroot = yes login_user = dovecot
## ## Mailbox locations and namespaces ## mail_location = maildir:/mail%h/Maildir
## ## IMAP specific settings ## protocol imap { login_executable = /opt/dovecot/libexec/dovecot/imap-login mail_executable = /opt/dovecot/libexec/dovecot/imap #imap_max_line_length = 65536 mail_max_userip_connections = 10 #mail_plugins = mail_plugin_dir = /opt/dovecot/lib/dovecot/imap imap_logout_format = bytes=%i/%o #imap_capability = #imap_idle_notify_interval = 120 #imap_id_send = #imap_id_log = #imap_client_workarounds = }
## ## Authentication processes ## auth_executable = /opt/dovecot/libexec/dovecot/dovecot-auth auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth default { passdb passwd-file { args = /opt/dovecot/etc/imap-passwd.txt } }
Steven-Ashley Woltering, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKkpsnh854NVK99FMRAtVZAJ9nOt/HP1ODSTSMkLPNsPOfRK/EsACghPQ7 aFNOxf4hAKV7NKkiZ/4Z7X8= =5Ww9 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Timo Sirainen wrote:
On Mon, 2009-08-24 at 14:52 +0100, S. A. Woltering wrote:
execv(/opt/dovecot/libexec/dovecot/dovecot-auth) failed: Not enough space
Increase auth_process_size or just set it to 0.
Thanks for this Timo. It gets me a little closer! Now, I start the daemon as before and I get...
# /opt/dovecot/sbin/dovecot Info: If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
Not a good start...
So I poke about in syslog and find...
Aug 24 17:02:37 bilbo dovecot: Dovecot v1.2.4 starting up Aug 24 17:02:38 bilbo dovecot: Temporary failure in creating login processes, slowing down for now Aug 24 17:02:38 bilbo dovecot: child 23188 (login) returned error 84 (exec() failed) Aug 24 17:02:38 bilbo dovecot: child 23187 (login) returned error 84 (exec() failed) Aug 24 17:02:38 bilbo dovecot: Fatal: execv(/opt/dovecot/libexec/dovecot/imap-login) failed: Not enough space Aug 24 17:02:38 bilbo above message repeats 5 times Aug 24 17:02:38 bilbo dovecot: child 23186 (login) returned error 84 (exec() failed)
Oh no! Connection via thunderbird client simply stops for the timeout period and complains that connection to server has timed out.
Processes running on the server are: # ps -ef | grep dove root 26261 1 0 17:14:15 ? 0:00 /opt/dovecot/sbin/dovecot root 26263 26261 0 17:14:15 ? 0:00 dovecot-auth -w root 26262 26261 0 17:14:15 ? 0:00 dovecot-auth
No IMAP processes at all. :-(
Sorry about the repeated questioning. A
PS: Yes I do enable auth_debug, but it doesn't tell me anything extra...
Steven-Ashley Woltering, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKksGkh854NVK99FMRArg8AJ9EGlLzCpH/uGBhaFjGT0TZ2F2qNgCffiE2 kqzXP6y4cJ8zJkZoh4VVvf0= =eArO -----END PGP SIGNATURE-----
On Mon, 2009-08-24 at 17:36 +0100, S. A. Woltering wrote:
# /opt/dovecot/sbin/dovecot Info: If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
Not a good start...
That's just an Info message, it's written every time at startup.
execv(/opt/dovecot/libexec/dovecot/imap-login) failed: Not enough space
login_process_size = 0. I guess I should look into changing these messages to mention the setting name. It already does that in some situations..
And I guess you'll have the same problem with mail_process_size too.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Working and now on an HA cluster. Thanks Timo. A
Timo Sirainen wrote:
On Mon, 2009-08-24 at 17:36 +0100, S. A. Woltering wrote:
# /opt/dovecot/sbin/dovecot Info: If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
Not a good start...
That's just an Info message, it's written every time at startup.
execv(/opt/dovecot/libexec/dovecot/imap-login) failed: Not enough space
login_process_size = 0. I guess I should look into changing these messages to mention the setting name. It already does that in some situations..
And I guess you'll have the same problem with mail_process_size too.
Steven-Ashley Woltering, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKk/rmh854NVK99FMRAogrAJ0ZF/KFISfKTyNSiwBrE3BuGR5ILwCfZJBU xBiWBPkVQxCBZYEG4Vk4Vlg= =IXu8 -----END PGP SIGNATURE-----
participants (2)
-
S. A. Woltering
-
Timo Sirainen