Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 486750

Summary: Missing LoadModule Causing httpd Service Failure On Fedora 10
Product: [Community] Spacewalk Reporter: Devan Goodwin <dgoodwin>
Component: InstallationAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Devan Goodwin <dgoodwin>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bperkins
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:10:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456553    

Description Devan Goodwin 2009-02-21 18:43:13 UTC
Description of problem:

After installing Spacewalk on Fedora 10, httpd refuses to start with error:

Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on
line 36 of /etc/httpd/conf.d/zz-spacewalk-www.conf: Cannot
load /etc/httpd/modules/mod_jk.so into
server: /etc/httpd/modules/mod_jk.so: cannot open shared object file:
No such file or directory

How reproducible:

100%

Steps to Reproduce:
1. Run spacewalk-setup normally. (it will halt at Restarting Services)
2. Run rhn-satellite restart to get a better look at errors.
  
Actual results:

httpd fails to start.


Additional info:

Error is misleading because we don't actually want/need mod_jk:

<IfVersion >= 2.1>
<IfModule !proxy_ajp_module>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfModule>
</IfVersion>
<IfVersion < 2.1>
LoadModule jk_module modules/mod_jk.so
</IfVersion>

Whereas we're running with: httpd-2.2.10-2

This is triggered due to a missing LoadModule line in /etc/httpd/conf/httpd.conf that's present in EL5 but not in F10:

LoadModule version_module modules/mod_version.so

Workaround: add the above LoadModule line to httpd.conf.

It's possible we no longer need this XML block at all, not sure if we're deploying on Apache 1 anymore.

Comment 1 Jan Pazdziora (Red Hat) 2009-02-25 10:30:21 UTC
I'm currently not even able to install Spacewalk on Fedora 10, using http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/:

# yum install spacewalk
[...]
Error: Missing Dependency: quartz is needed by package spacewalk-search-0.5.8-1.fc10.noarch (spacewalk)
Error: Missing Dependency: cglib is needed by package spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: quartz is needed by package spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: hibernate3 >= 3.2.4 is needed by package spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: hibernate3 >= 3.2.4 is needed by package spacewalk-java-0.5.22-1.fc10.noarch (spacewalk)

Comment 2 Jan Pazdziora (Red Hat) 2009-02-25 14:41:13 UTC
(In reply to comment #1)
> I'm currently not even able to install Spacewalk on Fedora 10, using
> http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/:
> 
> # yum install spacewalk
> [...]
> Error: Missing Dependency: quartz is needed by package
> spacewalk-search-0.5.8-1.fc10.noarch (spacewalk)
> Error: Missing Dependency: cglib is needed by package
> spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
> Error: Missing Dependency: quartz is needed by package
> spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
> Error: Missing Dependency: hibernate3 >= 3.2.4 is needed by package
> spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
> Error: Missing Dependency: hibernate3 >= 3.2.4 is needed by package
> spacewalk-java-0.5.22-1.fc10.noarch (spacewalk)

# cat /etc/yum.repos.d/jpackage.repo 
[jpackage]
name=jpackage-f10
baseurl=http://mirrors.dotsrc.org/jpackage/6.0/fedora-10/free/
gpgcheck=0

was needed for this one.

Comment 3 Jan Pazdziora (Red Hat) 2009-02-25 14:43:01 UTC
Fixed in Spacewalk repo, b663f6767d463186b79d10c624de17ec7a0ff124, tagged as spacewalk-config-0.5.4-1.

Comment 4 Jan Pazdziora (Red Hat) 2009-04-01 06:36:24 UTC
With Spacewalk 0.5 released, moving ON_QA.

Comment 5 Devan Goodwin 2009-04-07 19:48:53 UTC
Verified.

Comment 6 Jesus M. Rodriguez 2009-04-14 14:13:13 UTC
Spacewalk 0.5 released.

Comment 7 Miroslav Suchý 2009-09-17 07:10:35 UTC
Spacewalk 0.5 has been released for long time ago.