I try to detail the problem(I have some more information):
The error:
Jul 8 10:46:03 mail68 imap[24978]: cannot connect to saslauthd server: No such file or directory
What I have tryed to debug the problem: 1) imapd.conf contains a line : "saslauthd_path:/var/state/saslauthd"
2) Saslauthd is running and I have the directory /var/state/saslauthd with a file mux in it.
3) When I try the command: "echo 1 > /var/state/saslauthd/mux", the error is bash: /var/state/saslauthd/mux: No such device or address
4) When I start cyrus I have a error(I don't know if is related with the insuccesfull login):
master[28489]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
5) When I do "strace /usr/cyrus/bin/master -f -v" the output is:
open("/etc/imapd.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1439, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "postmaster: postmaster\nconfigdir"..., 4096) = 1439
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
close(0) = 0
open("/dev/null", O_RDWR) = 0
close(1) = 0
open("/dev/null", O_RDWR) = 1
close(2) = 0
open("/dev/null", O_RDWR) = 2
close(3) = 0
dup(0) = 3
close(4) = -1 EBADF (Bad file descriptor)
dup(0) = 4
setrlimit(RLIMIT_NOFILE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = -1 EPERM (Operation not permitted)
time([1089283367]) = 1089283367
open("/etc/localtime", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(6, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0"..., 4096) = 798
close(6) = 0
munmap(0x40018000, 4096) = 0
getpid() = 28542
rt_sigaction(SIGPIPE, {0x40316ea0, [], SA_RESTORER, 0x40259718}, {SIG_DFL}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
connect(6, {sa_family=AF_UNIX, path="/dev/log"}, 16) = 0
send(6, "<179>Jul 8 13:42:47 master[2854"..., 114, 0) = 114
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
time([1089283367]) = 1089283367
getpid() = 28542
rt_sigaction(SIGPIPE, {0x40316ea0, [], SA_RESTORER, 0x40259718}, {SIG_DFL}, 8) = 0
send(6, "<179>Jul 8 13:42:47 master[2854"..., 68, 0) = 68
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/var/run/cyrus-master.pid", O_RDWR|O_CREAT, 0644) = 8
fcntl64(8, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN (Resource temporarily unavailable)
write(-1, "G\0\0\0", 4) = -1 EBADF (Bad file descriptor)
time([1089283367]) = 1089283367
getpid() = 28542
rt_sigaction(SIGPIPE, {0x40316ea0, [], SA_RESTORER, 0x40259718}, {SIG_DFL}, 8) = 0
send(6, "<178>Jul 8 13:42:47 master[2854"..., 107, 0) = 107
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1089283367]) = 1089283367
getpid() = 28542
rt_sigaction(SIGPIPE, {0x40316ea0, [], SA_RESTORER, 0x40259718}, {SIG_DFL}, 8) = 0
send(6, "<181>Jul 8 13:42:47 master[2854"..., 43, 0) = 43
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
exit_group(71) = ?
Thank you.
--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html