apt-get install snmpd gives error" undefined symbol: boot_DynaLoader"
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:
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.........
What about dpkg --force-all --purge snmpd?
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.....
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.
I solve this problem ;)
apt-get remove --purge snmpd
apt-get install snmpd
verify if this service is open
test this :
snmpwalk -v 1 -c public localhost
Is good !!!
thanks for help
Please mark this thread as SOLVED, if the problem has been solved. :)
OMG!! thanks for sharing! Ive been looking for the solution for days. thank you so much!!!! appreciated!
|All times are GMT -5. The time now is 12:39 AM.|