Page 1 of 1
Debian installation error
Posted: Sat Sep 16, 2023 5:32 pm
by johnnyt129
I'm trying to install Log Server on Debian 11 (wouldn't work on latest Debian 12) and am getting the following error:
Am following the instructions here:
https://assets.nagios.com/downloads/nag ... Server.pdf
Why isn't it working, and how do I fix it?
Re: Debian installation error
Posted: Sun Sep 17, 2023 10:29 am
by johnnyt129
Tried again half a day later in case this was a case of a temporary outage. Still getting error about repository not found.
Also wanted to mention that the installation can't find OpenJDK 8. See more complete error message:
Nagios Log Server Installation
==============================
DATE: Sun 17 Sep 2023 11:11:14 AM EDT
DISTRO INFO:
Debian
11
x86_64
Running 'prereqs'...
Checking for OpenJDK 8 availability... not found.
=========
IMPORTANT
=========
Debian 10 and 11 are missing some prerequisite packages needed for Nagios
Log Server.
To work around this, we need a repository that provides openjdk-8-jdk. We
can configure this automatically.
At the prompt, enter "y" to automatically configure and add "stretch"
(Debian 9 packages) to your repository list.
Enter "n" to cancel the installation process.
Configure an additional repository? [Y/n] y
Configuring repository...
Hit:1
http://ftp.ca.debian.org/debian bullseye InRelease
Get:2
http://ftp.ca.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3
http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Ign:4
http://security.debian.org/debian-security stretch/updates InRelease
Err:5
http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 151.101.126.132 80]
Reading package lists...
E: The repository '
http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
===================
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: 'prereqs'
I tried looking for a repository that provides Open JDK 8 for Debian 11 but the ones I found say either "Obsolete" or "not stable". there's also mention of security issues with it.
Does this mean I should not use Nagios Log Server running on Debian - or, perhaps, at all due to Java security issue? I didn't get any similar errors running on Ubuntu (but am having another problem with it that I was hoping wouldn't occur under Debian - see
viewtopic.php?t=66054)
Re: Debian installation error
Posted: Mon Oct 23, 2023 5:29 pm
by swolf
Hi
@johnnyt129, thanks for the bug report - I've filed an issue for this.
I will say that Debian is the least-used of all the supported distributions across each of our products. Log Server in particular has some older dependencies that still require Java 8, which was in turn solved by creating a "franken-Debian" during install. It looks like your Ubuntu issue was solved, so I'd definitely recommend that over Debian for the time being. We do have plans to get our dependencies up to date during 2024, but that's not really an actionable time-frame for you.
Hopefully that helps - feel free to reach out with any additional questions or concerns.
Re: Debian installation error
Posted: Wed Dec 06, 2023 1:28 pm
by jmichaelson
Hi @geraldinemaggio
Debian moved the stretch repositories over to their archives page. Our latest release of Nagios Log Server (2024R1) has a corrected installer to point to the archives, while we update the OpenJDK dependencies. Installing that will work. However, you may have to remove the line for the stretch security updates from /etc/apt/sources.list to get the new installer to run on Debian 11.
Re: Debian installation error
Posted: Tue Dec 12, 2023 5:55 pm
by ssunga
Would love to get updated on this!