Red Hat Satellite installation fails when starting httpd

Solution Verified - Updated -

Environment

  • Red Hat Satellite or Proxy 5.x
  • httpd

Issue

  • While starting Satellite for the first time http daemon fails to start with the following message in /var/log/httpd/error_log:
[Thu Aug 01 15:55:00 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 01 15:55:00 2013] [error] Certificate not found: 'Server-Cert'
[Thu Aug 01 15:59:25 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 01 15:59:25 2013] [error] Certificate not found: 'Server-Cert'
[Thu Aug 01 16:01:12 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 01 16:01:12 2013] [error] Certificate not found: 'Server-Cert'
[Thu Aug 01 16:03:25 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 01 16:03:25 2013] [error] Certificate not found: 'Server-Cert'
  • Recently installed Satellite shows httpd service to be down:
[root@Satellite /]# rhn-satellite restart
:
Starting spacewalk services...
Starting postgresql service:                               [  OK  ]
Initializing jabberd processes ...
Starting router:                                           [  OK  ]
Starting sm:                                               [  OK  ]
Starting c2s:                                              [  OK  ]
Starting s2s:                                              [  OK  ]
Starting tomcat6:                                          [  OK  ]
Waiting for tomcat to be ready ...

Starting httpd:                                            [FAILED]

Starting osa-dispatcher:                                   [  OK  ]
Starting Monitoring ...
[ OK ]
Starting MonitoringScout ...
[ OK ]
Starting rhn-search...
Starting cobbler daemon:                                   [  OK  ]
Starting RHN Taskomatic...
Done.

Resolution

  • Remove mod_nss for apache installed on the Red Hat Satellite or Proxy server by executing:
# yum remove mod_nss
  • The above command will also remove: mod_nss, ipa-server, ipa-server-selinux, mod_revocator packages form the Satellite Server.

Root Cause

  • Red Hat Satellite Installation Guide Should be followed while installing,Only @base package group should be installed on the Satellite Server.

  • For Installation Guide vist : Red Hat Satellite Product Documentation

Diagnostic Steps

  • Satellite's installation fails when starting for the first time http daemon.
  • Check logs of apache in /var/log/httpd/error_log.
  • Check for installed packages on the satellite server.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.