Bug 719691 - nagios requires http and php intergration to function - php apache module is missing as a dependency
Summary: nagios requires http and php intergration to function - php apache module is ...
Keywords:
Status: CLOSED DUPLICATE of bug 519371
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jose Pedro Oliveira
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-07 16:53 UTC by Matt Darcy
Modified: 2012-02-10 01:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-10 01:44:14 UTC
Type: ---


Attachments (Terms of Use)
Patch for adding php to Requires: (304 bytes, patch)
2011-10-25 09:54 UTC, Ralph Angenendt
no flags Details | Diff

Description Matt Darcy 2011-07-07 16:53:10 UTC
Description of problem:
nagios 3.2.3-8.el6 x86_64 package in EPEL requires a web server with php modules enabled to function. httpd is listed as a dependency but not the php module. The php module must be installed post install

Version-Release number of selected component (if applicable):
3.2.3-8.el6 x86_64

How reproducible:
everytime

Steps to Reproduce:
1. install an enterprise linux 6 distribution 64bit
2. enable EPEL 6 repo
3. install nagios via yum "yum install nagios"
4. configure and start nagios, 
5. browse to http://hostname/nagios
  
Actual results:
nagios refuses to display due to index.php not being added to the httpd.conf's index file list due to php not being installed. Browsing to specific nagios pages shows garbled results, due to php varibles being displayed rather than processed. This is resolved by installing php and restarting apache 

Expected results:
nagios welcome/status page

Additional info:
worth checking on the 32bit version - the deps look the same but I don't have a 32bit system to validate at this time.

Comment 1 Ralph Angenendt 2011-10-25 09:52:58 UTC
The 32bit version behaves the same. Looks like stuff in /usr/share/ isn't picked up by auto requires, so php isn't added to the dependency list.

Comment 2 Ralph Angenendt 2011-10-25 09:54:40 UTC
Created attachment 530041 [details]
Patch for adding php to Requires:

Proposed patch (just adds php to the requirement list.

Comment 3 Jose Pedro Oliveira 2012-02-10 01:44:14 UTC

*** This bug has been marked as a duplicate of bug 519371 ***


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