Re: [Dovecot] Error: net_connect(/var/run/dovecot/auth-master) failed: Resource temporarily unavailable
El lun, 15-10-2007 a las 10:41 -0400, Charles Marcus escribió:
On 10/15/2007, Maykel Moya (moya@infomed.sld.cu) wrote:
I'm using deliver (1.0.5) with Postfix (2.1.6).
<snip>
Any hint?
May not be the cause - but postfix 2.1.6 is - well - *ancient*...
I'd make upgrading a priority, even it didn't fix the problem...
I'd upgraded postfix to 2.4.5. Although not sure if it helps I also raised auth_worker_max_count. Up to this moment I haven't had experience the error again.
Well, there it's, again. Postfix, by defaults, don't do more than 100 concurrent deliveries with the same transport, local in my case.
I raised up auth_worker_max_count to 128, to accomodate 100 potential concurrent deliveries plus some pop3/imaps clients.
The problem appears with certain frequency. There is no other info in the log besides the error notification.
FWIW: I have auth_debug enabled. In normal operation I can see the LDAP queries: dovecot: Oct 16 09:46:14 Info: auth(default): ldap(foo,x.y.z.w): pass search: base=ou=users,dc=foo,dc=org scope=subtree filter=(uid=foo) fields=uid,userPassword,sldMailbox
nevertheless, next to net_connect errors, the ldap related line is something like
dovecot: Oct 16 09:46:14 Info: auth(default): ldap(foo,x.y,z,w): unknown user
in both cases, the user don't exist in the directory.
Don't know is this could be something with the same nature of[1].
My config
base_dir = /var/run/dovecot-ldap
# IO optimizations fsync_disable = yes dotlock_use_excl = yes maildir_copy_with_hardlinks = yes maildir_stat_dirs = no maildir_copy_preserve_filename = yes
protocol lda { postmaster_address = bar@foor.org auth_socket_path = /var/run/dovecot/auth-master mail_plugins = quota
# http://wiki.dovecot.org/MailLocation/LocalDisk fsync_disable = yes }
auth default { mechanisms = plain
auth_worker_max_count = 128
socket listen { master { path = /var/run/dovecot/auth-master mode = 0660 user = dovecot group = nusers } }
passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } passdb pam { }
userdb ldap { args = /etc/dovecot/dovecot-ldap.conf }
userdb prefetch { }
userdb passwd { }
user = root }
Regards, maykel
[1] http://www.dovecot.org/list/dovecot/2007-October/026069.html
On Tue, 2007-10-16 at 11:18 -0400, Maykel Moya wrote:
passdb pam { }
I think this is your main problem. Try:
passdb pam { args = blocking=yes }
userdb passwd { }
Does this use /etc/passwd?
I guess deliver could retry the connect a couple of times also before failing..
participants (2)
-
Maykel Moya
-
Timo Sirainen