Cannot get sma (net-snmp) service to start.


 
Thread Tools Search this Thread
Operating Systems Solaris Cannot get sma (net-snmp) service to start.
# 1  
Old 02-01-2017
Cannot get sma (net-snmp) service to start.

Hey everyone, so I recently installed sma and disabled snmpdx for system monitoring in Solarwinds on 7 Oracle servers running Solaris 10. It was running just fine until we had to shutdown all systems and power back up (hurricane). Since then I cannot get the sma service to start, it goes into maintenance mode everytime. I've ensured snmpdx is disabled and there have been no patches/packages installed recently. Here's some detail...

Code:
#svcs -a | grep sma:
maintenance 14:44:29 svc:/application/management/sma:default

#svcs -xv
svc/application/management/sma:default (net-snmp daemon) 
State: maintenance since "today's date"
Reason: Start method failed repeatedly, last exited with status 137
See: /var/svc/log/application-management-sma:default.log
Impact: This service is not running

Checking the log, the service tries to start, then fails with this error:
Code:
ld.so.1: snmpd: fatal: libnetsnmpagent.so.5: open failed: No such file or directory...killed

I can cd to that directory and the file is there with proper permissions, I removed it's dependency package (SUNWmibii) and re-added it...it worked until I repeated the same steps on another machine which did not work so I came back to this machine and restarted the service just to ensure the fix was good. It failed again. Deleting that file and re-adding it didn't work the second time on the same machine.

I've been troubleshooting for a week now and now have people on my butt about a fix, I'm stumped! Any help is much appreciated Smilie

Last edited by Zeus18; 02-02-2017 at 02:38 PM.. Reason: code tags
# 2  
Old 02-06-2017
can you show the last few lines of /var/svc/log/application-management-sma:default.log
# 3  
Old 02-07-2017
os2mac, here's the tail of that log:

Code:
Feb 2 22:28:03 Method "start" exited with status 137
Feb 2 22:28:07 Leaving maintenance because disable requested
Feb 2 22:28:07 Disabled.
Feb 2 22:28:16 Enabled.
Feb 2 22:28:16 Executing start method ("/lib/svc/method/svc-sma")
ld.so.1: snmpd: fatal: libnetsnmpagent.so.5: open failed: No such file or directory killed
Feb 2 22:28:16 Method "start" exited with status 137

# 4  
Old 02-07-2017
Perhaps libnetsnmpagent.so.5 got corrupted by the unexpected power outage? Try and find that file and see if it's missing, broken, empty, etc. I think its part of this package.
# 5  
Old 02-07-2017
OS Version?

I'm running Solaris 11.3 and have net-snmp running and I don't have this library.

what version of OS are you running?

is this for a pkg you installed other than the default snmp?

EDIT: I've also checked one of my solaris 10 boxes and they don't have the lib either.

Last edited by os2mac; 02-07-2017 at 03:13 PM.. Reason: additional info
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. HP-UX

Net-snmp 5.7.2 on HP-UX 11.31

Hi All, I have an issue with net-snmp communication from a monitoring server to HP UX server. Following are the details HP - UX server : 172.16.184.34 Monitoring Server : 172.16.5.57 (Solarwinds Application)I'm running HP-UX's snmp on udp port 161 and net-snmp on udp 1161. ... (0 Replies)
Discussion started by: maverick_here
0 Replies

2. AIX

Net snmp bug

Hi Admins, I have installed net-snmp 5.5 binary in AIX 5.5 box and configured using snmpconf command.When i run ./snmpd -f -Lo -c /etc/snmpd.conf m getting below error. nlist err: neither proc nor _proc found After surfing i came to know the same is a bug.Please anyone tell me how to... (3 Replies)
Discussion started by: newaix
3 Replies

3. Solaris

net-snmp on solaris 8

hello I am running solaris 8 sparc. I installed net-snmp 5.4.1 (compiled it from tar file). When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...' another snmpwalk will directly timeouts. I compiled again the binaries... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

4. Solaris

net-snmp-5.1.2 Solaris 9

All, I downloaded and installed the following net-snmp from the sourceforge.net website on a Solaris 9 server with the entire collection installed: net-snmp-5.1.2-SunOS_5.9_sun4u.tar.gz with no errors. I attempt to run snmpget and I get the following error: ld.so.1: snmpget: fatal:... (1 Reply)
Discussion started by: bubba112557
1 Replies

5. UNIX for Dummies Questions & Answers

net-snmp

Does anybody know where I can get net-snmp for compaq tru64 V4.0G? I am having a difficult time locating it. Can it run on tru64 V4.0G? (2 Replies)
Discussion started by: jalburger
2 Replies
Login or Register to Ask a Question