Dear,
I am new in this forum.
I am trying to install Nagios Log Server on Linux Redhat Enterprise edition version 7.4.
When I ran ./fullinstall then I got this error of pre-requisite dependency.
Error: Package: python2-pip-8.1.2-6.el7.noarch (epel)
Requires: python-setuptools
Please advise.
Thanks.
---
Regards,
Eric
FULLINSTALL error
Re: FULLINSTALL error
Hello ericlooi, the fullinstall script generates a file "install.log" Please private message me and attach the file. This will help my diagnose the issue you're experiencing. Thank you!
Re: FULLINSTALL error
Hi Brian Olson,
Please find attached the install.log file for your reference.
Keep me posted on the root cause and how to resolve it.
I am trying to install into Linux Redhat Enterprise version 7.4.
The server is not connected directly to Internet.
I need to install NagiosLogServer offline.
Thanks.
---
Regards,
ericlooi
Please find attached the install.log file for your reference.
Keep me posted on the root cause and how to resolve it.
I am trying to install into Linux Redhat Enterprise version 7.4.
The server is not connected directly to Internet.
I need to install NagiosLogServer offline.
Thanks.
---
Regards,
ericlooi
You do not have the required permissions to view the files attached to this post.
Re: FULLINSTALL error
Hello ericlooi,
Here's a link to our documentation for installing Nagios Logserver in an offline environment. Let us know if you have any additional questions.
https://support.nagios.com/kb/article/n ... n-495.html
Here's a link to our documentation for installing Nagios Logserver in an offline environment. Let us know if you have any additional questions.
https://support.nagios.com/kb/article/n ... n-495.html
Re: FULLINSTALL error
I stumbled onto this thread looking for offline install instructions. It looks like there's an update between when the linked instructions were written and version 2.0.7 where the logstash installer goes out and looks for Ruby Gems on its own, which isn't handled in the offline link. These are the relevant areas in the logs:
I tracked the command down to nagioslogserver/subcomponents/logstash/post-install, which re-writes the Gemfile and then tries to update from https://rubygems.org:
I've been trying to use bundler to package up this update and install it, but being a ruby novice I'm running into a bunch of trouble.
Any ideas on how to package up the correct gems to make this update work offline?
Code: Select all
Installing Logstash...
Applying Nagios patches to Logstash...
Updating Logstash plugins...
Error Bundler::HTTPError, retrying 1/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 2/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 3/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 4/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 5/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 6/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 7/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 8/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 9/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 10/10
Could not fetch specs from https://rubygems.org/
Too many retries, aborting, caused by Bundler::HTTPError
ERROR: Updated Aborted, message: Could not fetch specs from https://rubygems.org/
===================
INSTALLATION ERROR!
===================
Code: Select all
# Update logstash input tcp for tcp connection leaks nagioslogserver/subcomponents/logstash/post-install
if [ $JAVA_VER -eq 8 ]; then
sed -i 's/gem "logstash-input-tcp".*/gem "logstash-input-tcp", "~>4"/' /usr/local/nagioslogserver/logstash/Gemfile
/usr/local/nagioslogserver/logstash/bin/logstash-plugin update logstash-input-tcp
fi
Any ideas on how to package up the correct gems to make this update work offline?
Re: FULLINSTALL error
The offline install KB is in need of updating.
Before running the install on the offline machine you'll also want to edit /tmp/nagioslogserver/subcomponents/logstash/post-install and comment out the line:
# /usr/local/nagioslogserver/logstash/bin/logstash-plugin update logstash-input-tcp
After the install, you can update the logstash-input-tcp plugin by copying it to /tmp and running:
/usr/local/nagioslogserver/logstash/bin/logstash-plugin install --local /tmp/logstash-input-tcp-4.2.4-java.gem
logstash-input-tcp-4.2.4-java.txt is attached. You'll need to rename it to logstash-input-tcp-4.2.4-java.gem. If you need any further assistance with this going forward, please open a new thread.
Before running the install on the offline machine you'll also want to edit /tmp/nagioslogserver/subcomponents/logstash/post-install and comment out the line:
# /usr/local/nagioslogserver/logstash/bin/logstash-plugin update logstash-input-tcp
After the install, you can update the logstash-input-tcp plugin by copying it to /tmp and running:
/usr/local/nagioslogserver/logstash/bin/logstash-plugin install --local /tmp/logstash-input-tcp-4.2.4-java.gem
logstash-input-tcp-4.2.4-java.txt is attached. You'll need to rename it to logstash-input-tcp-4.2.4-java.gem. If you need any further assistance with this going forward, please open a new thread.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.