Hi,

I got a service which checks whether the service is already running
before attempting to start it again. 

Now I start it in the legacy manner i.e. "<path> <servicename> start"

This starts the service.

After this, when I give svcadm enable <FMRI of the service>, again it
executes the start method and the previous process is killed and a new
process is initiated. 

Can someone clarify me if the same process cannot be retained because
when the smf executes the start method, it vcerifies for previous
instance of the process and returns 0, which is not sufficient for the
service to change to online state. So the SMF feature executes stop once
and starts again.

Pleas do clarify me on this.


Thanks,
Prasath

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to