My Oracle Support Banner

How To Mask/Unmask A Service in OL7. (Doc ID 2525903.1)

Last updated on OCTOBER 07, 2020

Applies to:

Oracle Linux Cloud Service - Version Oracle Linux 7.1 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64
Linux x86-64 on Oracle Public Cloud

Goal

Show the way to mask/unmask a service over OL7.

In this example the sendmail service is masked:

#systemctl restart sendmail
Failed to restart sendmail.service: Unit is masked
#

Also you can check the masked services using this command:

# systemctl list-unit-files|grep -i mask
mdmonitor.service masked
sendmail.service masked
smartd.service masked
uptrack-late.service masked
#

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.