LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2011, 02:04 AM   #1
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Rep: Reputation: 0
Installing a net-snmp 5.6.1 problem....


My objective is to install net-snmp with perl module....


Currently i type command snmpd -d
it will give
UCD-snmp version: 4.2.1
Author: Wes Hardaker
Email: ucd-snmp-coders@ucd-snmp.ucdavis.edu


to update this version i download
net-snmp-5.6.1.tar.gz
put in /root/dashang/net-snmp-5.6.1.tar.gz

Extract the that file

cd net-snmp-5.6.1
type
1)./configure --prefix=/usr/local/net-snmp/
Then Long process is going on.process ask several question..
Then I type MAKE but still same process is going on..
No single file is install in /usr/local/net-snmp/

if i install perl
cd perl
MAKEFILE.pl
it will give ERROR first install net snmp first....




PLEASE TELL ME THE SOLUTION HOW TO INSTALL SNMP..
when i type snmpd -v it should give latest version of snmp......
 
Old 04-19-2011, 09:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by dashang.trivedi View Post
My objective is to install net-snmp with perl module....

Currently i type command snmpd -d it will give
UCD-snmp version: 4.2.1
Author: Wes Hardaker
Email: ucd-snmp-coders@ucd-snmp.ucdavis.edu

to update this version i download net-snmp-5.6.1.tar.gz put in /root/dashang/net-snmp-5.6.1.tar.gz

Extract the that file
cd net-snmp-5.6.1
type
1)./configure --prefix=/usr/local/net-snmp/
Then Long process is going on.process ask several question..
Then I type MAKE but still same process is going on..
No single file is install in /usr/local/net-snmp/

if i install perl
cd perl
MAKEFILE.pl
it will give ERROR first install net snmp first....

PLEASE TELL ME THE SOLUTION HOW TO INSTALL SNMP..
when i type snmpd -v it should give latest version of snmp......
You ran the make...did you read the installation instructions that come in that .gz file? Did you run the "make install", which actually puts the files into place? Did you restart the SNMP daemon afterwards?

And Perl has nothing to do with snmp...or do you mean you're trying to install a particular perl MODULE? Which one? Chances are you need to install the net-snmp development libraries. You say nothing about the version/distro of Linux you're using, but you can install net-snmp and the development libraries via your online repositories much easier, and you'll know they work too.
 
Old 04-22-2011, 05:48 AM   #3
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Original Poster
Rep: Reputation: 0
i Solve my installation problem.....

But i still got problem on Adding Private Mib........


My objective is to add a a private MIB file...and perform operation snmpset and snmpget



1) I install net-snmp-5.3.3
./configure --with-perl-modules
make
make install
2)I copied MIB file to /usr/share /snmp/mibs


Now which step i have to take ???
i search that CREATE A TEMPLATE CODE of MIB file in .C and .H file

For That i use tool mib2c

i just try
mib2c -c mib2c.scalar.conf ucdDemoPublic

---> it gives output
outputting to ucdDemoPublic.c and ucdDemoPublic.h ...
depth: 1
Number of Lines Created:
2 ucdDemoPublic.c
1 ucdDemoPublic.h
3 total
Done.

but the file content is blank....its not generating template code....



PLEASE GUIDE ME WHAT IS THE FURTHER STEP FOR ADDING MY PRIVATE MIB FILE....

THANK IN ADVANCE..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Net-SNMP Problem premierpsp Linux - Networking 8 01-27-2011 10:15 AM
problem with installing net-snmp in redhat 7 djamols Linux - Software 1 01-25-2009 09:42 AM
How come I cannot find a simple procedure for installing and configuring net-snmp mikemillion Linux - Newbie 6 07-22-2008 10:25 PM
problem in installing net-snmp anubhuti_k Linux - Networking 1 02-03-2005 12:49 PM
Installing net-snmp, dependencies? onewhoknows Linux - Software 1 06-02-2004 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration