Skip to main content
Question

Debian Local Poller - UNKNOW Plugins (Execute Command Failed) After migration

  • August 2, 2023
  • 6 replies
  • 446 views

Forum|alt.badge.img+1

Hi the community,

I have follow multiple procedures of centreon documentation to migrate my centreon in 2.8 on CentOS 6 to centreon 23.04 on Debian 11 and everything is functional except some of my personnalised plugins.

 

When I run the command on CLI, it work :

 

But in web interface it return “Execute command failed” :

 

Here is my right access :


If you can help me, I'd be very grateful.

6 replies

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • August 30, 2023

Hi @LeoDT 

Maybe some commands/actions cannot be performed by user centreon-engine.

I can see you tested your command as `root`, but it’s a better habit to test it as `centreon-engine`

Can you try 

su - centreon-engine

and then try your command again?


Forum|alt.badge.img+1
  • Author
  • Steward *
  • August 30, 2023

Hi @omercier ,

Thanks a lot for your answer.

 

I executed the command as `centreon-engine`, but the problem remain the same :

 


Forum|alt.badge.img+3
  • Steward *
  • May 16, 2024

Up here !


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 16, 2024

Hi @Julius and @LeoDT,

Have you enabled SELinux on your servers?


Forum|alt.badge.img+3
  • Steward *
  • June 10, 2024

Hi @omercier, thanks for you answer,

How SELinux is supposed to help in this situation ? I’m afraid it would become be a new issues generator…

 

Thanks a lot


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • June 11, 2024

@Julius precisely, I suspect SELinux to be enabled, preventing centengine from working normally.