4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Unhelpful Error Log
FromSent OnAttachments
jam...@bearden.comMar 19, 2001 12:50 pm 
Daniel BiddleMar 19, 2001 1:09 pm 
Sam VarshavchikMar 19, 2001 2:39 pm 
Marc HaberMar 24, 2001 1:05 pm 
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] Unhelpful Error LogActions...
From:Daniel Biddle (del@osian.net)
Date:Mar 19, 2001 1:09:59 pm
List:net.sourceforge.lists.courier-users

On 19 Mar 2001 jam@bearden.com wrote:

Hello,

After fixing courier.spec (thank you who posted the Mandrake solution!) and generating the RPMs, everything seemed to go smoothly. However, perusing /var/log/mail/errors this message is repeated over and over:

Mar 19 14:54:58 nexus courierd: No such file or directory Mar 19 14:54:58 nexus last message repeated 4 times Mar 19 14:54:58 nexus courierd: ABNORMAL TERMINATION, exit status: 1 Mar 19 14:54:58 nexus courierd: Will restart in 60 seconds.

Lovely. I already fixed one problem where courierd was looking for module.uucp in /usr/lib/courier/etc, which I fixed by creating a symlink to /etc/courier.

So, can anybody hazard a guess what files or directories courierd is looking for, or suggest a way I can find out?

Why, my favorite diagnostic tool strace, of course.

Find the PID of courierd (e.g. with pstree -pu) then replace 12345 with it in the following:

strace -p 12345 -ff -tt -o courierd.strace

Wait 60 seconds or until you know the error has occurred, then stop strace and search courierd.strace for ENOENT.

hope this helps,