Bug 814063

Summary: Unable to restart httpd when katello rpm is installed but katello-configure was not run
Product: [Retired] Katello Reporter: Lukas Zapletal <lzap>
Component: InstallerAssignee: Lukas Zapletal <lzap>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: mbacovsk, sghai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:09:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukas Zapletal 2012-04-19 07:18:43 UTC
Description of problem:

1) Install katello (but do not run configure-katello yet)
2) grep SSLCertificateFile /etc/httpd/conf.d/katello.conf
3) service httpd restart

[root@cloud tmp]# /etc/init.d/httpd start
Iniciando httpd: Syntax error on line 11 of /etc/httpd/conf.d/katello.conf:
SSLCertificateKeyFile: file '/etc/candlepin/certs/candlepin-ca.key' does not
exist or is empty
                                                           [FAILED]

Comment 1 Martin Bacovsky 2012-04-19 12:59:14 UTC
Pulled in Katello: https://github.com/Katello/katello/pull/14
Commit: 6e84589

Comment 2 Sachin Ghai 2012-05-15 10:51:59 UTC
Verified with following katello build:

katello-0.2.35-1.el6.noarch

I installed above katello build and didn't run katello-configure, later restarted httpd successfully. 

[root@dhcp201-170 yum.repos.d]# grep SSLCertificateFile /etc/httpd/conf.d/katello.conf 
[root@dhcp201-170 yum.repos.d]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]
[root@dhcp201-170 yum.repos.d]# grep SSLCertificateKeyFile /etc/httpd/conf.d/katello.conf 
[root@dhcp201-170 yum.repos.d]# vim /etc/httpd/conf.d/katello.conf [root@dhcp201-170 yum.repos.d]# /etc/init.d/httpd start
Starting httpd:

Comment 3 Bryan Kearney 2012-07-17 13:09:31 UTC
Moving all community bugs with fixes to closed.