[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim sending errors to root



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?

Probably root's crontab (the one set up by calling /usr/bin/crontab) is
causing this. Note that that crontab's format is different than the one
in /etc/crontab (or /etc/cron.d/*). (therefore cron tries to call a
'root' command, which doesn't exist).

Marcin
-- 
Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: