Page 1 of 2

Offline Install not working

Posted: Tue Mar 27, 2018 1:46 pm
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

Re: Offline Install not working

Posted: Tue Mar 27, 2018 2:11 pm
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

Re: Offline Install not working

Posted: Wed Mar 28, 2018 5:55 am
by vmwareguy
I did everything needed on the internet facing server.

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:09 am
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

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:40 am
by vmwareguy
can you tell me what epel repos I need?

We use spacewalk to push repos to our offline servers -

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:44 am
by scottwilkerson
vmwareguy wrote:can you tell me what epel repos I need?

Code: Select all

epel-release

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:49 am
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 -

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:53 am
by scottwilkerson
let us know if we can be of further assistance

Re: Offline Install not working

Posted: Wed Mar 28, 2018 8:54 am
by vmwareguy
Which packages from epel-release do I need.

Re: Offline Install not working

Posted: Wed Mar 28, 2018 9:06 am
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"