atom feed13 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Error-Message wit...
FromSent OnAttachments
Michelle KonzackMay 24, 2004 1:46 am 
Tim HunterMay 24, 2004 4:41 am 
Michelle KonzackMay 24, 2004 5:55 am 
Julian MehnleMay 24, 2004 11:50 am 
Martijn LievaartMay 24, 2004 12:03 pm 
Gordon MessmerMay 24, 2004 1:07 pm 
Julian MehnleMay 24, 2004 1:07 pm 
Tim HunterMay 24, 2004 1:30 pm 
Julian MehnleMay 24, 2004 3:04 pm 
Michelle KonzackMay 25, 2004 12:17 am 
Alessandro VeselyMay 25, 2004 1:06 am 
Michelle KonzackMay 25, 2004 2:11 am 
Alessandro VeselyMay 25, 2004 7:16 am 
Subject:Re: [courier-users] Error-Message with /usr/sbin/courierfilter
From:Alessandro Vesely (ves@tana.it)
Date:May 25, 2004 7:16:39 am
List:net.sourceforge.lists.courier-users

Michelle Konzack wrote:

Am 2004-05-25 10:04:38, schrieb Alessandro Vesely:

cannot fail. Can you reproduce the failure running the program by itself?

yes

If that's possible, truss can reveal what's going on.

Sorry, I said truss but I meant strace. If you run a line like

strace -f -o dump courierfilter start

you'll get a "dump" file where system calls are traced, e.g.

[...] 12321 close(3) = 0 12321 open("/dev/null", O_RDONLY) = 3 12321 pipe([5, 6]) = 0 12321 close(3) = 0

This way, we know which is the failing instruction. Probably the open, but is it failing because it's not 3 or just cannot open /dev/null?

So I have forgoten an to activate a kernel option... But which ?

I don't compile my kernels, so I don't know if it is an option to allocate low numbered fd's first or to open character devices...