Offline Install not working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
vmwareguy
Posts: 69
Joined: Wed Mar 16, 2016 9:41 am

Offline Install not working

Post by vmwareguy »

I'm trying to do an offline install of Log user using the these instructions https://support.nagios.com/kb/article/n ... n-495.html

But when I finally try to run the install I get the following error:

[root@data nagioslogserver]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
Installing on el7

Nagios Log Server Installation
==============================
DATE: Tue Mar 27 14:46:16 EDT 2018

DISTRO INFO:
CentOS
7.4.1708
x86_64

Running 'setup_local_syslog'...
setup_local_syslog step already completed - skipping
Running 'prereqs'...
Enabling epel repo...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: assets.nagios.com; Name or service not known

===================
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'


Any ideas whats going on with this - I'm at a loss
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Offline Install not working

Post by scottwilkerson »

Please note, the instructions are performed on 2 different servers, read very closely, you need a
Internet facing server
AND
Offline Server

you need to do a quite a few things on the Internet facing server before moving to the offline server
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vmwareguy
Posts: 69
Joined: Wed Mar 16, 2016 9:41 am

Re: Offline Install not working

Post by vmwareguy »

I did everything needed on the internet facing server.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Offline Install not working

Post by scottwilkerson »

Looking again you are getting here because the offline server doesn't have epel-release installed, per the guide

The server will require access to offline yum repositories of:

Operating System Repositories

EPEL Repository
You will need access to an offline version of epel repository
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vmwareguy
Posts: 69
Joined: Wed Mar 16, 2016 9:41 am

Re: Offline Install not working

Post by vmwareguy »

can you tell me what epel repos I need?

We use spacewalk to push repos to our offline servers -
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Offline Install not working

Post by scottwilkerson »

vmwareguy wrote:can you tell me what epel repos I need?

Code: Select all

epel-release
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vmwareguy
Posts: 69
Joined: Wed Mar 16, 2016 9:41 am

Re: Offline Install not working

Post by vmwareguy »

scottwilkerson wrote:
vmwareguy wrote:can you tell me what epel repos I need?

Code: Select all

epel-release

I'll give that a try -
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Offline Install not working

Post by scottwilkerson »

let us know if we can be of further assistance
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vmwareguy
Posts: 69
Joined: Wed Mar 16, 2016 9:41 am

Re: Offline Install not working

Post by vmwareguy »

Which packages from epel-release do I need.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Offline Install not working

Post by scottwilkerson »

Actually, I just verified with the developers and I don't believe any are currently required but they may require some in the future.

If you can get future packages, you can circumvent this all by just commenting the following line in the fullinstall script

Code: Select all

add_yum_repo "epel"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked