capsule-installer fails to start httpd when puppet, realm, tftp, and dhcp are turned on.

Solution Verified - Updated -

Issue

  • capsule-installer fails to start httpd service.
capsule-installer --parent-fqdn          "satellite.example.com"\
                    --register-in-foreman  "true"\
                    --foreman-oauth-key    "xxxxxxxxxxxxxxxxxxxxx"\
                    --foreman-oauth-secret "xxxxxxxxxxxxxxxxxxxxx"\
                    --pulp-oauth-secret    "xxxxxxxxxxxxxxxxxxxxxxx"\
                    --certs-tar            "/root/satellite.example.com-certs.tar"\
                    --puppet               "true"\
                    --puppetca             "false"\
                    --pulp                 "false"\
                    --dhcp                 "true"\
                    --dhcp-gateway         "10.xx.xx.x"\
                    --dhcp-nameservers     "10.xx.xx.xx"\
                    --dhcp-range           "10.xx.xx.xx 10.xx.xx.xx"\
                    --realm                "true"\
                    --tftp                 "true"
/Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not restart Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait restart httpd' returned 1: Redirecting to /bin/systemctl restart  httpd.service
 /Stage[main]/Apache::Service/Service[httpd]: Could not restart Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait restart httpd' returned 1: Redirecting to /bin/systemctl restart  httpd.service

# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2016-02-20 15:32:12 EST; 4min 56s ago
     Docs: man:httpd(8)
           man:apachectl(8)
 Main PID: 31200 (code=exited, status=1/FAILURE)
Feb 29 11:43:42 satellite.example.com systemd[1]: Starting The Apache HTTP Server...
Feb 29 11:43:42 satellite.example.com ipa-httpd-kdcproxy[27543]: ipa         : INFO     KDC proxy enabled
Feb 29 11:43:42 satellite.example.com httpd[27545]: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ipa-kdc-proxy.conf:
Feb 29 11:43:42 satellite.example.com httpd[27545]: Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration
Feb 29 11:43:42 satellite.example.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Feb 29 11:43:42 satellite.example.com kill[27548]: kill: cannot find process ""
Feb 29 11:43:42 satellite.example.com systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 29 11:43:42 satellite.example.com systemd[1]: Failed to start The Apache HTTP Server.
Feb 29 11:43:42 satellite.example.com systemd[1]: Unit httpd.service entered failed state.
Feb 29 11:43:42 satellite.example.com systemd[1]: httpd.service failed.

Environment

  • Red Hat Satellite 6.1

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.