Re: Rotate logs in apache-2.4.29

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

 



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@xxxxxxxxx> 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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux