Unable to restart httpd service on IPA server

Solution Verified - Updated -

Issue

  • Restarting IPA service using ipactl restart fails and systemctl status ipa.service shows:
root@ipa-server:/root> systemctl status ipa.service
ipa.service - Identity, Policy, Audit
   Loaded: loaded (/usr/lib/systemd/system/ipa.service; enabled)
   Active: failed (Result: exit-code) since Mon 2017-04-03 10:47:46 IST; 10min ago
  Process: 19844 ExecStart=/usr/sbin/ipactl start (code=exited, status=1/FAILURE)
 Main PID: 19844 (code=exited, status=1/FAILURE)

Apr 03 10:47:44 ipa-server ipactl[19844]: Shutting down
Apr 03 10:47:46 ipa-server ipactl[19844]: Aborting ipactl
Apr 03 10:47:46 ipa-server ipactl[19844]: Starting Directory Service
Apr 03 10:47:46 ipa-server ipactl[19844]: Starting krb5kdc Service
Apr 03 10:47:46 ipa-server ipactl[19844]: Starting kadmin Service
Apr 03 10:47:46 ipa-server ipactl[19844]: Starting ipa_memcached Service
Apr 03 10:47:46 ipa-server ipactl[19844]: Starting httpd Service   <---------
Apr 03 10:47:46 ipa-server systemd[1]: ipa.service: main process exited, code=exited, status=1/FAILURE
Apr 03 10:47:46 ipa-server systemd[1]: Failed to start Identity, Policy, Audit.
Apr 03 10:47:46 ipa-server systemd[1]: Unit ipa.service entered failed state
  • Restarting httpd service manually on IPA server fails and systemctl status httpd.service shows:
root@ipa-server:/root> systemctl status httpd.service
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
   Active: failed (Result: exit-code) since Mon 2017-04-03 10:47:44 IST; 10min ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 19991 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 19986 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 19986 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/httpd.service

Apr 03 10:47:43 ipa-server systemd[1]: Starting The Apache HTTP Server...
Apr 03 10:47:43 ipa-server httpd[19986]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
Apr 03 10:47:44 ipa-server systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Apr 03 10:47:44 ipa-server kill[19991]: kill: cannot find process ""
Apr 03 10:47:44 ipa-server systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 03 10:47:44 ipa-server systemd[1]: Failed to start The Apache HTTP Server.
Apr 03 10:47:44 ipa-server systemd[1]: Unit httpd.service entered failed state.
Apr 03 10:47:44 ipa-server systemd[1]: Stopped The Apache HTTP Server.

Environment

  • Red Hat Enterprise Linux 7
  • 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