httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemant Chaudhary <hemantdude.chaudh...@gmail.com>
Subject Re: [users@httpd] Rotate logs in apache-2.4.29
Date Fri, 08 Jun 2018 13:56:37 GMT
Now its working. Earlier rotatelogs directory was not proper.

Thanks
Hemant

On Fri, Jun 8, 2018 at 7:14 PM, Yehuda Katz <yehuda@ymkatz.net> 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 <
> hemantdude.chaudhary@gmail.com> 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.
>>
>> httpd.conf:
>> CustomLog "|/bin/rotatelogs logs/httpd_log 60" combined
>>
>> error_log:
>> (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.
>>
>> Thanks
>> Hemant
>>
>

Mime
View raw message