Bug 1201049 - 500 Error when accessing "Installed Systems" or "Target Systems" tabs in Package->Details
Summary: 500 Error when accessing "Installed Systems" or "Target Systems" tabs in Pack...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 2.2
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2015-03-11 23:16 UTC by Raj
Modified: 2017-09-28 18:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-26 15:27:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Raj 2015-03-11 23:16:03 UTC
Description of problem:
In the WEBUI, when you click on a package, you land in the overview tab. Next to it, If we click on dependencies/File Lists/New Versions/Installed Systems/Target Systems, we get the Apache 500 Internal server error and the following logged in the httpd error_log.

[Wed Mar 11 16:10:10 2015] [error] Execution of /var/www/html/errors/500.pxt failed at Wed Mar 11 16:10:10 2015: install_driver(Pg) failed: Attempt to reload DBD/Pg.pm aborted.\nCompilation failed in require at (eval 1344) line 3.\n\n at /usr/share/perl5/vendor_perl/RHN/DB/User.pm line 1427

[Wed Mar 11 16:10:10 2015] [error] Traceback sent to xxx at /usr/share/perl5/vendor_perl/PXT/ApacheHandler.pm line 563.


Error mailed.

The following exception occurred while executing this request:
 GET /network/software/packages/dependencies.pxt?pid=9576 HTTP/1.1 (from browser)  /errors/500.pxt (from Apache)

Date:
  Wed Mar 11 13:39:49 2015

Headers:
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  Accept-Encoding: gzip, deflate, sdch
  Accept-Language: en-US,en;q=0.8
  Connection: keep-alive
  Cookie: pxt-session-cookie=13468x1c17ca3e110fe686e446c92e0caad22a3e1e204114d69d5ea33b9c18dc5264cf
  Host: ussclddspacewk01
  Referer: https://ussclddspacewk01/rhn/software/packages/Details.do?pid=9576
  User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

Form variables:


User Information:
(not logged in)

Error notes:
  (none)

Initial Request:
  No

Error message:
  install_driver(Pg) failed: Attempt to reload DBD/Pg.pm aborted.
Compilation failed in require at (eval 1344) line 3.

 at /usr/share/perl5/vendor_perl/RHN/DB/User.pm line 1427


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


How reproducible:


Steps to Reproduce:
1.In the WEBUI, when you click on a package, you land in the overview tab. Next to it, If we click on dependencies/File Lists/New Versions/Installed Systems/Target Systems.


Actual results:

500 Internal Server Error


Expected results:

Dependencies/File Lists/New Versions/Installed Systems/Target Systems of a package.


Additional info:

Comment 1 Grant Gainey 2016-02-26 15:27:10 UTC
As of Spacewalk-2.4, all the perl pages have been ported to Java

Comment 2 Eric Herget 2017-09-28 18:06:46 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.