LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get install snmpd gives error" undefined symbol: boot_DynaLoader" (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-install-snmpd-gives-error-undefined-symbol-boot_dynaloader-729019/)

renuaseri 05-28-2009 01:34 AM

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.........

ouain 05-31-2009 06:18 PM

What about dpkg --force-all --purge snmpd?

renuaseri 06-05-2009 12:33 AM

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.....

ouain 06-05-2009 02:15 PM

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.

christhemagic 12-01-2010 03:39 AM

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 !!!

chris_wu 11-17-2011 08:17 PM

thanks for help
 
Quote:

Originally Posted by christhemagic (Post 4176754)
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

summitmd 03-06-2012 08:47 AM

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.

Satyaveer Arya 03-06-2012 08:57 AM

Please mark this thread as SOLVED, if the problem has been solved. :)

lpl555 10-20-2013 10:41 PM

OMG!! thanks for sharing! Ive been looking for the solution for days. thank you so much!!!! appreciated!

channakeshavavr 07-29-2016 12:15 AM

Thanks for sharing.
 
Finally this helped me solve snmpd problem.

Quote:

Originally Posted by christhemagic (Post 4176754)
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 !!!



All times are GMT -5. The time now is 03:00 PM.