[Dovecot] dovecot won't launch

Chad Cunningham ccunning at math.ohio-state.edu
Tue Oct 11 21:43:00 EEST 2005


Hi,

I downloaded the latest dovecot (1.0 alpha 3) and tried numerous  
installs which get me nothing. No errors, no crashes, no segfaults  
and no running dovecot. It just seems to silently exit. I was trying  
to build with mysql support but I've also tried a plain old install,  
just configure, make install, etc. I get nada. strace doesn't show  
anything, at least as far as I can tell. No messages are logged. No  
output to the console.

Any ideas? My only guess, no idea if it matters, is that dovecot  
doesn't like the fact that this is a VPS (User Mode Linux, Fedora  
Core 3). But I don't see any reason why not, other mail servers are  
pretty happy...

Here's the strace:

-bash-3.00# strace dovecot
execve("/usr/local/sbin/dovecot", ["dovecot"], [/* 17 vars */]) = 0
uname({sys="Linux", node="monkey", ...}) = 0
set_tid_address(0)                      = -1 ENOSYS (Function not  
implemented)
brk(0)                                  = 0x805eed0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or  
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24400, ...}) = 0
old_mmap(NULL, 24400, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/lib/libssl.so.4", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\226"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=211948, ...}) = 0
old_mmap(NULL, 212692, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
MAP_DENYWRITE, 3, 0) = 0x4001d000
old_mmap(0x4004e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x4004e000
close(3)                                = 0
open("/lib/libcrypto.so.4", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\251\2"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=935112, ...}) = 0
old_mmap(NULL, 953048, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
MAP_DENYWRITE, 3, 0) = 0x40051000
old_mmap(0x40125000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0xd3000) = 0x40125000
old_mmap(0x40136000, 15064, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40136000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240S\1"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1504728, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
-1, 0) = 0x4013a000
old_mmap(NULL, 1219876, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
MAP_DENYWRITE, 3, 0) = 0x4013b000
mprotect(0x4025e000, 27940, PROT_NONE)  = 0
old_mmap(0x4025f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x123000) = 0x4025f000
old_mmap(0x40263000, 7460, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40263000
close(3)                                = 0
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360J\0"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=80948, ...}) = 0
old_mmap(NULL, 79792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x40265000
old_mmap(0x40278000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x40278000
close(3)                                = 0
open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\370\0"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=413704, ...}) = 0
old_mmap(NULL, 413000, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
MAP_DENYWRITE, 3, 0) = 0x40279000
old_mmap(0x402dc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x63000) = 0x402dc000
close(3)                                = 0
open("/lib/libcom_err.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\354\10"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=5668, ...}) = 0
old_mmap(NULL, 8636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x402de000
old_mmap(0x402e0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x402e0000
close(3)                                = 0
open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`2\0\000"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=134640, ...}) = 0
old_mmap(NULL, 134560, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
MAP_DENYWRITE, 3, 0) = 0x402e1000
old_mmap(0x40301000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x40301000
close(3)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360#\0"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=79572, ...}) = 0
old_mmap(NULL, 80040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x40302000
mprotect(0x40311000, 18600, PROT_NONE)  = 0
old_mmap(0x40312000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x40312000
old_mmap(0x40314000, 6312, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40314000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\v\0"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15208, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
-1, 0) = 0x40316000
old_mmap(NULL, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x40317000
old_mmap(0x40319000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x40319000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\25"...,  
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=62152, ...}) = 0
old_mmap(NULL, 65028, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x4031b000
old_mmap(0x4032a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x4032a000
close(3)                                = 0
mprotect(0x40319000, 4096, PROT_READ)   = 0
mprotect(0x40312000, 4096, PROT_READ)   = 0
mprotect(0x4025f000, 8192, PROT_READ)   = 0
mprotect(0x40015000, 4096, PROT_READ)   = 0
munmap(0x40017000, 24400)               = 0
time(NULL)                              = 1129055371
brk(0)                                  = 0x805eed0
brk(0x807fed0)                          = 0x807fed0
brk(0x8080000)                          = 0x8080000
uname({sys="Linux", node="monkey", ...}) = 0
getpid()                                = 8518
geteuid32()                             = 0
open("/usr/local/etc/dovecot.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=29028, ...}) = 0
pread(3, "## Dovecot 1.0 configuration fil"..., 2048, 0) = 2048
pread(3, "and RSA parameters.\n#ssl_paramet"..., 2019, 2048) = 2019
pread(3, "d in it\'s own process (yes), or "..., 2017, 4067) = 2017
pread(3, "es\n# (eg. shared mailboxes or if"..., 1977, 6084) = 1977
pread(3, "d in\n# doc/mail-storages.txt. Th"..., 1990, 8061) = 1990
pread(3, "erent namespaces which you want "..., 2014, 10051) = 2014
pread(3, "ll with Linux and FreeBSD.\n# But"..., 1999, 12065) = 1999
pread(3, "le. Works with NFS too if lockd "..., 2018, 14064) = 2018
pread(3, "se you don\'t get core dumps. It "..., 2018, 16082) = 2018
pread(3, "ss never abort IDLE command, so "..., 2015, 18100) = 2015
pread(3, "us (<= 2.1.3)    : %u\n  #  Cyrus"..., 2040, 20115) = 2040
pread(3, "of allowed characters in usernam"..., 2041, 22155) = 2041
pread(3, "nd immediately close PAM session"..., 2013, 24196) = 2013
pread(3, "#userdb sql {\n    # Path for SQL"..., 2046, 26209) = 2046
pread(3, "r/run/dovecot-auth-master\n#     "..., 2031, 28255) = 773
pread(3, "", 1258, 29028)               = 0
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =  
-1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =  
-1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
-1, 0) = 0x40017000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40017000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24400, ...}) = 0
old_mmap(NULL, 24400, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\33\0 
\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=47244, ...}) = 0
old_mmap(NULL, 41628, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
3, 0) = 0x4032b000
old_mmap(0x40334000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x40334000
close(3)                                = 0
mprotect(0x40334000, 4096, PROT_READ)   = 0
munmap(0x40017000, 24400)               = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1274, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
-1, 0) = 0x40017000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1274
close(3)                                = 0
munmap(0x40017000, 4096)                = 0
access("/usr/local/libexec/dovecot/imap", X_OK) = 0
access("/etc/ssl/certs/dovecot.pem", R_OK) = 0
access("/etc/ssl/private/dovecot.pem", R_OK) = 0
getegid32()                             = 0
lstat64("/usr/local/var/run/dovecot", {st_mode=S_IFDIR|0700,  
st_size=4096, ...}) = 0
open("/usr/local/var/run/dovecot", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
close(3)                                = 0
lstat64("/usr/local/var/run/dovecot", {st_mode=S_IFDIR|0700,  
st_size=4096, ...}) = 0
open(".", O_RDONLY|O_LARGEFILE)         = 3
open("/usr/local/var/run/dovecot/login", O_RDONLY|O_LARGEFILE| 
O_NOFOLLOW) = 4
fchdir(4)                               = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not  
a directory)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 2 entries */, 4096)    = 48
getdents64(5, /* 0 entries */, 4096)    = 0
close(4)                                = 0
close(5)                                = 0
fchdir(3)                               = 0
close(3)                                = 0
lstat64("/usr/local/var/run/dovecot/login", {st_mode=S_IFDIR|0750,  
st_size=4096, ...}) = 0
open("/usr/local/var/run/dovecot/login", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
close(3)                                = 0
lstat64("/usr/local/var/run/dovecot/login", {st_mode=S_IFDIR|0750,  
st_size=4096, ...}) = 0
access("/usr/local/libexec/dovecot/imap-login", X_OK) = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1274, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
-1, 0) = 0x40017000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1274
close(3)                                = 0
munmap(0x40017000, 4096)                = 0
access("/usr/local/libexec/dovecot/dovecot-auth", X_OK) = 0
open("/dev/null", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
dup(3)                                  = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(143), sin_addr=inet_addr 
("0.0.0.0")}, 16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(143),  
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
listen(5, 8)                            = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(5, F_GETFD)                     = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
bind(6, {sa_family=AF_INET, sin_port=htons(993), sin_addr=inet_addr 
("0.0.0.0")}, 16) = 0
getsockname(6, {sa_family=AF_INET, sin_port=htons(993),  
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
listen(6, 8)                            = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
dup2(4, 0)                              = 0
dup2(4, 1)                              = 1
dup2(4, 2)                              = 2
fork()                                  = 8519
exit_group(0)                           = ?


More information about the dovecot mailing list