Solved

Centos "failed to execute operation: no such file or directory"

  • 25 March 2022
  • 8 replies
  • 1837 views

Badge +1

Hello, 

In CentOS when i try to execute the command : 

systemctl enable rh-php72-php-fpm httpd24-httpd mariadb centreon cbd centengine gorgoned snmptrapd centreontrapd snmpd 

it displays me the message “failed to execute operation: no such file or directory”

how can i solve it ?

(i don’t now if i have selected the correct category”

icon

Best answer by sims24 25 March 2022, 16:30

View original

8 replies

Badge +1

this is really not the right category how can I change it

Userlevel 5
Badge +11

Hi @Caeko
In which category would you like to post your request? Tell me and I'll move your post until someone replies.
Regards, 

Badge +1

Hello @Fabrix 

I think it was moved because at first I had put it in the "news" category but I think the "platform" category is better suited

 

Userlevel 6
Badge +19

Hi @Caeko 


This is indeed an error, could you try with this one

 

systemctl enable php-fpm httpd24-httpd mariadb cbd centengine gorgoned snmptrapd centreontrapd snmpd

 

Should work. Share the link where you found this command so we can fix it.

 

Thx

Userlevel 3
Badge +10

Hi !

You could try to enable each service individually to identify which one produce this erorr message : 

systemctl enable rh-php72-php-fpm

systemctl enable httpd24-httpd

# ...

 

Userlevel 4
Badge +13

Hi
Can you send the output of these 2 commands?

uname -a
rpm -qa centreon\* | grep -ve "plugin\|pack" | sort

 

Badge +1

Hello @sims24 

It turns out that I was mistaken, on the official documentation I was not on the right version.
It was showing "20.4" but I'm on "21.10" lol.
so I switched to the right version.

as for the command you wrote me, it seems to work.

Thanks a lot

Badge +1

Hello @sduret and @kduret ,

 

don’t worry about that, i think i resolve my problem ^^

But thanks you ! :D

Reply