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."
Code:
# svcs -x svc:/application/management/snmpdx:default
svc:/application/management/snmpdx:default (Sun Solstice Enterprise Master Agent)
State: maintenance since November 9, 2012 02:15:33 AM EST
Reason: Restarting too quickly.
See: http://sun.com/msg/SMF-8000-L5
See: snmpdx(1M)
See: /var/svc/log/application-management-snmpdx:default.log
Impact: This service is not running.
I will really appreciate it, if someone can help me fix this problem.
# tail /var/svc/log/application-management-snmpdx:default.log
[ Nov 9 04:21:12 Method "start" exited with status 0 ]
[ Nov 9 04:21:12 Stopping because all processes in service exited. ]
[ Nov 9 04:21:12 Executing stop method ("/lib/svc/method/svc-snmpdx stop 197") ]
[ Nov 9 04:21:12 Method "stop" exited with status 0 ]
[ Nov 9 04:21:12 Executing start method ("/lib/svc/method/svc-snmpdx start") ]
[ Nov 9 04:21:12 Method "start" exited with status 0 ]
[ Nov 9 04:21:12 Stopping because all processes in service exited. ]
[ Nov 9 04:21:12 Executing stop method ("/lib/svc/method/svc-snmpdx stop 199") ]
[ Nov 9 04:21:12 Method "stop" exited with status 0 ]
[ Nov 9 04:21:12 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)
Hello everyone!
I am new here and by new i don't mean only in this place, but in this shell scripting area. I started learning about Operation Systems only 2 months ago.
I want to learn more but i found a problem which I don't really know how to solve. :confused:
I have a directory with 4... (2 Replies)
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:
... (1 Reply)
Hi,
Can you please clear me the difference between restarting the daemon and the service. To be more clear,
/etc/init.d/mysqld restart
and
/etc/init.d/mysqld restart
What is the difference on this both two?..... (4 Replies)
Hi,
Im wondering, if I do a restart of my lpd service, will it clear the print queue? Or will the file in queue will still be there after the restart?
Thank you (1 Reply)
Write a nawk script that will produce the following report:
***FIRST QUARTERLY REPORT***
***CAMPAIGN 2004 CONTRIBUTIONS***
-------------------------------------------------------------------------
NAME PHONE Jan | ... (5 Replies)
I want to pass arguments to a sh program and I want to use these arguments in the program as variables?
Will I use argc and argv in a main function can anyone around me write the full code please
for example when I write in th command
sh myprogram.sh argument1 argument2
I want to use... (1 Reply)