Unable to restart icinga2 services in linux

Hi

Could you please help me with the below issue?

I installed Icinga2 core on linux(Redhat). I tried to start the servies. ( /etc7init.d/ service icinga2 start.) Below error was shown

Redirecting to /bin/systemctl start icinga2.service
Failed to start icinga2.service: Interactive authentication required.
See system logs and ‘systemctl status icinga2.service’ for details.

Please help me how to resolve this issue and start icinga2 services succefully

Thanks_&Reargds

Hi,

Please paste the output of systemctl status icinga2.service

Thanks for the prompt response

Below is the output when I started icinga services.

“Checking configuration: Not starting Icinga 2 due to configuration errors. Check ‘/…/icinga/var/log/icinga2/startup.log’ for details.”

Verfiied the startup .log which says

“…/icinga/lib64/icinga2/sbin/icinga2: error while loading shared libraries: libboost_context.so.1.71.0: cannot open shared object file: No such file or directory”

But the library files mentioned in the startup log are available. I installed boost 1.71 version. While configuring icinga as well I added the above mentioned library files.

Please help me how to resolve.

Thanks&Regards

Can you specify what system are you on ?

We installed it on linux redhat. We compiled the source code icinga2-2-11-0.tar.gz file (as per customer requirement).

Did you use the src rpm to comile it? if no, use it to compile it on customer systems.
Also from my knowledge Icinga2 2.11 depends on boost 1.69 and not 1.71

Regards,
Carsten

1 Like

Thank you Carsten. I will try as you suggested

It should work, but you won’t get support for self-compiled stuff. We only test what’s integrated with the packages, also with CI tests after building them prior to uploading to the repository.

I also have the exact same error message:

systemctl start icinga2

Failed to start icinga2.service: Interactive authentication required.
See system logs and ‘systemctl status icinga2.service’ for details.
However, mine is easy to fix… just su to root and start the icinga2.