Hi, I have an SMF manifest to start / stop the DAS (Sun Application Server 8.1 EE).
The DAS is quite large, and as a result takes ~43 min to start. The SMF manifest is attached below. Executing "svcadm enable das" result in the service going into maintenance after 20 min, but the DAS does still starts after 43min. So even though the DAS does get started successfully in 43 min, SMF shows the following. # svcs | grep das # maintenance 1:40:10 svc:/application/das:default I have also tried "svcadm enable -s das" with the same result. In addition I have tried -1 in the manifest instead of 0 for timeout_seconds. The service log is also attached below. (Note: stop gets called by SMF after 20 (It seems to timeout) but the das is still starting) What is needed to correct this? Thanks for the help, Greg ---------------------------------------------------------------------------------------------- <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle type='manifest' name='export'> <service name='application/das' type='service' version='0'> <create_default_instance enabled='true'/> <single_instance/> <exec_method name='start' type='method' exec='/opt/SUNWappserver/sbin/asadmin start-domain --user admin --passwordfile /opt/SUNWappserver/domain1_passwd --domaindir /var/opt/SUNWappserver/domains domain1' timeout_seconds='0'> <method_context> <method_credential user='appservd' privileges='basic'/> </method_context> <stability value='Evolving'/> </exec_method> <exec_method name='stop' type='method' exec='/opt/SUNWappserver/sbin/asadmin stop-domain --domaindir /var/opt/SUNWappserver/domains domain1' timeout_seconds='0'> <method_context> <method_credential user='appservd'/> </method_context> <stability value='Evolving'/> </exec_method> <stability value='Evolving'/> <template> <common_name> <loctext xml:lang='C'>Appserver Domain Administration Server</loctext> </common_name> <documentation> <manpage title='Appserver' section='1' manpath='/opt/SUNWappserver/appserver/man'/> </documentation> </template> </service> </service_bundle> ----------------------------------------------------------------------------- [ May 23 13:39:56 Enabled. ] [ May 23 13:39:56 Executing start method ("/opt/SUNWappserver/sbin/asadmin start-domain --user admin --passwordfile /opt/SUNWappserver/domain1_passwd --domaindir /var/opt/SUNWappserver/domains domain1") ] Starting Domain domain1, please wait. Log redirected to /var/opt/SUNWappserver/domains/domain1/logs/server.log. Could not stop the domain domain1. Domain is starting. CLI156 Could not start the domain domain1. [ May 23 14:00:33 Method "start" exited with status 1 ]