Nagios4 not found

Status
Not open for further replies.

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
I had nagios4 installed from when this jail was setup on my FreeNAS 11.1, but was having issues with plugins and removed all as I wanted to reinstall. But now, nagios4 will not install...

Code:
root@monitor:/usr/local/etc # pkg install nagios4
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
		nagios4: 4.3.4_1,1
		php56-xml: 5.6.36_1

Number of packages to be installed: 2

The process will require 7 MiB more space.
1 MiB to be downloaded.

Proceed with this action? [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:11:x86:64/latest/All/nagios4-4.3.4_1,1.txz: Not Found


I do not see freebsd:11:x86:64 on pkg.FreeBSD.org, but I do see nagios4 in the same location under FreeBSD:11:amd64. I've tried pkg update, which indicates all repos up to date, and portsnap fetch update. Can someone suggest how I can get this package installed?

If I try to build manually from the ports tree, I get the following while the nagios-plugins package and others install without issue successfully:

Code:
root@monitor:/usr/ports/net-mgmt/nagios4 # make
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-mgmt/nagios4
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/nagios4
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
It's likely that this is a 11.0 jail and is EOL. What is the output of freebsd-version from the jail in question?
 

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
Well, the jail was added while on FreeNAS 11.1-stable, but your suspicious is correct...

Code:
root@monitor:~ # freebsd-version
11.0-RELEASE-p1
root@monitor:~ # uname -a
FreeBSD monitor.webtent.net 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+e0c4ca60dfc(freenas/11.1-stable): Wed May 30 14:18:20 EDT 2018	 root@nemesis.tn.ixsystems.com:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64  amd64


So, how to update a jail? Sorry, my first jail, is this true?

https://forums.freenas.org/index.php?threads/update-jail-base-system.26610/

I'll have to destroy the jail everytime FreeBSD does an update and start over? That doesn't make sense.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
Well was is created in the GUI or did you create it using iocage and the CLI? If it's the former then yes you will have to re create it using iocage and the CLI. If it's the latter it can be upgraded.
 

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
Yep, guess I'll start over with iocage. Good to know, don't use the GUI for jails... thanks!
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
don't use the GUI for jails
The current GUI that is until the GUI is replaced in 11.2. The new GUI is tied to iocage and any jails created now via the CLI will show up in the new UI.
 

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
Yeah, should have read up on Jails before posting. I see the note now.
 
Status
Not open for further replies.
Top