Cannot load modules/mod_ssl.so into server: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found

Solution Verified - Updated -

Issue

After configured jbcs-httpd24-httpd-2.4.23-RHEL7-x86_64.zip as RHEL 7 service according to KCS, command # systemctl start jbcs.service failed to start, error shows:

httpd: Syntax error on line 115 of /home/abc/jbcs-httpd24-2.4/httpd/conf/httpd.conf: Syntax error on line 1 of /home/abc/jbcs-httpd24-2.4/httpd/conf.modules.d/00-ssl.conf: Cannot load modules/mod_ssl.so into server: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /home/abc/jbcs-httpd24-2.4/httpd/modules/mod_ssl.so)

The files used are /home/abc/jbcs-httpd24-2.4/httpd/httpd24.env:

HTTPD='/home/abc/jbcs-httpd24-2.4/httpd/sbin/httpd'
OPTIONS="-f /home/abc/jbcs-httpd24-2.4/httpd/conf/httpd.conf -E /home/abc/jbcs-httpd24-2.4/httpd/logs/httpd.log"
export LD_LIBRARY_PATH=/home/abc/jbcs-httpd24-2.4/httpd/lib
STATUSURL="http://localhost:80/server-status"

And /etc/systemd/system/jbcs.service:

[Unit]
Description=The jbcs-httpd24-2.4 Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=notify
EnvironmentFile=/home/abc/jbcs-httpd24-2.4/httpd/httpd24.env
ExecStart=/home/abc/jbcs-httpd24-2.4/httpd/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/home/abc/jbcs-httpd24-2.4/httpd/sbin/httpd $OPTIONS -k graceful
ExecStop=/bin/kill -WINCH ${MAINPID}
KillSignal=SIGCONT
PrivateTmp=true

[Install]
WantedBy=multi-user.target

Environment

  • Red Hat JBoss Core Services (JBCS)
    • Apache httpd server 2.4.6
    • Apache httpd server 2.4.23
  • Red Hat Enterprise Linux (RHEL)
    • 7.x

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.