Nagios XI Installation error

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
patrickm1
Posts: 9
Joined: Tue Dec 17, 2019 4:11 pm

Nagios XI Installation error

Post 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'
bbahn
Posts: 258
Joined: Thu Jan 12, 2023 5:42 pm

Re: Nagios XI Installation error

Post 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
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
User avatar
jmichaelson
Posts: 264
Joined: Wed Aug 23, 2023 1:02 pm

Re: Nagios XI Installation error

Post 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
Please let us know if you have any other questions or concerns.

-Jason
patrickm1
Posts: 9
Joined: Tue Dec 17, 2019 4:11 pm

Re: Nagios XI Installation error

Post by patrickm1 »

I'm getting this error after running ./upgrade


cp: cannot create regular file '/usr/local/nagiosxi/var/': Not a directory
User avatar
swolf
Developer
Posts: 361
Joined: Tue Jun 06, 2017 9:48 am

Re: Nagios XI Installation error

Post 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
Developer @ Nagios 2017-05-15 thru 2024-08-06
ssunga
Posts: 72
Joined: Wed Aug 09, 2023 10:38 am

Re: Nagios XI Installation error

Post 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.
Post Reply