Bug 174800 - php-snmp spams error_log/stderr
Summary: php-snmp spams error_log/stderr
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-02 11:53 UTC by Joe Orton
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 5.1.1-5
Clone Of:
Environment:
Last Closed: 2005-12-08 11:35:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2005-12-02 11:53:54 UTC
Description of problem:
With php-snmp installed the error_log (or stderr) is getting spammed at startup.

No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)

Comment 1 Joe Orton 2005-12-07 13:30:24 UTC
This happens iff net-snmp-libs is installed but not net-snmp.  If net-snmp-libs
will not work correctly without net-snmp installed the former should require the
latter?  Or should I just make php-snmp require net-snmp explicitly?

Comment 2 Radek Vokál 2005-12-08 07:40:52 UTC
I guess net-snmp-libs should be required for build and net-snmp package in
requires so the MIBs can be used. 

Comment 3 Joe Orton 2005-12-08 08:52:16 UTC
So I should change the PHP requires, Radek, that's what you're saying?

Comment 4 Radek Vokál 2005-12-08 08:57:52 UTC
Yep, I think
Requires: 	net-snmp
BuildRequires: 	net-snmp-libs

 

Comment 5 Joe Orton 2005-12-08 11:35:09 UTC
OK thanks a lot.


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