Auto-starting in Solaris 10 environments
Solaris 10 uses SMF (Service Management Facility) for creating and managing services. To enable MFT Server as a service perform the following.
-
As
root
user, create a user and group namedjscape
. -
As
root
user, run the commandusermod -K defaultpriv=basic,net_privaddr jscape
to grantjscape
user permissions to run services on ports less than 1024. -
As
jscape
user, run installer for Solaris as described in Installing on Solaris. -
Open the sample SMF manifest file
jscape_smf.xml
found in the MFT Server installation directory usingvi
or other text editor -
Change references to
/opt/mft_server
with the absolute path of MFT Server installation directory. -
As
root
user, validate SMF manifest file usingsvccfg validate jscape_smf.xml
command. -
As
root
user, import SMF manifest file usingsvccfg import jscape_smf.xml
command. -
As
root
user, Check for default Solaris FTP service using commandnetstat -na | grep 21
- If you wish to disable this service you may do so usingsvcadmin disable ftp:default
command. -
As
root
user, enable service usingsvcadm enable svc:/application/jscape:default
command. -
Check that service was started successfully and not in maintenance using
svcs -x jscape:default
command -
Verify that MFT Server Service is running using
netstat -na | grep 10880
command.
For more information on creating services using SMF please see the following links:
http://www.sun.com/software/solaris/howtoguides/smfmanifesthowto.jsp
http://www.sun.com/software/solaris/howtoguides/servicemgmthowto.jsp