Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring net-snmp - restarting too quickly issue Post 302351858 by pupp on Wednesday 9th of September 2009 09:02:09 PM
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.
 

7 More Discussions You Might Find Interesting

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

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

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

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

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

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

7. 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
sndrd(1M)						  System Administration Commands						 sndrd(1M)

NAME
sndrd - Remote Mirror daemon SYNOPSIS
/usr/lib/sndrd [-c max_connections] [-l listen_backlog] DESCRIPTION
The sndrd daemon processes client Remote Mirror requests. Only the root user or a user with equivalent privileges can run this daemon. The daemon is automatically invoked in run level 2. sndrd restarts the TCP transport layers. Administrators wanting to change startup parameters for sndrd should, as root or equivalent, make changes in the /etc/default/sndr file rather than editing the /lib/svc/method/svc-rdcsyncd file. See sndr(4). OPTIONS
The sndrd daemon supports the following options: -c max_connections Sets the maximum number of connections allowed to the server over connection-oriented transports. By default, the number of connections is 16. -l listen_backlog Sets connection queue length for the RDC TCP over a connection-oriented transport. The default value is 10 entries. EXIT STATUS
0 Daemon started successfully. >0 Daemon failed to start. Error information is reported to syslog at level LOG_ERR. FILES
/lib/svc/method/svc-rdcsyncd Shell script for starting sndrd. /lib/svc/method/svc-rdc Shell script for stopping sndrd. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrdcr, SUNWrdcu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
svcadm(1M), syslogd(1M), ds.log(4), attributes(5) NOTES
Do not manually stop the sndrd deamon. If you need to manually stop sndrd perform these steps. This stops both the sndrd and sndrsyncd dae- mons. # svcadm disable svc:/system/nws_rdc # svcadm disable svc:/system/nws_rdcsyncd Do not manually start or restart the sndrd deamon. If you need to manually start sndrd perform these steps. This starts both the sndrd and sndrsyncd daemons. # svcadm enable svc:/system/nws_rdc # svcadm enable svc:/system/nws_rdcsyncd See svcadm(1M) for additional information. SunOS 5.11 2 Oct 2007 sndrd(1M)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy