-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
httpd 2.4.29 GA
-
None
-
-
-
-
-
-
?
-
Workaround Exists
-
-
JBCS 2.4.29 GA archive for Windows OS does not start since its pointing to wrong SERVER_CONFIG_FILE
Steps to reproduce :
- Extracted "jbcs-httpd24-httpd-2.4.29-win6.x86_64.zip" downloaded from RedHat Customer portal and performed below steps :
~~~~~~~~~
C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc>call .postinstall.httpd.bat
C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k stop
The 'Apache2.4' service is not started.
C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k start
httpd.exe: Could not open configuration file C:/Users/Administrator/Desktop/jbcs-httpd24-httpd-2.4.29-win6.x86_64/jbcs-httpd24-2.4/conf/httpd.conf: The system cannot find the path specified.
~~~~~~~~~
- Workaround for this as of now is using the command to point to the correct configuration file as below :
~~~~~~~~~
httpd.exe -k start -f "C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc\httpd\conf\httpd.conf"
~~~~~~~~~
This is a change in behavior where httpd.exe now looks for its httpd.conf file is a new location, yet the htpd.conf file is still extracted to / installed in the same old location. It can be confirmed by running the "httpd -V" command:
~~~~~~~~~
Results of "httpd -V" with Apache httpd 2.4.23:
Server compiled with...
-D SERVER_CONFIG_FILE="etc/httpd/conf/httpd.conf"
Results of "httpd -V" with Apache httpd 2.4.29:
Server compiled with...
-D SERVER_CONFIG_FILE="conf/httpd.conf"
~~~~~~~~~
- duplicates
-
JBCS-609 Httpd.exe configtest contains incorrect path
- Closed