Page 1 of 1

offline install of log server fails on updating logstash

Posted: Mon Jul 02, 2018 8:39 am
by bpennin
RHEL install of nagios log server fails on below step. This server is blocked from internet access so any resolution would have to be a package that could be installed from the server.


:RedHatEnterpriseServer
7.4
x86_64


Code: Select all

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!
===================
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: 'backend'

Re: offline install of log server fails on updating logstash

Posted: Mon Jul 02, 2018 1:43 pm
by scottwilkerson
The current version tries to reach out to the Internet to update the logstash-input-tcp

Here's what I suggest, from your installation directory run:

Code: Select all

cat /dev/null > subcomponents/logstash/post-install
this will skip this step and you likely can proceed with the previous version. This just was a fix for a very infrequently seen bug.

Re: offline install of log server fails on updating logstash

Posted: Tue Jul 03, 2018 7:19 am
by bpennin
Thanks - I will give that a try. Just to clarify - do your cat command then come back and run the ./install command?

Re: offline install of log server fails on updating logstash

Posted: Tue Jul 03, 2018 9:31 am
by scottwilkerson
bpennin wrote:Thanks - I will give that a try. Just to clarify - do your cat command then come back and run the ./install command?
correct

Re: offline install of log server fails on updating logstash

Posted: Tue Jul 03, 2018 11:40 am
by bpennin
That worked :D Thanks for your help

Re: offline install of log server fails on updating logstash

Posted: Tue Jul 03, 2018 12:00 pm
by scottwilkerson
bpennin wrote:That worked :D Thanks for your help
Excellent, glad to be of assistance...

Locking