WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

when i doing log rotation in IHS i am getting following error?

  • 1.  when i doing log rotation in IHS i am getting following error?

    Posted Fri April 26, 2013 08:04 AM
    i have opened the httpd.conf file under conf and i have commentd on
    #CustomLog logs/access.log common
    and added folloowing parameters to it,
    CustomLog "|C:\IBM HTTP Server\bin\rotatelogs.exe -l C:\IBM HTTP Server\logs\access%Y_%m_%d_%H_%M_%S.log 10" common

    and then i saved httpd.conf file and when restarting the IHS webserver i am getting the following error.

    C:\IBM HTTP Server\bin>Apache.exe -k start
    unable to start piped log program 'C:/IBM HTTP Server/bin/rotatelogs.exe -l C:/I
    BM HTTP Server/logs/access%Y_%m_%d_%H_%M_%S.log 10': The system cannot find the
    file specified.
    Unable to open logs could any one rectify this error.