1. Home /
  2. FAQ /
  3. Error Message: “Unable to create the directory /usr/local/opmon”

Error Message: “Unable to create the directory /usr/local/opmon”

Objective

Submit a solution for the error “Was not possoble to create the directory /usr/local/opmon” that occurs when trying to install the agent the SELinux is in enforcing mode.

Symptom

When trying to install the agent accurs the Error: “Unable to create the directory /usr/local/opmon”

Solution

To solve this error, just modify the SELinux mode to Permissive during the installation, for that, follow the next steps:

1) Verify the SELinux mode

[root@localhost~]# getenforce
Enforcing

2) Changing the SELinux mode

In the previous example, it’s in the mode Enforcing, therefore we must modify the mode to Permissive. For that run the following command:

[root@localhost~]# setenforce Permissive

3) Checking the change

To verify if the command that was executed really changed the mode to Permissive, run again the command to verify the mode, see:

[root@localhost~]# getenforce
Permissive

4) Finalizing

After finalizad the modification restart the agent installation.

Updated on 01/09/2021

Was this article helpful?

Ficou com alguma dúvida?

Perguntas & Respostas

Participe da nossa comunidade e tire dúvidas ou compartilhe respostas e ideias.

Participar

Professional Support

Não encontrou a resposta que procura? Não se preocupe, estamos aqui para ajudar!

Abrir chamado

Treinamento Online

Através da plataforma Udemy, você encontra todos os treinamentos das nossas soluções.

Inscreva-se