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.chaudh...@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 >