Bug 814063 - Unable to restart httpd when katello rpm is installed but katello-configure was not run
Summary: Unable to restart httpd when katello rpm is installed but katello-configure w...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Katello
Classification: Retired
Component: Installer
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 07:18 UTC by Lukas Zapletal
Modified: 2012-07-17 13:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:09:31 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.