LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   /usr/sbin/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmptrapd.so.31: undefined symbol: (https://www.linuxquestions.org/questions/linux-software-2/usr-sbin-snmptrapd-symbol-lookup-error-usr-lib64-libnetsnmptrapd-so-31-undefined-symbol-4175641080/)

June_Chen 10-24-2018 10:40 PM

/usr/sbin/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmptrapd.so.31: undefined symbol:
 
Dear
Centos 7.4 ,after I use Yum install net-snmp
it cant start snmptarpd.
/usr/sbin/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmptrapd.so.31: undefined symbol:
could any suggestion ?
thank you so much

deltails

root@login lib64]# service snmptrapd status
Redirecting to /bin/systemctl status snmptrapd.service
â— snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-10-24 14:04:39 CST; 2h 49min ago
Process: 114137 ExecStart=/usr/sbin/snmptrapd $OPTIONS -f (code=exited, status=127)
Main PID: 114137 (code=exited, status=127)

Oct 24 14:04:39 login systemd[1]: Starting Simple Network Management Protocol (SNMP) Trap Daemon....
Oct 24 14:04:39 login snmptrapd[114137]: /usr/sbin/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmptrapd.so.31: undefined symbol: my_progname
Oct 24 14:04:39 login systemd[1]: snmptrapd.service: main process exited, code=exited, status=127/n/a
Oct 24 14:04:39 login systemd[1]: Failed to start Simple Network Management Protocol (SNMP) Trap Daemon..
Oct 24 14:04:39 login systemd[1]: Unit snmptrapd.service entered failed state.
Oct 24 14:04:39 login systemd[1]: snmptrapd.service failed.
[root@login lib64]# cd /usr/sbin
[root@login sbin]# snmptrapd
snmptrapd: symbol lookup error: /usr/lib64/libnetsnmptrapd.so.31: undefined symbol: my_progname

[root@login lib64]# yum install net-snmp=libs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
No package net-snmp=libs available.
Error: Nothing to do
[root@login lib64]# cd /usr
[root@login usr]# yum provides libnetsnmptrapd.so.31
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
1:net-snmp-agent-libs-5.7.2-28.el7.i686 : The NET-SNMP runtime agent libraries
Repo : local_server
Matched from:
Provides : libnetsnmptrapd.so.31



1:net-snmp-agent-libs-5.7.2-32.el7.i686 : The NET-SNMP runtime agent libraries
Repo : base
Matched from:
Provides : libnetsnmptrapd.so.31



1:net-snmp-agent-libs-5.7.2-33.el7_5.2.i686 : The NET-SNMP runtime agent libraries
Repo : updates
Matched from:
Provides : libnetsnmptrapd.so.31



1:net-snmp-agent-libs-5.7.2-33.el7_5.2.i686 : The NET-SNMP runtime agent libraries
Repo : @updates
Matched from:
Provides : libnetsnmptrapd.so.31

[root@login sbin]# ls -al /usr/lib64/libnetsnmptrapd.so.31
lrwxrwxrwx 1 root root 25 Oct 23 11:06 /usr/lib64/libnetsnmptrapd.so.31 -> libnetsnmptrapd.so.31.0.2

l0f4r0 10-25-2018 02:59 AM

Reported as duplicate with https://www.linuxquestions.org/quest...ol-4175641079/


All times are GMT -5. The time now is 12:47 AM.