24 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courierfilterd an...
FromSent OnAttachments
Samuel PennJun 26, 2004 6:38 am 
Samuel PennJun 26, 2004 9:21 am 
Arturo "Buanzo" BusleimanJun 26, 2004 9:31 am 
Samuel PennJun 26, 2004 11:55 am 
Sam VarshavchikJun 26, 2004 12:16 pm 
Samuel PennJun 26, 2004 2:01 pm 
Sam VarshavchikJun 26, 2004 2:23 pm 
Samuel PennJun 26, 2004 3:10 pm 
Sam VarshavchikJun 26, 2004 4:54 pm 
Samuel PennJun 27, 2004 1:11 am 
Samuel PennJun 27, 2004 2:05 am 
Eric N. ValorJul 15, 2004 1:28 am 
Sam VarshavchikJul 15, 2004 4:05 am 
Eric N. ValorJul 15, 2004 9:11 am 
Eric N. ValorJul 15, 2004 12:29 pm 
Eric N. ValorJul 15, 2004 1:56 pm 
Sam VarshavchikJul 15, 2004 3:46 pm 
Eric N. ValorJul 15, 2004 5:30 pm 
Sam VarshavchikJul 15, 2004 6:19 pm 
Phillip HutchingsJul 15, 2004 6:21 pm 
James N. HartJul 15, 2004 6:49 pm 
Eric N. ValorJul 15, 2004 7:06 pm 
Sam VarshavchikJul 15, 2004 7:47 pm 
Eric N. ValorJul 17, 2004 1:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] courierfilterd and authdaemon problemsActions...
From:Samuel Penn (sa@bifrost.demon.co.uk)
Date:Jun 26, 2004 9:21:38 am
List:net.sourceforge.lists.courier-users

On Saturday 26 June 2004 14:35, Samuel Penn wrote:

First, if I try to start things from the init script, things seem to hang when starting courierfilterd:

Misreading the Gentoo init script, it's actually authdaemon that's hanging. There's a /usr/lib/courier/authlib/authdaemond.plain, which is hanging from /etc/init.d/courier.

There's also a /usr/lib/courier-imap/authlib/authdaemond.plain which is successfully started (with 5 children) from /etc/init.d/authdaemond.

Not entirely sure what the difference between the two versions of authdaemond are (they're different sizes). If I run the problem causing one with strace, I get the following just before it hangs:

execve("/usr/sbin/courierlogger", ["/usr/sbin/courierlogger", "-pid=/var/lib/courier/authdaemon"..., "-start", "/usr/lib/courier/authlib/authdae"...], [/* 22 vars */]) = 0 uname({sys="Linux", node="wotan", ...}) = 0 brk(0) = 0x804a000 open("/etc/ld.so.preload", 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=15692, ...}) = 0 mmap2(NULL, 15692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 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\240Y\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1182424, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 mmap2(NULL, 1112068, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000 mmap2(0x40122000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x109) = 0x40122000 mmap2(0x40125000, 10244, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0x40125000 close(3) = 0 munmap(0x40013000, 15692) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "\255\225\352\331", 4) = 4 close(3) = 0 socket(PF_UNIX, SOCK_DGRAM, 0) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 connect(3, {sa_family=AF_UNIX, path="/dev/log"}, 16) = -1 EPROTOTYPE (Protocol wrong type for socket) close(3) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 connect(3, {sa_family=AF_UNIX, path="/dev/log"}, 16) = 0 close(1) = 0 close(2) = 0 open("/dev/null", O_WRONLY) = 1 open("/dev/null", O_WRONLY) = 2 chdir("/") = 0 fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(0,