Error Installing nagios analyser on centos 7

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
rithin@mailcohen.com
Posts: 2
Joined: Sun Apr 30, 2017 6:16 am

Error Installing nagios analyser on centos 7

Post by rithin@mailcohen.com »

Error while installing nagios on centos 7 core.

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

Re: Error Installing nagios analyser on centos 7

Post by tgriep »

I found the following message in the install.log file
TEST FAILED: usr/local/lib64/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

usr/local/lib64/python2.7/site-packages/

and your PYTHONPATH environment variable currently contains:

'/usr/local/openvpn_as/lib/python2.7/site-packages'
There could be a custom PYTHONPATH environment variable setup on the server causing the error.
Can you run the following on the NNA server and post the output to check for that environment variable?

Code: Select all

env grep -i python
which python
echo $PYTHONPATH
It could also be a setting in the /etc/sudoers file blocking environment variables from being set.
Can you post that file so we can look at it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rithin@mailcohen.com
Posts: 2
Joined: Sun Apr 30, 2017 6:16 am

Re: Error Installing nagios analyser on centos 7

Post by rithin@mailcohen.com »

nagiosna.jpg
Please find the attachments for the update
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Error Installing nagios analyser on centos 7

Post by tgriep »

The output for those commands look good.

Run the following command to create a folder Python uses to store temporary files

Code: Select all

mkdir /root/.python-eggs
Then, try and install NNA again.

If it fails, run the following commands and post the /tmp/info.txt file.

Code: Select all

ls -l /usr/local >/tmp/info.txt
ls -l /usr/local/lib64 >>/tmp/info.txt
ls -l /usr/local/lib64/python2.7 >>/tmp/info.txt
ls -l /usr/local/lib64/python2.7/site-packages >>/tmp/info.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked