Title: RE: Net-SNMP for hpux 10.20

This is the error I get when I run the Perl script

 @ccchpc09::super_ /opt/net-snmp/bin> perl snmpconf -g basic_setup            
Can't locate Data/Dumper.pm in @INC (@INC contains: /opt/perl5/lib/PA-RISC1.1/5.00404 /opt/perl5/lib /opt/perl5/lib/site_perl/PA-RISC1.1 /opt/perl5/lib/site_perl .) at snmpconf line 12.

BEGIN failed--compilation aborted at snmpconf line 12.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shield
Sent: Wednesday, August 02, 2006 11:17 AM
To: Doug Anderson
Cc: [email protected]
Subject: Re: Net-SNMP for hpux 10.20

On 02/08/06, Doug Anderson <[EMAIL PROTECTED]> wrote:

> OK, then next question how do I handle net-snmp 5.2.2 binary installed.

Sorry - I don't understand the question?


> Here is the log I am getting.
> Here is the error I get if I follow the logs suggestion.
>
> @ccchpc09::super_ /opt/net-snmp/bin> ./snmpconf -g basic_setup
> syntax error in file ./snmpconf at line 9, next 2 tokens "use Getopt"
> syntax error in file ./snmpconf at line 26, next 2 tokens "qw("

That looks as if your system is treating "snmpconf" as a shell script,
rather than a perl script.  What is the first line of this script on
your system?  Does the path match the location of the perl binary?


Alternatively, just edit/create the file /usr/local/etc/snmpd.conf and
add the line

    rocommunity   public

which should be enough to get you started.


As regards the "Cannot find module" messages, it looks as if the MIB
files haven't been installed properly.  How did you install the
software?

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to