I made change in my file XML and the log display: [ feb 8 15:15:23 Executing start method ("ttadmin -repstart scpasub") ] [ feb 8 15:15:23 Ignoring duplicate environment variable "PATH=/usr/sbin:/usr/bin". ] RAM Residence Policy : inUse Replication Agent Policy : manual Replication Manually Started : True Cache Agent Policy : manual Cache Agent Manually Started : False [ feb 8 15:15:24 Method "start" exited with status 0 ] [ feb 8 15:15:39 Stopping because service disabled. ] [ feb 8 15:15:39 Executing stop method ("ttadmin -repstop scpasub") ] /sbin/sh: ttadmin: not found [ feb 8 15:15:39 Method "stop" exited with status 1 ] [ feb 8 15:15:39 Executing stop method ("ttadmin -repstop scpasub") ] /sbin/sh: ttadmin: not found [ feb 8 15:15:39 Method "stop" exited with status 1 ] [ feb 8 15:15:39 Executing stop method ("ttadmin -repstop scpasub") ] /sbin/sh: ttadmin: not found [ feb 8 15:15:39 Method "stop" exited with status 1 ]
Very good execute the method start with the command ttadmin, but the stop method no find the comand ttadmin Why is the problem??? PD: the path is include in my PATH environment <exec_method type='method' name='start' exec='ttadmin -repstart scpasub' timeout_seconds='60'> <method_context> <method_credential user='scpadmin' group='scpadmin' /> </method_context> </exec_method> <exec_method type='method' name='stop' exec='ttadmin -repstop scpasub' timeout_seconds='60'> <method_context> <method_credential user='scpadmin' group='scpadmin' /> </method_context> </exec_method> <property_group name='startd' type='framework'> <propval name='duration' type='astring' value='transient' /> </property_group> This message posted from opensolaris.org