apache's rotatelogs, solved

m.roth2006 at rcn.com m.roth2006 at rcn.com
Tue Oct 23 21:42:50 UTC 2007

Sorry to have posted, a guy at work had a thought, and the answer was that unlike the man page at the apache website shows, it wants the full, true path (e.g., /usr/local/apache2/bin/rotatelogs, not just from where apache's running (|bin/rotatelogs)


---- Original message ----
>Date: Tue, 23 Oct 2007 17:29:21 -0400 (EDT)
>From: <m.roth2006 at rcn.com>  
>Subject: apache's rotatelogs  
>To: redhat-list at redhat.com
>Well, I've been trying to use it. I think I've got the syntax correct, and httpd -t reports syntax ok, but when I try to run it, it complains 
>(2)No such file or directory: Couldn't start ErrorLog process
>and that's after I made the directory world-writable.
>The directive is:
> ErrorLog "|bin/rotatelogs /path/to/logs/httpd/error_log1 86400"
>I've been googling, and find people asking this question, but no answers.
>        mark "clues for the poor?"

More information about the redhat-list mailing list