Page 1 of 1

Nagios XI Installation error

Posted: Thu May 30, 2024 12:59 pm
by patrickm1
I'm trying to install Nagios LS on Ubuntu 22.04 without avail. I am getting this error. Although I'm able to reach the GUI interface even though the installation says it failed.

The following packages have unmet dependencies:
libharfbuzz-subset0 : Depends: libharfbuzz0b (>= 5.1.0) but 2.7.4-1ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'backend'

Re: Nagios XI Installation error

Posted: Thu May 30, 2024 2:42 pm
by bbahn
Hello @patrickm1,

It seems you have some broken packages.

To begin with, I suggest running the following:

Code: Select all

sudo apt update
sudo apt upgrade
After that, you can try manually installing the libharfbuzz0b package, check for held packages with sudo apt-mark showhold and try unholding them with sudo apt-mark unhold <package_name> and try fixing broken packages with sudo apt --fix-broken install

Re: Nagios XI Installation error

Posted: Mon Jun 03, 2024 3:47 pm
by jmichaelson
This is a result of a Debian package dependency change made after the product was released. We have a help document on the matter here:

https://answerhub.nagios.com/support/s/ ... and-Debian

Re: Nagios XI Installation error

Posted: Wed Jun 12, 2024 3:49 pm
by patrickm1
I'm getting this error after running ./upgrade


cp: cannot create regular file '/usr/local/nagiosxi/var/': Not a directory

Re: Nagios XI Installation error

Posted: Thu Jun 13, 2024 9:43 am
by swolf
Hi @patrickm1,

Which product are you installing? From your opening post, it sounds like you're trying to set up Nagios Log Server on a new server, but the thread title and error suggest that you're trying to install Nagios XI.

-Sebastian

Re: Nagios XI Installation error

Posted: Thu Jun 13, 2024 10:04 am
by ssunga
@patrickm1
Is it possible you're using the upgrade script from nagiosxi rather than Nagios Log Server? The lack of a `nagiosxi` directory suggests you may be trying to upgrade `nagioslogserver` instead.

I would run ls /usr/local to observe if I have `nagiosxi` or `nagioslogserver` and adjust accordingly.