apache's rotatelogs, solved



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)

mark

---- Original message ----
Date: Tue, 23 Oct 2007 17:29:21 -0400 (EDT)
From: <m.roth2006@xxxxxxx>
Subject: apache's rotatelogs
To: redhat-list@xxxxxxxxxx

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?"

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages