By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

"Cannot find module" Error Messages in PHP

P: n/a
Hi,

Red Hat Enterprise Linux 4.X.

I'm writing command-line PHP scripts for the first time.

I get the messages below. What do they mean? Are these operating system
library modules, or something in PHP that I don't have? Do I need to
install more Linux packages? Or adjust PHP in some way?

Thanks, Dave.

[dashley@pamc standalone]$ ./sitehashkeygen.php
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)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Content-type: text/html
X-Powered-By: PHP/4.3.9

Feb 5 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
im not so familiar with redhat but on slackware (www.slackware.com) you
just need to make sure apache is set up properly. php is installed as
standard on most systems and if your lucky will be set up. suggest
looking in the red hat documentation or online redhat forums.

Sean Barton

Feb 5 '06 #2

P: n/a
On Sun, 5 Feb 2006 02:10:06 -0500, "David T. Ashley" <dt*@e3ft.com> wrote:
Red Hat Enterprise Linux 4.X.

I'm writing command-line PHP scripts for the first time.

I get the messages below. What do they mean? Are these operating system
library modules, or something in PHP that I don't have? Do I need to
install more Linux packages? Or adjust PHP in some way? [dashley@pamc standalone]$ ./sitehashkeygen.php
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)


They're SNMP MIBs - you've got SNMP support compiled in or dynamically loaded,
but the SNMP library can't find the MIBs, which are files containing mappings
from SNMP IDs to more readable names. Hopefully that gives you some more
keywords to search on to find a solution.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Feb 5 '06 #3

P: n/a
"David T. Ashley" <dt*@e3ft.com> wrote in message
news:ax******************@fe77.usenetserver.com...
I get the messages below. What do they mean? Are these operating system
library modules, or something in PHP that I don't have? Do I need to
install more Linux packages? Or adjust PHP in some way?

[dashley@pamc standalone]$ ./sitehashkeygen.php
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)


Problem was solved by running

up2date net-snmp

which installs RPM packages.

Thanks for suggestions, Dave.

Feb 5 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.