Skip to main content
Solved

gorgoned.service Active: failed

  • February 16, 2024
  • 2 replies
  • 826 views

Forum|alt.badge.img+1

Hello !

I’m making test to deploy centreon on debian 11 aiming to deploy it on production.

All ok Poller is running, access http://127.0.0.1/centreon ok but gorgoned.service won’t start.

i made a second install from the start, same problem

Logs :

févr. 16 13:50:41 debian11-centreon systemd[1]: Started Centreon Gorgone.
févr. 16 13:50:41 debian11-centreon perl[41277]: Can't locate Clone/Choose.pm in @INC (you may need to install the Clone::Choose module) (@INC contains: /usr/bin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/per>
févr. 16 13:50:41 debian11-centreon perl[41277]: BEGIN failed--compilation aborted at /usr/share/perl5/Hash/Merge.pm line 7.
févr. 16 13:50:41 debian11-centreon perl[41277]: Compilation failed in require at /usr/share/perl5/gorgone/class/script.pm line 32.
févr. 16 13:50:41 debian11-centreon perl[41277]: BEGIN failed--compilation aborted at /usr/share/perl5/gorgone/class/script.pm line 32.
févr. 16 13:50:41 debian11-centreon perl[41277]: Compilation failed in require at /usr/lib/x86_64-linux-gnu/perl-base/base.pm line 135.
févr. 16 13:50:41 debian11-centreon perl[41277]:         ...propagated at /usr/lib/x86_64-linux-gnu/perl-base/base.pm line 157.
févr. 16 13:50:41 debian11-centreon perl[41277]: BEGIN failed--compilation aborted at /usr/share/perl5/gorgone/class/core.pm line 41.
févr. 16 13:50:41 debian11-centreon perl[41277]: Compilation failed in require at /usr/bin/gorgoned line 27.
févr. 16 13:50:41 debian11-centreon perl[41277]: BEGIN failed--compilation aborted at /usr/bin/gorgoned line 27.
févr. 16 13:50:41 debian11-centreon systemd[1]: gorgoned.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
févr. 16 13:50:41 debian11-centreon systemd[1]: gorgoned.service: Failed with result 'exit-code'.

Your help would be appreciated :)

 

 

 

Best answer by vcoum

Hello,

It seems there is a missing perl dependency (Clone::Choose)

On Debian you can install it via the package libclone-choose-perl

Can you try to install it via the command

apt install libclone-choose-perl

Then restart gorgone service and see if the error is still there?

2 replies

vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • Answer
  • February 16, 2024

Hello,

It seems there is a missing perl dependency (Clone::Choose)

On Debian you can install it via the package libclone-choose-perl

Can you try to install it via the command

apt install libclone-choose-perl

Then restart gorgone service and see if the error is still there?


Forum|alt.badge.img+1
  • Author
  • Steward *
  • February 16, 2024

Hello,

It works now, thanks a lot !

It can be useful to add the command line in the documentation Debian 11 install) (from a fresh debian 11 install it was the only command line missing to make everything work)

Best regards