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'
Error Installing nagios analyser on centos 7
-
- Posts: 2
- Joined: Sun Apr 30, 2017 6:16 am
Error Installing nagios analyser on centos 7
You do not have the required permissions to view the files attached to this post.
Re: Error Installing nagios analyser on centos 7
I found the following message in the install.log file
Can you run the following on the NNA server and post the output to check for that environment variable?
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?
There could be a custom PYTHONPATH environment variable setup on the server causing the error.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'
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
Can you post that file so we can look at it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 2
- Joined: Sun Apr 30, 2017 6:16 am
Re: Error Installing nagios analyser on centos 7
Please find the attachments for the update
You do not have the required permissions to view the files attached to this post.
Re: Error Installing nagios analyser on centos 7
The output for those commands look good.
Run the following command to create a folder Python uses to store temporary files
Then, try and install NNA again.
If it fails, run the following commands and post the /tmp/info.txt file.
Run the following command to create a folder Python uses to store temporary files
Code: Select all
mkdir /root/.python-eggs
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!