Home   >>   Solaris   >>   How To Delete A Service In SMF
How To Delete A Service In SMF PDF Print E-mail
( 0 Votes )
How To - Solaris
Written by Christian Foronda   
Thursday, 13 January 2011 10:32

The svccfg command can be used to delete any SMF service.

Services need to be disabled:

	# svcadm disable idmgr
	# svcadm disable mysql
	# svcs idmgr mysql
	
	STATE         STIME    FMRI 
	disabled      17:24:23 svc:/application/database/mysql:default 
	disabled      17:25:52 svc:/application/web/idmgr:default 

Delete the services from the Repository:

	# svccfg delete idmgr 
	# svccfg delete mysql 
	# svcs idmgr mysql
	
	svcs: Pattern 'idmgr' doesn't match any instances 
	svcs: Pattern 'mysql' doesn't match any instances 
	STATE         STIME    FMRI 

Reference:
http://www.sun.com




blog comments powered by Disqus
Last Updated on Friday, 14 January 2011 13:38