Problem: saslpasswd -> Segmention fault

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
_flo_
Posts: 23
Joined: 2002-07-15 20:47

Problem: saslpasswd -> Segmention fault

Post by _flo_ » 2003-06-20 22:23

Hallo zusammen,

ich habe das Problem das ich nun die SASL-lib installiert habe um mein Postfix mit Smtp Auth zu nutzen.
Soweit sogut, leider kann ich per saslpasswd -c Username keine User anlegen.

Ich werde noch aufgefordert das Passwort einzugeben und dieses dann auch nochmal zu bestätigen, aber dann kommt nur noch die Fehlermeldung "Segmention fault" und der User wird nocht angelegt.

Installiert wurde SASL-lib 1.5.27 stable auf nem Debian Woody System

Kennt jemand das Problem und hat mir da zufällig die Lösung ??

Grüßle
Flo

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Problem: saslpasswd -> Segmention fault

Post by captaincrunch » 2003-06-21 14:21

Probier's mal mit strace saslpasswd -c dann siehst du u.U., wo's hapert.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

_flo_
Posts: 23
Joined: 2002-07-15 20:47

Re: Problem: saslpasswd -> Segmention fault

Post by _flo_ » 2003-06-21 14:50

hmmmmm

also mit der Ausgabe kann ich ehrlich gesagt genausowenig anfangen...

Code: Select all

idefix:~# strace saslpasswd -c user
execve("/usr/local/sbin/saslpasswd", ["saslpasswd", "-c", "user"], [/* 13 vars */]) = 0
uname({sys="Linux", node="idefix.future-systems.de", ...}) = 0
brk(0)                                  = 0x804a304
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/libsasl.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx", 0xbffff184) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libsasl.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686", 0xbffff184) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/libsasl.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx", 0xbffff184) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libsasl.so.7", O_RDONLY) = 3
read(3, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\020 \0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=167274, ...}) = 0
old_mmap(NULL, 40604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000
mprotect(0x4001d000, 3740, PROT_NONE)   = 0
old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x4001d000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=10678, ...}) = 0
old_mmap(NULL, 10678, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\0T27\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=8008, ...}) = 0
old_mmap(NULL, 11004, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40023000, 2812, PROT_NONE)   = 0
old_mmap(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40023000
close(3)                                = 0
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\0320t\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=19136, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40024000
old_mmap(NULL, 182044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40025000
mprotect(0x4002a000, 161564, PROT_NONE) = 0
old_mmap(0x4002a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4002a000
old_mmap(0x4002b000, 157468, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4002b000
close(3)                                = 0
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\0300'\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=56480, ...}) = 0
old_mmap(NULL, 65312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40052000
mprotect(0x4005f000, 12064, PROT_NONE)  = 0
old_mmap(0x4005f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x4005f000
old_mmap(0x40060000, 7968, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40060000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\030222"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40062000
mprotect(0x40175000, 40160, PROT_NONE)  = 0
old_mmap(0x40175000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x40175000
old_mmap(0x4017b000, 15584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017b000
close(3)                                = 0
munmap(0x4001e000, 10678)               = 0
brk(0)                                  = 0x804a304
brk(0x804a32c)                          = 0x804a32c
brk(0x804b000)                          = 0x804b000
open("/usr/lib/sasl/saslpasswd.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/lib/sasl", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
brk(0x804d000)                          = 0x804d000
getdents64(0x3, 0x804a410, 0x1000, 0x2) = 640
open("/usr/lib/sasl/libcrammd5.so", O_RDONLY) = 4
read(4, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\030010"..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=52953, ...}) = 0
old_mmap(NULL, 13112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4017f000
mprotect(0x40182000, 824, PROT_NONE)    = 0
old_mmap(0x40182000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x2000) = 0x40182000
close(4)                                = 0
open("/usr/lib/sasl/libanonymous.so", O_RDONLY) = 4
read(4, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\00007\0"..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=47364, ...}) = 0
old_mmap(NULL, 8676, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001e000
mprotect(0x40020000, 484, PROT_NONE)    = 0
old_mmap(0x40020000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x40020000
close(4)                                = 0
open("/usr/lib/sasl/libplain.so", O_RDONLY) = 4
read(4, "177ELF111\0\0\0\0\0\0\0\0\03\03\01\0\0\0p7\0\000"..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=47707, ...}) = 0
old_mmap(NULL, 10544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40183000
mprotect(0x40185000, 2352, PROT_NONE)   = 0
old_mmap(0x40185000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x40185000
close(4)                                = 0
getdents64(0x3, 0x804a410, 0x1000, 0x2) = 0
close(3)                                = 0
uname({sys="Linux", node="idefix.future-systems.de", ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40186000
write(1, "Password: ", 10Password: )              = 10
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon -echo ...}) = 0
read(0,
"testn", 2048)                 = 5
ioctl(0, SNDCTL_TMR_START, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
write(1, "Again (for verification): ", 26Again (for verification): ) = 26
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon -echo ...}) = 0
read(0,
"testn", 2048)                 = 5
ioctl(0, SNDCTL_TMR_START, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
idefix:~#
weißt du was das zu bedeuten hat ?