Offline Install not working
Offline Install not working
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
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
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
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
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
Looking again you are getting here because the offline server doesn't have epel-release installed, per the guide
You will need access to an offline version of epel repository
The server will require access to offline yum repositories of:
Operating System Repositories
EPEL Repository
Re: Offline Install not working
can you tell me what epel repos I need?
We use spacewalk to push repos to our offline servers -
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
vmwareguy wrote:can you tell me what epel repos I need?
Code: Select all
epel-releaseRe: Offline Install not working
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
let us know if we can be of further assistance
Re: Offline Install not working
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
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
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"