LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2013, 05:15 AM   #1
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Rep: Reputation: Disabled
SNMP Error


Hi,
I am trying to install the NET-SNMP-5.4.3. For that purpose i have changed my config file

In /etc/default/snmpd :
export MIBDIRS=/usr/share/snmp/mibs
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
TRAPDRUN=yes
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'
SNMPDCOMPAT=yes

Initially TRAPDRUN=no was there i have changed it to "yes".

After that i tried to start the snmp service by command
$ sudo service snmpd start
Then it is giving the following error
* Starting network management services: /usr/sbin/snmptrapd: symbol lookup error: /usr/sbin/snmptrapd: undefined symbol: init_notification_log

please help me i was structed at this error from two weeks..

Thanks & Regards,
Md.biyabani.
 
Old 03-26-2013, 05:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
I'd guess you installed this from source? If you install through standard packages in your distros package management sstem you should be able to get errors like this.
 
Old 03-26-2013, 05:47 AM   #3
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for reply..I did not understand that the word "you installed this from source" in your reply
Actually i was downloaded Net-SNMP-5.4.3 from link http://www.net-snmp.org/download.htmllink..

I dont know may be this file contains all libraries to install snmp or not?


Thanks & Regards,
md.biyabani.
 
Old 03-26-2013, 05:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
You can never include "all" libraries as eventually that covers half of the OS.

you should use your package management system. Don't download packages from websites unless you KNOW you need to.
 
Old 03-26-2013, 07:10 AM   #5
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for Reply..

can you tell me how to install NET-SNMP package for version 5.4.3 from package management system.

Thanks & Regards,
md.biyabani.
 
Old 03-26-2013, 07:15 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
just use the package management system on your OS, like I've already said. You've not said what yourOS is, so I can't tell you what it is.
 
Old 03-26-2013, 07:53 AM   #7
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
I am using ubuntu 11.10 with linux kernel version Linux-3.0.10.

Thanks & Regards,
md.biyabani.
 
Old 03-26-2013, 08:32 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
sudo apt-get install net-snmp


then I presume. Have you not even looked in the package gui on the system?
 
Old 03-26-2013, 09:01 AM   #9
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
No..I know how to install the softwares in ubuntu but i exactly dont know about the command to install the net-snmp of version 5.4.3 (that is installed in my pc).


Thanks & Regards,
md.biyabani.
 
  


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
cacti + snmp error aeby Linux - Server 0 08-29-2007 04:51 AM
snmp error ... toships Linux - Newbie 0 04-10-2004 01:22 PM
error message when run MRTG: SNMP error zhgalaxy Linux - Newbie 0 02-18-2004 01:08 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM
SNMP error mantiev Linux - Networking 6 06-20-2001 08:58 AM


All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration