Visit Our UNIX and Linux User Community


net-snmp - restarting too quickly issue


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring net-snmp - restarting too quickly issue
# 1  
Old 09-09-2009
net-snmp - restarting too quickly issue

on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode:

Code:
[ Sep  9 20:54:33 Enabled. ]
[ Sep  9 20:54:33 Executing start method ("/lib/svc/method/svc-sma") ]
[ Sep  9 20:54:33 Method "start" exited with status 0 ]
[ Sep  9 20:54:34 Stopping because process dumped core. ]
[ Sep  9 20:54:34 Executing stop method (:kill) ]
[ Sep  9 20:54:34 Executing start method ("/lib/svc/method/svc-sma") ]
[ Sep  9 20:54:34 Method "start" exited with status 0 ]
[ Sep  9 20:54:35 Stopping because process dumped core. ]
[ Sep  9 20:54:35 Executing stop method (:kill) ]
...
[ Sep  9 20:54:41 Executing start method ("/lib/svc/method/svc-sma") ]
[ Sep  9 20:54:41 Method "start" exited with status 0 ]
[ Sep  9 20:54:41 Stopping because process dumped core. ]
[ Sep  9 20:54:41 Executing stop method (:kill) ]
[ Sep  9 20:54:41 Restarting too quickly, changing state to maintenance ]

so basically i get the error: "Reason: Restarting too quickly." from svcs -x.

anyone have any ideas what to check or look for?

i can run snmpd without any issues. again, i just can't get smf to manage it.
# 2  
Old 09-10-2009
"Stopping because process dumped core."

I honestly recommend reverting the SMF files back to normal and either writing a new one or using an rc script in rc3.d

Previous Thread | Next Thread
Test Your Knowledge in Computers #356
Difficulty: Medium
ibfawk is a very small, function-only, reentrant, embeddable interpreter written in PHP.
True or False?

7 More Discussions You Might Find Interesting

1. Solaris

SSH : Restarting too quickly, changing state to maintenance

Hi, I'm new to Solaris. I have an issue with ssh service. When I restart the service it exits with an exit status of 0 $svcadm restart svc:/network/ssh:default $echo $? 0 $ However, the service goes into maintenance mode after restart. I'm able to connect even though the service is in... (3 Replies)
Discussion started by: maverick_here
3 Replies

2. 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

3. Solaris

Service is restarting too quickly

Hi guys, one of my services in solaris 10 is in maintenance mode. When I checked why, the reason is that the service is "restarting too quickly." # svcs -x svc:/application/management/snmpdx:default svc:/application/management/snmpdx:default (Sun Solstice Enterprise Master Agent) State:... (2 Replies)
Discussion started by: cjashu
2 Replies

4. Infrastructure Monitoring

net-snmp issue

When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt? xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 } Undefined identifier:... (2 Replies)
Discussion started by: mrlayance
2 Replies

5. Solaris

Net-SNMP-5.4.2.1 issue on Sun Solaris

Hi, I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies

6. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

7. 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

Featured Tech Videos