LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2015, 01:40 PM   #1
the8arewithme
LQ Newbie
 
Registered: Mar 2015
Posts: 4

Rep: Reputation: Disabled
snmpd error!


I'm trying to get MRTG set up on Ubuntu 14.04 and cannot get snmpd to install correctly. Every time I try to install I get this error

/usr/sbin/snmpd: error while loading shared libraries: libnetsnmpagent.so.30: cannot open shared object file: No such file or directory
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error processing package snmpd (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried numerous possible fixes for this and have not found anything that works. Any help is greatly appreciated.
 
Old 03-16-2015, 02:54 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
A quick search online suggests that the following may work for you
Code:
cp /usr/local/lib/libnetsnmp.so.30 /usr/lib
 
Old 03-17-2015, 08:40 AM   #3
the8arewithme
LQ Newbie
 
Registered: Mar 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
A quick search online suggests that the following may work for you
Code:
cp /usr/local/lib/libnetsnmp.so.30 /usr/lib
I tried what you said and it returned that there was no such file or directory. So I went and checked the /usr/local/lib directory and found nothing there?? It's perl, python2.7, python3.4 and site_ruby is there some way I can add/install the libraries for snmpd into this Dir?
 
Old 03-17-2015, 09:25 AM   #4
the8arewithme
LQ Newbie
 
Registered: Mar 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Solved it by using purge to remove snmp snmpd then going into synaptic package manager and marking the packages to be reinstalled. Then install snmp snmpd and works perfectly!!
 
Old 03-17-2015, 10:24 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by the8arewithme View Post
Solved it by using purge to remove snmp snmpd then going into synaptic package manager and marking the packages to be reinstalled. Then install snmp snmpd and works perfectly!!
Good job. Well done!
 
  


Reply



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
SNMPd will not start - segmentation error medik Linux - Software 4 09-20-2011 02:48 PM
snmpd error 7 hunter_cao7 Linux - Server 4 04-15-2009 02:12 AM
snmpd: relocation error snmpd:undefined symbol: lastAddrAge Strike2000 Slackware 0 02-11-2008 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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