Description of problem: The httpd did not start with default configuration. The LD_LIBRARY PATH have to be set i.e. in /etc/init.d/httpd export LD_LIBRARY_PATH=/opt/rh/jbcs-httpd24/root/usr/lib64/ or export LD_LIBRARY_PATH=/opt/rh/jbcs-httpd24/root/usr/lib/ has to be set. After installation this error occurs: # service httpd start Starting httpd: httpd: Syntax error on line 217 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /usr/lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /etc/httpd/modules/mod_ssl.so) [FAILED] Version-Release number of selected component (if applicable): RHEL6 How reproducible: Everytime. Steps to Reproduce: 1. Execute service httpd start. Actual results: Httpd server did not start. Expected results: Httpd server will start.
LD_LIBRARY_PATH env added to init script
The RHEL7 x64 and RHEL6 x64 is fixed, but the patch did not work for RHEL6 i386, because export LD_LIBRARY_PATH=/opt/rh/jbcs-httpd24/root/usr/lib64 is not valid for 32bit RHEL.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1649.html
LD_LIBRARY_PATH env should also be added to apachectl script - in the current version it has the same issue as the httpd service ini script before patching. Including the same LD_LIBRARY_PATH export from the httpd init script into apachctl fixes the issue: test -d /opt/rh/jbcs-httpd24/root/usr/lib64 && export LD_LIBRARY_PATH=/opt/rh/jbcs-httpd24/root/usr/lib64 || export LD_LIBRARY_PATH=/opt/rh/jbcs-httpd24/root/usr/lib Version-Release number of selected component (if applicable): RHEL6 How reproducible: Everytime. Steps to Reproduce: 1. Execute: apachectl -t Actual results: apachectl will not check httpd configuration when mod_ssl is enabled - it shows the following error: httpd: Syntax error on line 226 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /usr/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /etc/httpd/modules/mod_ssl.so) Expected results: apachectl will check httpd configuration and show results