https://bz.apache.org/bugzilla/show_bug.cgi?id=58141
Bug ID: 58141
Summary: Apache Service doesn't start when rotatlogs.exe path
contains spaces
Product: Apache httpd-2
Version: 2.2.29
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_log_config
Assignee: [email protected]
Reporter: [email protected]
Apache Service doesn't start when rotatlogs.exe path contains spaces
When I install Apache under d:/t e s t/
the CustomLog looks like this:
CustomLog "||d:/t e s t/apache/bin/rotatelogs.exe -f d:/t e s
t/apache/logs/access.%Y-%m-%d.log 86400" common
Then when I start the Apache service, it reports the following error:
The Apache service named reported the following error:
>>> (OS 2)The system can not find the file specified. : Couldn't start
>>> ErrorLog process .
The Apache service named reported the following error:
>>> Unable to open logs .
without the spaces in the Path it works with no errors.
I have already tried the following:
CustomLog "||"d:/t e s t/apache/bin/rotatelogs.exe" -f "d:/t e s
t/apache/logs/access.%Y-%m-%d.log" 86400" common
CustomLog "||'d:/t e s t/apache/bin/rotatelogs.exe' -f 'd:/t e s
t/apache/logs/access.%Y-%m-%d.log' 86400" common
CustomLog "||d:/t\ e\ s\ t/apache/bin/rotatelogs.exe -f d:/t\ e\ s\
t/apache/logs/access.%Y-%m-%d.log 86400" common
CustomLog "||"d:/t\ e\ s\ t/apache/bin/rotatelogs.exe" -f "d:/t\ e\ s\
t/apache/logs/access.%Y-%m-%d.log" 86400" common
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]