Bug #10468
closedKatello 2.2 installation fails on RHEL7
Description
Katello installer fails on RHEL7 systems. From logs:
[ERROR 2015-05-11 16:13:58 main] Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait start httpd' returned 1: Redirecting to /bin/systemctl start httpd.service
[ERROR 2015-05-11 16:13:58 main] /Stage[main]/Apache::Service/Service[httpd]/ensure: change from stopped to running failed: Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait start httpd' returned 1: Redirecting to /bin/systemctl start httpd.service
root@vm-ttm-7:~/katello-deploy# systemctl status httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Mon 2015-05-11 16:11:24 CEST; 15min ago
Process: 25908 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 25898 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 25898 (code=exited, status=1/FAILURE)May 11 16:11:24 vm-ttm-7 systemd 1: Starting The Apache HTTP Server...
May 11 16:11:24 vm-ttm-7 httpd 25898: AH00526: Syntax error on line 29 of /etc/httpd/conf.d/25-puppet.conf:
May 11 16:11:24 vm-ttm-7 httpd 25898: SSLCertificateChainFile: file '/var/lib/puppet/ssl/ca/ca_crt.pem' does not exist or is empty
May 11 16:11:24 vm-ttm-7 systemd 1: httpd.service: main process exited, code=exited, status=1/FAILURE
May 11 16:11:24 vm-ttm-7 kill 25908: kill: cannot find process ""
May 11 16:11:24 vm-ttm-7 systemd 1: httpd.service: control process exited, code=exited status=1
May 11 16:11:24 vm-ttm-7 systemd 1: Failed to start The Apache HTTP Server.
May 11 16:11:24 vm-ttm-7 systemd 1: Unit httpd.service entered failed state.
Under /var/lib/puppet/ssl/ there is no ca directory.
I tried both manual installation and katello-deploy.
Katello version: 2.2
OS: RHEL 7.1