LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-24-2018, 10:40 PM   #1
June_Chen
LQ Newbie
 
Registered: Oct 2018
Posts: 3

Rep: Reputation: Disabled
/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
 
Old 10-25-2018, 02:59 AM   #2
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

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


Closed Thread



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
Need Help:snmptrapd: symbol lookup error: /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30 Vugl Ubuntu 0 08-13-2016 04:49 PM
/usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_atomic_x dasoberdick Slackware 16 10-11-2014 02:36 AM
[SOLVED] symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_link bagi Slackware 3 05-17-2011 07:49 AM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 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