offline install of log server fails on updating logstash

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
bpennin
Posts: 65
Joined: Tue Feb 20, 2018 2:23 pm

offline install of log server fails on updating logstash

Post 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'
Last edited by tmcdonald on Mon Jul 02, 2018 11:30 am, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: offline install of log server fails on updating logstash

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
bpennin
Posts: 65
Joined: Tue Feb 20, 2018 2:23 pm

Re: offline install of log server fails on updating logstash

Post by bpennin »

Thanks - I will give that a try. Just to clarify - do your cat command then come back and run the ./install command?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: offline install of log server fails on updating logstash

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
bpennin
Posts: 65
Joined: Tue Feb 20, 2018 2:23 pm

Re: offline install of log server fails on updating logstash

Post by bpennin »

That worked :D Thanks for your help
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: offline install of log server fails on updating logstash

Post by scottwilkerson »

bpennin wrote:That worked :D Thanks for your help
Excellent, glad to be of assistance...

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked