Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I remove a MASKED service from SMF ?

User611985Sep 5 2014 — edited Sep 7 2014

I've imported a service, using inetconv, into the smf repository with a typo. 

The service is now MASKED so I can't remove it using svcadm delcust.

Can a service be un-MASKED ?

I get the following output from svccfg listcust -M | grep nrpe

svc:/network/nrpe/tcp manifest MASKED

  manifestfiles/lib_svc_manifest_network_nrpe-tcp_xml astring     admin          MASKED /lib/svc/manifest/network/nrpe-tcp.xml

  inetd_start/arg0                                    astring     admin          MASKED /usr/local/nagios/nrpe

  inetd_start/exec                                    astring     admin          MASKED "/usr/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i"

  inetconv/source_line                                astring     admin          MASKED "nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i"

  inetd/name                                          astring     admin          MASKED nrpe

  tm_common_name/C                                    ustring     admin          MASKED nrpe

svc:/network/nrpe/tcp:default manifest MASKED

How do I get rid of /network/nrpe/tcp so I can re-import it with the correct entries ?

Any help would be appreciated

Thanks

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 5 2014
Added on Sep 5 2014
1 comment
2,333 views