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

Bug 479948

Summary: Internal Server Error
Product: [Community] Spacewalk Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.4CC: msuchy
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-01-22 16:31:41 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: 456552    

Description Jan Pazdziora (Red Hat) 2009-01-14 08:55:05 UTC
Description of problem:

When Spacewalk server is restarted, the page

/network/systems/details/history/event.pxt?sid=1000010010&hid=55

gives Internal Server Error.

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

# rpm -qf /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm
spacewalk-pxt-0.4.14-1.el5

How reproducible:

Deterministic.

Steps to Reproduce:
1. Have Spacewalk server.
2. Register system.
3. Schedule some action.
4. Go to the history page of that event.
5. In the command line, do /usr/sbin/rhn-satellite stop and /usr/sbin/rhn-satellite start.
6. Do reload on that history page.
  
Actual results:

500 Error - Internal Server Error

In the error_log, there is

[Wed Jan 14 09:41:05 2009] [error] [client 10.34.32.41] Can't locate object method "send" via package "RHN::Mail" (perhaps you forgot to load "RHN::Mail"?) at /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm line 726.\n

Expected results:

No error, history shown.

Well, actually, there will be an ISE again, but this time the error_log will have the original error (the RHN::Mail is used to send the traceback email) and traceback email will be sent.

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2009-01-14 08:56:13 UTC
Fixed in bf3b295a5d24ad28a6c9c202ac61335a7d6ab8aa.

Comment 2 Miroslav Suchý 2009-01-15 09:17:09 UTC
The page load fine after the restart.
VERIFIED.