Bug 916678 - httpd fails to start after running spacewalk-setup --disconnected
Summary: httpd fails to start after running spacewalk-setup --disconnected
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 1.8
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-02-28 16:13 UTC by Casey Pogue
Modified: 2017-09-28 17:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-04 09:45:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Casey Pogue 2013-02-28 16:13:34 UTC
Description of problem: After fresh install of Spacewalk 1.8 with postgresql. I ran the spacewalk-setup --disconnected script and httpd fails to start with error "Certificate not found: 'Server-Cert'"


Version-Release number of selected component (if applicable):


How reproducible: After fresh install run spacewalk-setup --disconnected


Steps to Reproduce:
1. Fresh install of spacewalk 1.8
2.spacewalk-setup --disconnected
3.
  
Actual results:  No errors running script except at end Tomcat failed to start properly or the installer ran out of tries.  Tomcat manually restarted, but httpd will not start.


Expected results: httpd to start 


Additional info:

Comment 1 Jan Pazdziora 2013-03-01 08:35:10 UTC
What OS is this?

Comment 2 Casey Pogue 2013-03-01 13:38:29 UTC
This is on Centos 6.3.

Comment 3 Jan Pazdziora 2013-03-04 09:45:07 UTC
Googling for the error message suggests it comes from mod_nss. 
Spacewalk does not require not configure mod_nss so I assume this 
somehow got installed on your machine prior to installing Spacewalk.

Comment 4 Casey Pogue 2013-03-04 13:39:01 UTC
True mod_nss is installed.  This server also has 389-ds insalled and mod_nss installs as a dependency.  httpd worked fine until spacewalk was installed.  Is there a way to have spacewalk installed and working with mod_nss?

Comment 5 Jan Pazdziora 2013-03-04 14:47:47 UTC
I'd suggest starting with two separate installations before attempting to integrate them.

Comment 6 Casey Pogue 2013-03-04 16:43:59 UTC
I got both to work by turning off NSSEngine in /etc/httd/conf.d/nss.conf.

Then tomcat would not start.  I had to copy all the jar files under WEB-INF/lib  the symbolic links wouldn't work.

Everything is working now.  Thanks

Comment 7 Eric Herget 2017-09-28 17:56:04 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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