How to configure rotatelog in Apache httpd on Windows?

Solution Verified - Updated -

Issue

  • When Apache httpd is started with rotatelogs as shown in below configuration, Apache httpd fails to start with below error message:
(OS 2)The system cannot find the file specified.  : AH00089: Couldn't start ErrorLog process 'D:/JBCS_HOME/sbin/rotatelogs  D:/JBCS_HOME/var/log/httpd/error_log.%Y-%m-%d 25M'

Environment

  • Red Hat JBoss Core Services Apache HTTP Server (JBCS)
    • Apache 2.4.23
  • Microsoft Windows
    • 2012 R2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.