LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-28-2009, 01:34 AM   #1
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
apt-get install snmpd gives error" undefined symbol: boot_DynaLoader"


hi all,
i want to install snmp .so i first gave "apt-get install snmp " that gives NO error .after that i gave "apt-get install snmpd" this command give this error:-

Starting network management services:/usr/sbin/snmpd: symbol lookup error: /usr/local/lib/libnetsnmpagent.so.15: undefined symbol: boot_DynaLoader
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error processing snmpd (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


with above error it ends .



i have tried lot..
i have tried to remove snmp & snmpd and again install but result is same.

so plz help me.........
 
Old 05-31-2009, 06:18 PM   #2
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Rep: Reputation: 0
What about dpkg --force-all --purge snmpd?
 
Old 06-05-2009, 12:33 AM   #3
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Original Poster
Rep: Reputation: 15
error" apt-get install snmpd gives undefined symbol: boot_DynaLoader"

thank you for reply........

now i m not getting undefined symbol: boot_DynaLoader.

now i have install snmp and snmpd successfully.
i have already done configuration of snmp.conf file by 'snmpconf' command.
and save this snmp.conf file in /etc/snmp/snmp.conf.and also getting pid of snmpd.



but when i run 'snmpwalk -v2c -c public localhost system' it give error:-
Timeout: No Response from localhost.


plz help me.....
 
Old 06-05-2009, 02:15 PM   #4
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Rep: Reputation: 0
What does ps u -C init yield, and what does netstat -unp yield?

Did you try to run snmpd in debug mode from the command line?

You can run strace -o /tmp/trace.txt -f -e recv,recvfrom,read snmpd and look at trace.txt to see whether it at least receives the packets from snmpwalk and doesn't answer, or if the packets don't make their way to snmpd.
 
Old 12-01-2010, 03:39 AM   #5
christhemagic
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 1
I solve this problem

apt-get remove --purge snmpd
cd /usr/local/lib/
rm libnetsnmp*

apt-get install snmpd

verify if this service is open
netstat -anup

test this :
snmpwalk -v 1 -c public localhost

Is good !!!
 
1 members found this post helpful.
Old 11-17-2011, 08:17 PM   #6
chris_wu
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Wink thanks for help

Quote:
Originally Posted by christhemagic View Post
I solve this problem

apt-get remove --purge snmpd
cd /usr/local/lib/
rm libnetsnmp*

apt-get install snmpd

verify if this service is open
netstat -anup

test this :
snmpwalk -v 1 -c public localhost

Is good !!!
I got the same problem . Now I've solved it. thaks for sharing
 
Old 03-06-2012, 08:47 AM   #7
summitmd
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Quote:
I solve this problem

apt-get remove --purge snmpd
cd /usr/local/lib/
rm libnetsnmp*

apt-get install snmpd

verify if this service is open
netstat -anup

test this :
snmpwalk -v 1 -c public localhost

Is good !!!
Thanks for the post. This helped me solve this a just a few minutes. Grealty appreciated.
 
Old 03-06-2012, 08:57 AM   #8
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Please mark this thread as SOLVED, if the problem has been solved.
 
Old 10-20-2013, 10:41 PM   #9
lpl555
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
Talking

OMG!! thanks for sharing! Ive been looking for the solution for days. thank you so much!!!! appreciated!
 
Old 07-29-2016, 12:15 AM   #10
channakeshavavr
LQ Newbie
 
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
Thanks for sharing.

Finally this helped me solve snmpd problem.

Quote:
Originally Posted by christhemagic View Post
I solve this problem

apt-get remove --purge snmpd
cd /usr/local/lib/
rm libnetsnmp*

apt-get install snmpd

verify if this service is open
netstat -anup

test this :
snmpwalk -v 1 -c public localhost

Is good !!!
 
  


Reply



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
snmpd: relocation error snmpd:undefined symbol: lastAddrAge Strike2000 Slackware 0 02-11-2008 04:45 AM
plesk + php 4.3.2 upgrade error - "undefined symbol: ap_signal" p_s_shah Linux - Server 0 10-30-2007 12:41 PM
Error with PHP4.4.4: "undefined symbol" in libphp4.so mrzack Linux - Server 4 12-23-2006 09:31 AM
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 11:57 AM
k3b won't start: "undefined symbol" error djzanni Mandriva 2 03-12-2005 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

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