Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271884

Summary: net-mail/dovecot-1.1.7-r1: startup failed: Resource temporarily unavailable
Product: Gentoo Linux Reporter: Remco Overdijk <remco.overdijk>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: khaelin, net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Remco Overdijk 2009-05-30 15:06:29 UTC
After emerging net-mail/dovecot, which installs version 1.1.7-r1, I am unable to start it.

Reproducible: Always

Steps to Reproduce:
1. Install dovecot by using "emerge net-mail/dovecot" 
2. Configure it by editing /etc/dovecot/dovecot.conf
3. Try to start it by using "/etc/init.d/dovecot start" 


Actual Results:  
hostname var # /etc/init.d/dovecot start
 * Starting dovecot ...
Warning: Last died with error (see error log for more information): Auth process died too early - shutting down

/var/log/mail.log shows:
May 30 17:01:16 hostname dovecot: Dovecot v1.1.7 starting up
May 30 17:01:16 hostname dovecot: Fatal: execv(/usr/libexec/dovecot/dovecot-auth) failed: Resource temporarily unavailable
May 30 17:01:16 hostname dovecot: child 21784 (auth) returned error 84 (exec() failed)
May 30 17:01:16 hostname dovecot: Fatal: Auth process died too early - shutting down


Expected Results:  
Dovecot starting up like it should.

dovecot -n:

# 1.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.28-hardened-r7 x86_64 Gentoo Base System release 1.12.11.1 jfs
protocols: imaps
ssl_cert_file: /etc/ssl/dovecot/server.pem
ssl_key_file: /etc/ssl/dovecot/server.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
first_valid_uid: 89
mail_location: maildir:/var/vpopmail/domains/%d/%n/.maildir
auth default:
  verbose: yes
  debug: yes
  passdb:
    driver: vpopmail
  userdb:
    driver: vpopmail


Because I figure " Resource temporarily unavailable"  errors are commonly caused by limit problems, here's the output/config of my limits:

ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 73728
max locked memory       (kbytes, -l) 1024
max memory size         (kbytes, -m) 10000
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 50
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


/etc/security/limits.conf
#<domain>      <type>  <item>         <value>
#

*               soft    core            0
*               hard    core            0
*               hard    nproc           40
*               hard    rss             10000
*               -       maxlogins       5
@dev            hard    core            100000
@dev            soft    nproc           20
@dev            hard    nproc           35
@dev            -       maxlogins       10
mysql           soft    nofile          4096
mysql           hard    nofile          4096
vpopmail        soft    nofile          4096
vpopmail        hard    nofile          4096
dovecot         soft    nofile          4096
dovecot         hard    nofile          4096


I'm trying to get dovecot working in combination with netqmail and vpopmail.
Comment 1 Eray Aslan gentoo-dev 2010-06-16 14:19:35 UTC
Please check with current version and close if not applicable.  Thank you.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-14 16:10:19 UTC
I'm closing this bug because it is for a pretty old version and there isn't any activity on this bug. Feel free to re-open for the current stable version (1.2.11-r1) or newer. Thanks for understanding.