Hi,

  I'm setting up another just another random qmail server, I've done the same 
thing tons of times. This system is SLES 9, kernel 2.6.5-7.191-smp, on a dual 
[EMAIL PROTECTED] The system is 64bits and kernel too. MySQL 5.0.22. Vpopmail 
5.4.16 configured as:

./configure   --disable-roaming-users --enable-logging=v --disable-passwd   
--enable-clear-passwd   --disable-domain-quotas   --enable-auth-module=mysql   
--enable-auth-logging   --enable-sql-logging --enable-valias   
--enable-mysql-limits  --disable-many-domains --enable-mysql-replication

  Segfault after opening the rcpthosts file.

# ls -la /var/qmail/control/rcpthosts
-rw-r--r--  1 root root 8 Jul 13 08:34 /var/qmail/control/rcpthosts
# cat /var/qmail/control/rcpthosts
correo1
# strace vadddomain test.com test
execve("/bin/vadddomain", ["vadddomain", "test.com", "test"], [/* 53 vars */]) 
= 0
uname({sys="Linux", node="correo1", ...}) = 0
brk(0)                                  = 0x6c2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=102004, ...}) = 0
mmap(NULL, 102004, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9556c000
close(3)                                = 0
open("/lib64/tls/libm.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 A\0\0\0"..., 640) = 
640
fstat(3, {st_mode=S_IFREG|0755, st_size=418347, ...}) = 0
mmap(NULL, 1407192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x2a9566d000
madvise(0x2a9566d000, 1407192, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2a956c1000, 1063128, PROT_NONE) = 0
mmap(0x2a957c1000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x54000) = 0x2a957c1000
close(3)                                = 0
open("/lib64/libcrypt.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\17\0\0"..., 640) = 
640
fstat(3, {st_mode=S_IFREG|0755, st_size=48121, ...}) = 0
mmap(NULL, 1277664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x2a957c5000
madvise(0x2a957c5000, 1277664, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2a957ce000, 1240800, PROT_NONE) = 0
mmap(0x2a958cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x8000) = 0x2a958cd000
mmap(0x2a958cf000, 188128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x2a958cf000
close(3)                                = 0
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\313\1\0"..., 640) = 
640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1424617, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a958fd000
mmap(NULL, 2254664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x2a958fe000
madvise(0x2a958fe000, 2254664, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2a95a09000, 1161032, PROT_NONE) = 0
mmap(0x2a95b08000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x10a000) = 0x2a95b08000
mmap(0x2a95b21000, 14152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x2a95b21000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a95b25000
arch_prctl(ARCH_SET_FS, 0x2a95b256e0)   = 0
munmap(0x2a9556c000, 102004)            = 0
brk(0)                                  = 0x6c2000
brk(0x6e3000)                           = 0x6e3000
open("/home/vpopmail/etc/vpopmail.mysql", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0640, st_size=45, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556c000
read(3, "localhost|0|vpopmailuser|vpoppas"..., 4096) = 45
read(3, "", 4096)                       = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1291, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1291
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x2a9556d000, 4096)              = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=102004, ...}) = 0
mmap(NULL, 102004, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2a9556d000
close(4)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000%\0\0"..., 640) = 
640
fstat(4, {st_mode=S_IFREG|0755, st_size=51111, ...}) = 0
mmap(NULL, 1089128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 
0x2a95b26000
madvise(0x2a95b26000, 1089128, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2a95b2f000, 1052264, PROT_NONE) = 0
mmap(0x2a95c2e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0x8000) = 0x2a95c2e000
close(4)                                = 0
munmap(0x2a9556d000, 102004)            = 0
open("/etc/services", O_RDONLY)         = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=596446, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
read(4, "#\n# Network services, Internet s"..., 4096) = 4096
read(4, "a         20/udp    # File Trans"..., 4096) = 4096
read(4, "ical Address Maintenance\n#      "..., 4096) = 4096
read(4, "RUTGERS.EDU>\nhttp             80"..., 4096) = 4096
read(4, "       Patrick McNamee <--none--"..., 4096) = 4096
read(4, ".com>\n###########Port 126 Previo"..., 4096) = 4096
read(4, "                     Craig Roger"..., 4096) = 4096
read(4, "S\nkis             186/tcp    # K"..., 4096) = 4096
read(4, "# IPX\n#                         "..., 4096) = 4096
read(4, "    # HDAP\nhdap\t\t263/udp    # HD"..., 4096) = 4096
read(4, "men Server\nfatserv         347/u"..., 4096) = 4096
read(4, "   # TIA/EIA/IS-99 modem client\n"..., 4096) = 4096
read(4, "Support Protocol\n#              "..., 4096) = 4096
read(4, "                    Dan Flowers "..., 4096) = 4096
read(4, "d\nkpasswd         464/udp    # k"..., 4096) = 4096
read(4, "        491/udp    # go-login\n# "..., 4096) = 4096
read(4, "ormed as for login server\nsyslog"..., 4096) = 4096
read(4, "tcsrvr\n#                        "..., 4096) = 4096
read(4, "TP HEARTBEAT\n#\t\t\t   Louis Mamako"..., 4096) = 4096
read(4, "                    John Barnes "..., 4096) = 4096
read(4, "[EMAIL PROTECTED]>\nldp\t\t6"..., 4096) = 4096
read(4, "h Paul <[EMAIL PROTECTED]>\nmrm"..., 4096) = 4096
read(4, "P\n#                          Bru"..., 4096) = 4096
read(4, "p    # PKIX-3 CA/RA\n#\t\t\t   Carli"..., 4096) = 4096
read(4, "  Reserved\n# \t        1023/udp  "..., 4096) = 4096
read(4, "         Remi Lefebvre <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, "               Ying-Da Lee <ylee"..., 4096) = 4096
read(4, "     Ron Lussier <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, "tasage        1207/udp   # MetaS"..., 4096) = 4096
read(4, "ew.com>\ntsdos390        1237/tcp"..., 4096) = 4096
read(4, "den <[EMAIL PROTECTED]>\nwatilapp  "..., 4096) = 4096
read(4, "tcp   # H323 Host Call Secure\nh3"..., 4096) = 4096
read(4, "ct   1330/tcp   # StreetPerfect\n"..., 4096) = 4096
read(4, "CONNLCLI\nftsrv           1359/tc"..., 4096) = 4096
read(4, "anager\natex_elmd       1385/udp "..., 4096) = 4096
read(4, "vell-lu6.2    1416/tcp   # Novel"..., 4096) = 4096
read(4, "grated Engineering Software\n#   "..., 4096) = 4096
read(4, "udp    # Active Analysis Limited"..., 4096) = 4096
read(4, "  # rfx-lm\n#                    "..., 4096) = 4096
read(4, "  1522/udp    # Ricardo North Am"..., 4096) = 4096
read(4, "          Maxime Belanger <R173@"..., 4096) = 4096
read(4, "              Tony Cleveland <to"..., 4096) = 4096
read(4, "icense Manager\n#                "..., 4096) = 4096
read(4, "\n#                         Tom M"..., 4096) = 4096
read(4, "                      Mark Lewis"..., 4096) = 4096
read(4, "                          Paul G"..., 4096) = 4096
read(4, "bertx-lm     1734/udp    # Cambe"..., 4096) = 4096
read(4, "1761/udp    # cft-0\ncft-1       "..., 4096) = 4096
read(4, "       1792/udp    # ibm-dt-2\n# "..., 4096) = 4096
read(4, "orld.com>\nes-elmd         1822/t"..., 4096) = 4096
read(4, "o-msgsvc  1856/udp    # Fiorano "..., 4096) = 4096
read(4, "ll Thrasher <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, "                Tom Lake <tlake@"..., 4096) = 4096
read(4, "@res.nl>\nbeeyond-media   1943/tc"..., 4096) = 4096
read(4, "        1973/udp   # Data Link S"..., 4096) = 4096
read(4, "          2004/udp   # CCWS mm c"..., 4096) = 4096
read(4, "ount\nnetmount        2061/udp   "..., 4096) = 4096
read(4, "\t2092/udp   # Descent 3\n#\t\t\t   K"..., 4096) = 4096
read(4, "m>\nlockstep        2125/tcp   # "..., 4096) = 4096
read(4, "Nigel Stephens <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, " 2241/tcp   # IVS Daemon\nivsd   "..., 4096) = 4096
read(4, "tamover2  2298/tcp   # D2K DataM"..., 4096) = 4096
read(4, "APP\n#                          K"..., 4096) = 4096
read(4, "Yamazaki <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, "\n#                          Walt"..., 4096) = 4096
read(4, "[EMAIL PROTECTED]>\nspearway"..., 4096) = 4096
read(4, " # Aker-cdp\naker-cdp\t2473/udp   "..., 4096) = 4096
read(4, " <[EMAIL PROTECTED]>"..., 4096) = 4096
read(4, "ook <[EMAIL PROTECTED]>\nsis-emt\t"..., 4096) = 4096
read(4, "utary\ntributary\t2580/udp   # Tri"..., 4096) = 4096
read(4, " Context Managers\ncmadmin\t\t2617/"..., 4096) = 4096
read(4, "hPanel\ninterpathpanel\t2652/udp  "..., 4096) = 4096
read(4, "p   # ITInternet ISM Server\n#\t\t\t"..., 4096) = 4096
read(4, "727/udp   # Media Gateway Contro"..., 4096) = 4096
read(4, " Compaq SCP\n#\t\t\t   Ferruccio Bar"..., 4096) = 4096
read(4, "@ntc.adaptec.com>\nigcp\t\t2801/tcp"..., 4096) = 4096
read(4, "hawk\n#\t\t\t   Dolores Scott <dolor"..., 4096) = 4096
read(4, "ynapse\t\t2880/udp   # Synapse Tra"..., 4096) = 4096
read(4, "ovsky <[EMAIL PROTECTED]>\nboosterwa"..., 4096) = 4096
read(4, "om>\nmegaco-h248     2944/tcp   #"..., 4096) = 4096
read(4, " Management Service\n#\t\t\t   Hirok"..., 4096) = 4096
read(4, "r\n#                          Tim"..., 4096) = 4096
read(4, "eppc            3031/tcp   # Rem"..., 4096) = 4096
read(4, "rserver\n#\t\t\t   Madhukar N. Thaku"..., 4096) = 4096
read(4, "92/tcp   # Netware sync services"..., 4096) = 4096
read(4, " # D2000 Webserver Port\n#       "..., 4096) = 4096
read(4, "ator\nnm-game-server\t3149/tcp   #"..., 4096) = 4096
read(4, "   Sri Subramaniam <[EMAIL PROTECTED]"..., 4096) = 4096
read(4, "POP Proxy\nironmail        3206/u"..., 4096) = 4096
read(4, "                  Peter Ijkhout "..., 4096) = 4096
read(4, "002\nivecon-port     3258/tcp   #"..., 4096) = 4096
read(4, "irectvdata\t3287/udp   # DIRECTVD"..., 4096) = 4096
close(4)                                = 0
munmap(0x2a9556d000, 4096)              = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl(4, F_SETFL, O_RDONLY)             = 0
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(4, {sa_family=AF_FILE, path="/tmp/mysql.sock"}, 110) = 0
fcntl(4, F_SETFL, O_RDWR)               = 0
setsockopt(4, SOL_IP, IP_TOS, [30364662868475912], 4) = -1 EOPNOTSUPP 
(Operation not supported)
setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [18883729954963457], 4) = 0
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 2000) = 1
read(4, "<\0\0\0\n5.0.22-max-log\0<\0\0\0ZW\'Xi(&("..., 16384) = 64
stat("/usr/local/mysql/share/mysql/charsets/Index.xml", {st_mode=S_IFREG|0640, 
st_size=18221, ...}) = 0
open("/usr/local/mysql/share/mysql/charsets/Index.xml", O_RDONLY) = 5
read(5, "<?xml version=\'1.0\' encoding=\"ut"..., 18221) = 18221
close(5)                                = 0
write(4, "[EMAIL PROTECTED]"..., 70) = 
70
read(4, "\1\0\0\2\376", 16384)          = 5
write(4, "\t\0\0\3MMWCMQHL\0", 13)      = 13
read(4, "\7\0\0\4\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\t\0\0\0\2vpopmail", 13)      = 13
read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
open("/var/qmail/users/cdb", O_RDONLY)  = 5
lseek(5, 640, SEEK_SET)                 = 640
read(5, "\30\10\0\0\0\0\0\0", 8)        = 8
close(5)                                = 0
open("/var/qmail/users/cdb", O_RDONLY)  = 5
lseek(5, 640, SEEK_SET)                 = 640
read(5, "\30\10\0\0\0\0\0\0", 8)        = 8
close(5)                                = 0
umask(077)                              = 022
getcwd("/var/qmail/users", 300)         = 17
chdir("/home/vpopmail")                 = 0
chdir("domains")                        = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5
fcntl(5, F_SETFL, O_RDONLY)             = 0
fcntl(5, F_GETFL)                       = 0x2 (flags O_RDWR)
connect(5, {sa_family=AF_FILE, path="/tmp/mysql.sock"}, 110) = 0
setsockopt(5, SOL_IP, IP_TOS, [30375383106846728], 4) = -1 EOPNOTSUPP 
(Operation not supported)
setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [18883729954963457], 4) = 0
read(5, "<\0\0\0\n5.0.22-max-log\0=\0\0\0P]`J5e~m"..., 16384) = 64
write(5, "[EMAIL PROTECTED]"..., 79) = 
79
read(5, "\1\0\0\2\376", 16384)          = 5
write(5, "\t\0\0\3ZVRHDNJ_\0", 13)      = 13
read(5, "\7\0\0\4\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\365\0\0\0\3select cur_users, level_cur"..., 249) = 249
read(5, "\1\0\0\1\20F\0\0\2\3def\10vpopmail\vdir_contr"..., 16384) = 1289
brk(0x705000)                           = 0x705000
brk(0x703000)                           = 0x703000
brk(0x6ff000)                           = 0x6ff000
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\1\0\0\0\16", 5)              = 5
read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "2\1\0\0\3replace into dir_control ( "..., 310) = 310
read(4, "\7\0\0\1\0\2\0\2\0\0\0", 16384) = 11
mkdir("test.com", 0750)                 = 0
chown("test.com", 89, 89)               = 0
stat("test.com", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
chdir("test.com")                       = 0
open("/home/vpopmail/domains/test.com/.qmail-default", O_RDWR|O_CREAT|O_TRUNC, 
0666) = 6
fstat(6, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
write(6, "| /home/vpopmail/bin/vdelivermai"..., 55) = 55
close(6)                                = 0
munmap(0x2a9556d000, 4096)              = 0
stat("/var/qmail/users/assign", {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
open("/var/qmail/users/assign.lock", O_WRONLY|O_CREAT, 034) = 6
fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
getpid()                                = 24739
open("/var/qmail/users/assign.24739", O_RDWR|O_CREAT|O_TRUNC, 0666) = 7
open("/var/qmail/users/assign", O_RDWR) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
read(8, ".\n", 4096)                    = 2
read(8, "", 4096)                       = 0
fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556e000
close(8)                                = 0
munmap(0x2a9556d000, 4096)              = 0
write(7, "+test.com-:test.com:89:89:/home/"..., 64) = 64
close(7)                                = 0
munmap(0x2a9556e000, 4096)              = 0
rename("/var/qmail/users/assign.24739", "/var/qmail/users/assign") = 0
fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(6)                                = 0
chmod("/var/qmail/users/assign", 0644)  = 0
vfork()                                 = 24742
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24742
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/var/qmail/control/rcpthosts", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
read(6, "correo1\n", 4096)              = 8
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x2a9556d000, 4096)              = 0
open("/var/qmail/control/rcpthosts.lock", O_WRONLY|O_CREAT, 041) = 6
fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/qmail/control/rcpthosts.24739", O_RDWR|O_CREAT|O_TRUNC, 0666) = 7
open("/var/qmail/control/rcpthosts", O_RDWR) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2a9556d000
read(8, "correo1\n", 4096)              = 8
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Reply via email to