Re: Exim Cron problem
On Thu, 2002-02-14 at 13:30, David Frey wrote:
> I am getting this message from cron everyday:
>
> /etc/cron.daily/exim:
> chown: getting attributes of `/var/log/exim/mainlog.new': No such file
> or directory
> chmod: getting attributes of `/var/log/exim/mainlog.new': No such file
> or directory
> mv: cannot stat `/var/log/exim/mainlog.new': No such file or directory
>
>
>
> Any idea why this is going on?
>
your /etc/cron.daily/exim file is not adapted to your way of logging
exim.
You possibly answered N, while upgrading exim, for the replacement of
this file. I fthis is the case you should have a
/etc/cron.daily/exim.dpkg* file. Just copy it to /etc/cron.daily/exim
Michel.
> /var/log/exim# ls -lh
> total 2.2M
> -rw-r----- 2 mail adm 876k Feb 14 07:23 mainlog
> -rw-r----- 2 mail adm 876k Feb 14 07:23 mainlog.0
> -rw-r----- 1 mail adm 70k Feb 14 06:23 mainlog.1.gz
> -rw-r----- 1 mail adm 55k Feb 13 06:24 mainlog.2.gz
> -rw-r----- 1 mail adm 45k Feb 12 06:23 mainlog.3.gz
> -rw-r----- 1 mail adm 39k Feb 11 06:23 mainlog.4.gz
> -rw-r----- 1 mail adm 36k Feb 10 06:23 mainlog.5.gz
> -rw-r----- 1 mail adm 33k Feb 9 06:23 mainlog.6.gz
> -rw-r----- 1 mail adm 29k Feb 8 06:23 mainlog.7.gz
> -rw-r----- 1 mail adm 25k Feb 7 06:23 mainlog.8.gz
> -rw-r----- 1 mail adm 22k Feb 6 06:23 mainlog.9.gz
> -rw-r----- 1 mail adm 0 Oct 31 06:26 rejectlog
> -rw-r----- 1 mail adm 173 Oct 30 19:35 rejectlog.0
>
>
>
> Thanks,
> David Frey
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: