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

[no subject]

I ocassionally get emails like the below... ideas?

>Subject: Cron <root@zachs> run-parts /etc/cron.daily
>X-Cron-Env: <SHELL=/bin/sh>
>X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
>X-Cron-Env: <HOME=/home/root>
>X-Cron-Env: <LOGNAME=root>
>run-parts: /etc/cron.daily/apache exited with return code 1

dpkg says:

ii  apache          1.1.3-6        Highly versatile, high-performance HTTP serv

/etc/cron.daily/apache looks like:

>#! /bin/sh
># apache        Rotate the apache logsfiles daily.
>[ -d /var/log/apache/. ] || exit 0
>umask 022
># Take care of the standard logfiles.
>cd /var/log/apache
>##### dont rotate the access log, just the error log (keeping stats with analog)
>#if [ -f access.log ]
>#  savelog -c 7 access.log > /dev/null
>#   touch /tmp/access.log
>if [ -f error.log ]
>  savelog -c 7 error.log > /dev/null
># Send a reload signal to the apache server.
>if [ -f /var/run/apache/apache.pid ]
>  kill -1 `cat /var/run/apache/apache.pid` 2>/dev/null

It's intermittent, but when it happens, apache fails to restart correctly.



TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: