On Sun, May 26, 2002 at 06:02:07PM +0300, Jarno Elonen wrote:
> Hi,
> 
> I get daily error from exim (and some other packages, but mainly exim):
> 
>  /bin/sh: root: command not found
>  /etc/cron.daily/exim:
>  failed to open database lock file /var/spool/exim/db/retry.lockfile:
>   Permission denied (euid=1000 egid=50) 
>   failed to open database lock file
>   /var/spool/exim/db/wait-remote_smtp.lockfile: Permission denied (euid=1000 
>   egid=50)
>  run-parts: /etc/cron.daily/exim exited with return code 1
> 
> Any ideas on what might cause this? It looks a bit as if it couldn't run as 
> root and was therefore failing to open some file. Are there any handy ways to 
> debug cron jobs?

Make sure that /var/spool/exim/db is owned by mail:mail (as well as the
files in it)

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
==== Today's fortune:
If A = B and B = C, then A = C, except where void or prohibited by law.
                -- Roy Santoro

Attachment: pgpdtLWc3dSAn.pgp
Description: PGP signature

Reply via email to