# Issue installing x-pack with logstash 5.2.1

**URL:** https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785
**Category:** Logstash
**Created:** [February 20, 2017, 6:46pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785 "2017-02-20T18:46:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vinodpattel](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@vinodpattel](https://discuss.elastic.co/u/vinodpattel)
#### Post date: [February 20, 2017, 6:46pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/1 "2017-02-20T18:46:10Z")

</div>

Hi,

I installed logstash 5.2.1 & tried offline installation of x-pack 5.2.1. This seems to hang, with no progress on installation.  
x-pack-5.2.1.zip file was downloaded and placed in /var/tmp folder.

# ls -lrt /var/tmp/x-pack-5.2.1.zip

-rwxrwxrwx 1 root root 124956667 Feb 20 10:42 /var/tmp/x-pack-5.2.1.zip

I tried installing this x-pack using 'logstash-plugin' command. It hangs and does nothing.

# DEBUG=1 bin/logstash-plugin install file:///var/tmp/x-pack-5.2.1.zip

DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/pluginmanager/main.rb install file:///var/tmp/x-pack-5.2.1.zip  
Local file: /var/tmp/x-pack-5.2.1.zip  
Installing with strategy: LogStash::PluginManager::PackInstaller::Local  
Installing file: /var/tmp/x-pack-5.2.1.zip

Nothing happens after this. There plugin does not get installed nor does it fail.  
However, the same xpack plugin file gets successfully installed to Elasticseach and Kibana. Plugin installation hangs ONLY for logstash.  
I don't understand what the problem is. Can someone help me fix this ??

---

<div class="post-metadata">

### Author: ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)
#### Post date: [February 21, 2017, 11:16pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/2 "2017-02-21T23:16:03Z")

</div>

Is your Logstash on the same machine as your ES? If not, can you download Logstash on the same machine as your ES and give the install a try.

You can also run jstack on the Logstash process to see what's going on with the thread.

---

<div class="post-metadata">

### Author: ![vinodpattel](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@vinodpattel](https://discuss.elastic.co/u/vinodpattel)
#### Post date: [February 24, 2017, 5:02am UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/3 "2017-02-24T05:02:40Z")

</div>

Thanks @jkuang !  
It seems to work fine. I tried on a system with & without ES. Works on both.  
However, it take way loooong time to complete. Though installation happens, the SSH session hangs and terminal becomes unresponsive. I see this while executing 'logstash-plugin' and 'kibana-plugin' commands. With 'elasticsearch-plugin' command things are seamless.

---

<div class="post-metadata">

### Author: ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)
#### Post date: [February 24, 2017, 4:04pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/4 "2017-02-24T16:04:12Z")

</div>

The logstash x-pack installation should also work seamlessly. What is the hardware specs on the machines you're trying to install logtash on? What other applications / processes are you running those machines?

---

<div class="post-metadata">

### Author: ![krishna\_chaitanya](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@krishna\_chaitanya](https://discuss.elastic.co/u/krishna_chaitanya)
#### Post date: [February 24, 2017, 9:31pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/5 "2017-02-24T21:31:47Z")

</div>

I also had similar issue before. I used to receive segmentation fault error after a very long time during xpack installation. Link to the issue [here](https://discuss.elastic.co/t/xpack-installation-error-segmentation-fault/68390). This might help

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 24, 2017, 9:31pm UTC](https://discuss.elastic.co/t/issue-installing-x-pack-with-logstash-5-2-1/75785/6 "2017-03-24T21:31:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
