"Cannot find module" Error Messages in PHP

Collapse
This topic is closed.
X
X
 
Clear All
new posts
  • David T. Ashley

    "Cannot find module" Error Messages in PHP

    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



  • Sean Barton

    #2
    Re: "Cannot find module" Error Messages in PHP

    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

    Comment

    • Andy Hassall

      #3
      Re: "Cannot find module" Error Messages in PHP

      On Sun, 5 Feb 2006 02:10:06 -0500, "David T. Ashley" <dta@e3ft.com > wrote:
      [color=blue]
      >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?[/color]
      [color=blue]
      >[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)[/color]

      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 :: andy@andyh.co.u k :: http://www.andyh.co.uk
      http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

      Comment

      • David T. Ashley

        #4
        Re: &quot;Cannot find module&quot; Error Messages in PHP

        "David T. Ashley" <dta@e3ft.com > wrote in message
        news:axhFf.9729 5$l8.57344@fe77 .usenetserver.c om...[color=blue]
        > 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)[/color]

        Problem was solved by running

        up2date net-snmp

        which installs RPM packages.

        Thanks for suggestions, Dave.



        Comment

        Working...