# Installing x-pack on offline machines does not work on logstash

**URL:** <https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481>\
**Category:** Logstash\
**Created:** [February 17, 2017, 11:46am UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481 "2017-02-17T11:46:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![das-chick](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@das-chick](https://discuss.elastic.co/u/das-chick)\
**Post date:** [February 17, 2017, 11:46am UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/1 "2017-02-17T11:46:37Z")

</div>

when i try to install x-pack-5.0.2 on logstash 5.0.2 the manager tries to go to [rubygems.org](http://rubygems.org)

[root@node logstash]# ./bin/logstash-plugin install file:///tmp/x-pack-5.0.2.zip  
Validating file:///tmp/x-pack-5.0.2.zip  
Unable to download data from [https://rubygems.org](https://rubygems.org) - SocketError: initialize: name or service not known ([https://rubygems.org/latest\_specs.4.8.gz](https://rubygems.org/latest_specs.4.8.gz))  
ERROR: Installation aborted, verification failed for file:///tmp/x-pack-5.0.2.zip

---

<div class="post-metadata">

**Author:** ![suyograo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suyograo/32/44898_2.png) [@suyograo](https://discuss.elastic.co/u/suyograo)\
**Post date:** [February 24, 2017, 10:30pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/2 "2017-02-24T22:30:02Z")

</div>

> [@das-chick](#):
>
> x-pack-5.0.2

can you confirm what version of Logstash and x-pack you have? Do you mean x-pack 5.0.2 or 5.2.0?

---

<div class="post-metadata">

**Author:** ![das-chick](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@das-chick](https://discuss.elastic.co/u/das-chick)\
**Post date:** [February 27, 2017, 8:26am UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/3 "2017-02-27T08:26:52Z")

</div>

it's 5.0.2  
[root@node logstash]# rpm -qa|grep logstash  
logstash-5.0.2-1.noarch

---

<div class="post-metadata">

**Author:** ![suyograo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suyograo/32/44898_2.png) [@suyograo](https://discuss.elastic.co/u/suyograo)\
**Post date:** [February 27, 2017, 4:26pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/4 "2017-02-27T16:26:50Z")

</div>

Logstash x-pack was introduced in 5.2.0, so it will not work when installing on LS 5.0.2.

Please upgrade to [Logstash 5.2.0](https://www.elastic.co/blog/logstash-5-2-0-released) if you want to install the x-pack.

---

<div class="post-metadata">

**Author:** ![das-chick](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@das-chick](https://discuss.elastic.co/u/das-chick)\
**Post date:** [February 27, 2017, 5:57pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/5 "2017-02-27T17:57:35Z")

</div>

I just found that out on a node with Internet Access. So i upgraded the whole Stack and it worked.

Thx

---

<div class="post-metadata">

**Author:** ![suyograo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suyograo/32/44898_2.png) [@suyograo](https://discuss.elastic.co/u/suyograo)\
**Post date:** [February 27, 2017, 5:59pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-offline-machines-does-not-work-on-logstash/75481/6 "2017-02-27T17:59:07Z")

</div>


