Apache does not starting after disabling IPv6

Solution In Progress - Updated -

Issue

After disabling IPv6 interface on RHEL 7, the JBCS Apache service fails to start with the following message " (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443" as shown here:

# systemctl status jbcs-httpd24-httpd.service 
● jbcs-httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/jbcs-httpd24-httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-10-05 11:43:56 EDT; 5s ago
  Process: 18290 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 18289 ExecStart=/opt/rh/jbcs-httpd24/root/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 18289 (code=exited, status=1/FAILURE)
   Status: "Reading configuration..."

Oct 05 11:43:56 example.com systemd[1]: Starting The Apache HTTP Server...
Oct 05 11:43:56 example.com httpd[18289]: (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443
Oct 05 11:43:56 example.com httpd[18289]: no listening sockets available, shutting down
Oct 05 11:43:56 example.com httpd[18289]: AH00015: Unable to open logs
Oct 05 11:43:56 example.com systemd[1]: jbcs-httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 05 11:43:56 example.com kill[18290]: kill: cannot find process ""
Oct 05 11:43:56 example.com systemd[1]: jbcs-httpd24-httpd.service: control process exited, code=exited status=1
Oct 05 11:43:56 example.com systemd[1]: Failed to start The Apache HTTP Server.
Oct 05 11:43:56 example.com systemd[1]: Unit jbcs-httpd24-httpd.service entered failed state.
Oct 05 11:43:56 example.com systemd[1]: jbcs-httpd24-httpd.service failed.

Environment

Red Hat JBoss Core Services (JBCS).
- httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content