Debian 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
johnnyt129
Posts: 4
Joined: Sat Sep 16, 2023 2:33 pm

Debian installation error

Post 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:
Err:4 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 151.101.126.132 80]
Hit:5 http://ftp.ca.debian.org/debian bullseye-updates InRelease
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.
Am following the instructions here: https://assets.nagios.com/downloads/nag ... Server.pdf

Why isn't it working, and how do I fix it?
johnnyt129
Posts: 4
Joined: Sat Sep 16, 2023 2:33 pm

Re: Debian installation error

Post 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)
User avatar
swolf
Developer
Posts: 302
Joined: Tue Jun 06, 2017 9:48 am

Re: Debian installation error

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: Debian installation error

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

-Jason
ssunga
Posts: 32
Joined: Wed Aug 09, 2023 10:38 am

Re: Debian installation error

Post by ssunga »

Would love to get updated on this!
Post Reply