LinuxQuestions.org
Review your favorite Linux distribution.
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, 02: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, 03:54 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,327

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
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, 09: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, 10: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, 11:24 AM   #5
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,576
Blog Entries: 15

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:48 PM
snmpd error 7 hunter_cao7 Linux - Server 4 04-15-2009 03:12 AM
snmpd: relocation error snmpd:undefined symbol: lastAddrAge Strike2000 Slackware 0 02-11-2008 05:45 AM

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

All times are GMT -5. The time now is 03:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration