Reputation: 49
I am facing this particular error
/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
when I restart the snmpd service on my computer. Whenever I do the sudo service snmpd restart
, it gives me the error shown above.
I have tried to search this issue on web, but the suggestion which I got is that snmp libraries are on present on path /usr/lib/
and /usr/local/lib/
, but I could not see snmp libraries on both paths. My snmp libraries are present only on /usr/local/lib
.
I also tried to uninstall snmpd
, but it gave me same error. I don't want to remove net-snmp
package as it has dependency on other modules. I am working on Ubuntu 13.10.
Could any one help me?
Upvotes: 4
Views: 4760
Reputation: 1
I found a answer step by step source:
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 !!!
Upvotes: 0
Reputation: 1669
This is a relocation error.
One of the biggest advantages of package managers is that when you remove a package all that came with it gets removed. This does not happen with source installs.
Basically you should remove everything netsnmp related and then reinstall the package with apt:
--nodeps
if you don't want to remove the dependenciesfind /usr/ -name libnetsnmp*
and delete them.sudo make uninstall
in the same folder where you run sudo make install
. This is cleaner but doesn't always work.You should be good to go
Upvotes: 1