# Offline installation of X-Pack 5.2.2 on elastic search 5.2.2

**URL:** <https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189>\
**Category:** Elasticsearch\
**Created:** [April 21, 2017, 9:52am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189 "2017-04-21T09:52:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthble](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@anthble](https://discuss.elastic.co/u/anthble)\
**Post date:** [April 21, 2017, 9:52am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189/1 "2017-04-21T09:52:25Z")

</div>

Hi,

i having some issue installing X-Pack 5.2.2 on elastic search 5.2.2.  
see below the result of the offline installation command.

D:\apps\elasticsearch-5.2.2\bin\>elasticsearch-plugin.bat install file://D:/apps/Installer/x-pack-5.2.2.zip  
-\> Downloading file://D:/apps/Installer/x-pack-5.2.2.zip  
Exception in thread "main" java.net.UnknownHostException: D  
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)  
at java.net.PlainSocketImpl.connect(Unknown Source)  
at java.net.Socket.connect(Unknown Source)  
at java.net.Socket.connect(Unknown Source)  
at sun.net.ftp.impl.FtpClient.doConnect(Unknown Source)  
at sun.net.ftp.impl.FtpClient.tryConnect(Unknown Source)  
at sun.net.ftp.impl.FtpClient.connect(Unknown Source)  
at sun.net.ftp.impl.FtpClient.connect(Unknown Source)  
at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)  
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)  
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:279)  
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:254)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:195)  
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.Command.main(Command.java:88)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

nslookup work also  
i have registered the ip and host in the hostfile  
installing X-Pack 5.2.2 on kibana 5.2.2 using the file works.  
any help is welcome

Thanks

Pac

---

<div class="post-metadata">

**Author:** ![shanec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shanec/32/4004_2.png) [@shanec](https://discuss.elastic.co/u/shanec)\
**Post date:** [April 21, 2017, 11:44pm UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189/2 "2017-04-21T23:44:52Z")

</div>

> [@anthble](#):
>
> g file

You're just missing 1 character (there should be 3 slashes after `file:` instead of 2).

`elasticsearch-plugin.bat install file:///D:/apps/Installer/x-pack-5.2.2.zip`  
should work

---

<div class="post-metadata">

**Author:** ![anthble](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@anthble](https://discuss.elastic.co/u/anthble)\
**Post date:** [April 23, 2017, 7:40am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189/3 "2017-04-23T07:40:06Z")

</div>

Thanks mate i will try it on Monday.

---

<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:** [May 21, 2017, 7:42am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack-5-2-2-on-elastic-search-5-2-2/83189/4 "2017-05-21T07:42:20Z")

</div>

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