I have a problem. Since I started the installation of a package, “libnet-ssh2-perl,” and then canceled it, I can no longer deploy the changes I make. Additionally, if I try to restart my Icinga service, it stops working. Here is a screenshot of the error message.
It’s strange because I still see consistent monitoring. For example, I’m currently receiving alerts about a machine’s memory, and the figures are accurate. And I don’t have another Icinga server.
May it be possible that an icinga2 process is still running, while your package manager has already removed the binary? Depending on your operating system, you can try to verify this with something like ps aux | grep icinga.
Otherwise, I would second @moreamazingnick in making a backup of both your configuration and database, reinstall Icinga 2, import your backup and you should be good to go. Maybe perform a reboot after you done your backup to be certain no strange processes are spooking around.
Yes, I think the process was still running while the binary had already been removed. The issue is resolved; we restored from a backup. Otherwise, I think reinstalling Icinga would have been necessary. However, I have an issue with my Dashing Icinga. If you would like to help, I have created a new ticket.