Page 1 of 2
NNA installation issue
Posted: Fri Sep 16, 2016 12:18 pm
by ls4074
Hello,
I am trying to install NNA to do some POC, but I got the following errors:
#./fullinstall
Nagios Network Analyzer Installation
====================================
DATE: Fri Sep 16 10:13:59 PDT 2016
DISTRO INFO:
RedHatEnterpriseServer
6.5
x86_64
Running 'prereqs'...
HELLO0
Enabling epel repo...
6
curl: (7) couldn't connect to host
===================
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'
Re: NNA installation issue
Posted: Fri Sep 16, 2016 12:23 pm
by tmcdonald
Does this machine have an Internet connection? It looks like it is not able to reach out.
Also, please include the install.log file as indicated in the error output.
Re: NNA installation issue
Posted: Fri Sep 16, 2016 3:25 pm
by ls4074
Hello Trevor,
Sorry, I didn't see your reply until now (I didn't get notification when response is posted. Just learned I can set the notification).
Yes, this machine has Internet connection. I can ping yahoo.com from this machine.
here is the content on the install.log
[ls4074@olph171 nagiosna]$ sudo cat install.log
Nagios Network Analyzer Installation
====================================
DATE: Tue Sep 13 13:29:40 PDT 2016
DISTRO INFO:
RedHatEnterpriseServer
6.5
x86_64
Running 'prereqs'...
Enabling epel repo...
6
curl: (7) couldn't connect to host
===================
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'
[ls4074@olph171 nagiosna]$ ping yahoo.com
PING yahoo.com (98.138.253.109) 56(84) bytes of data.
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=1 ttl=45 time=93.3 ms
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=2 ttl=45 time=83.0 ms
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=3 ttl=45 time=74.3 ms
......
Re: NNA installation issue
Posted: Sun Sep 18, 2016 9:18 pm
by Box293
What is the output of this command:
Code: Select all
curl -L -O https://assets.nagios.com/epel/epel-release-latest-6.noarch.rpm
Re: NNA installation issue
Posted: Mon Sep 19, 2016 10:35 am
by ls4074
Hello,
Here is what I got for the curl command:
[ls4074@olph171 ~]$ curl -L -O
https://assets.nagios.com/epel/epel-rel ... noarch.rpm
curl: (7) couldn't connect to host
however, On my pc, I could access the above URL.
Thanks!
Re: NNA installation issue
Posted: Mon Sep 19, 2016 11:07 am
by bwallace
OK, let us know if you still have install issues after confirming the machine has internet access. Please be sure to post the install log - thanks -
Re: NNA installation issue
Posted: Mon Sep 19, 2016 1:24 pm
by ls4074
Hello,
The "curl: (7) couldn't connect to host" issue was caused by a proxy setting. I have fixed that. The install went quite a lot, but at the end, it gave errors. Please see the install.log in the attachment.
Thanks!
Re: NNA installation issue
Posted: Mon Sep 19, 2016 4:23 pm
by tgriep
It looks like the proxy server blocked a file from being downloaded correctly.
We have a KB article for setting is a Nagios XI server for a proxy that you can use on the NNA server. Take a look at it and see if following through it, fixes the issue.
https://support.nagios.com/kb/article.php?id=147
Re: NNA installation issue
Posted: Mon Sep 19, 2016 5:05 pm
by ls4074
I have updated the /etc/yum.conf and /etc/wgetrc to use the http_proxy server. However, still get the error. Please see the install.log in the attachment. I am wondering if we can get the required rpm packages and we will install them separately before we run fullinstall.
Thanks!
Re: NNA installation issue
Posted: Tue Sep 20, 2016 9:50 am
by lmiltchev
The step that failed was: 'wkhtmltopdf'
I suspect that you have a few copies (some probably corrupted) of the "wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm" package downloaded, i.e. "wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm.2"... because initially you didn't have your proxy configured properly. Try installing the package manually by running the following command:
Code: Select all
rpm -Uvh /path/to/wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm