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...
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users