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

Re: [users@httpd] Rotate logs in apache-2.4.29

Now its working. Earlier rotatelogs directory was not proper.


On Fri, Jun 8, 2018 at 7:14 PM, Yehuda Katz <yehuda@xxxxxxxxxx> wrote:
Is rotatelogs actually located in /bin/ ?

On my REHL 7 system, it is located in /usr/sbin/
On Ubuntu 16.04, it is located in /usr/bin/

- Y

On Fri, Jun 8, 2018 at 5:11 AM Hemant Chaudhary <> wrote:
Hi All,

I am trying to use rotatelogs in my webserver, but unable to do that. Please help me to know where I am going wrong. 

CustomLog "|/bin/rotatelogs logs/httpd_log 60" combined

(4002)No such file or directory: AH00104: unable to start piped log program ' /bin/rotatelogs /logs/httpd_log 60'
AH00015: Unable to open logs

I tired for access_log too. But getting the same error.