NNA installation issue

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
ls4074
Posts: 13
Joined: Thu Feb 20, 2014 7:16 pm

NNA installation issue

Post 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'
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NNA installation issue

Post 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.
Former Nagios employee
ls4074
Posts: 13
Joined: Thu Feb 20, 2014 7:16 pm

Re: NNA installation issue

Post 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
......
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NNA installation issue

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ls4074
Posts: 13
Joined: Thu Feb 20, 2014 7:16 pm

Re: NNA installation issue

Post 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!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: NNA installation issue

Post 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 -
Be sure to check out the Knowledgebase for helpful articles and solutions!
ls4074
Posts: 13
Joined: Thu Feb 20, 2014 7:16 pm

Re: NNA installation issue

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NNA installation issue

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
ls4074
Posts: 13
Joined: Thu Feb 20, 2014 7:16 pm

Re: NNA installation issue

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NNA installation issue

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked