plugin install , on 5.1.2-12

Hi,

following the steps for ofline install at https://github.com/floragunncom/search-guard-docs/blob/master/installation.md

Search Guard 5

i have downloaded the zip ftom http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip

after stopping elasticsearch i run ar root -> bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip
and i get the following error.
i have done some search , and seems to me , that there is some issue by using root user. i wanted to use elasticsearch user, but it do not exist . yet when i run the elasticsearch service , the elastise user is running.
i will appreciate some indications on how to do this pluggin install.
thanks

-> Downloading file://root/search-guard-5-5.1.2-12.zip
Exception in thread “main” java.net.UnknownHostException: root
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
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)

You’re missing a slash:

Instead of:

bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip

try:

bin/elasticsearch-plugin install -b file:///root/search-guard-5-5.1.2-12.zip

···

On Monday, May 22, 2017 at 7:36:49 PM UTC+2, MARCELO SAIED wrote:

Hi,

following the steps for ofline install at https://github.com/floragunncom/search-guard-docs/blob/master/installation.md

Search Guard 5

i have downloaded the zip ftom [http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip](http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip)

after stopping elasticsearch i run ar root -> bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip
and i get the following error.
i have done some search , and seems to me , that there is some issue by using root user. i wanted to use elasticsearch user, but it do not exist . yet when i run the elasticsearch service , the elastise user is running.
i will appreciate some indications on how to do this pluggin install.
thanks

-> Downloading file://root/search-guard-5-5.1.2-12.zip
Exception in thread “main” java.net.UnknownHostException: root
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
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)

Thanks !!! very much . it works :slight_smile:

···

On Monday, May 22, 2017 at 2:54:35 PM UTC-3, Jochen Kressin wrote:

You’re missing a slash:

Instead of:

bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip

try:

bin/elasticsearch-plugin install -b file:///root/search-guard-5-5.1.2-12.zip

On Monday, May 22, 2017 at 7:36:49 PM UTC+2, MARCELO SAIED wrote:

Hi,

following the steps for ofline install at https://github.com/floragunncom/search-guard-docs/blob/master/installation.md

Search Guard 5

i have downloaded the zip ftom [http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip](http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip)

after stopping elasticsearch i run ar root -> bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip
and i get the following error.
i have done some search , and seems to me , that there is some issue by using root user. i wanted to use elasticsearch user, but it do not exist . yet when i run the elasticsearch service , the elastise user is running.
i will appreciate some indications on how to do this pluggin install.
thanks

-> Downloading file://root/search-guard-5-5.1.2-12.zip
Exception in thread “main” java.net.UnknownHostException: root
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
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)

Glad I could help!

···

On Monday, May 22, 2017 at 9:44:03 PM UTC+2, MARCELO SAIED wrote:

Thanks !!! very much . it works :slight_smile:

On Monday, May 22, 2017 at 2:54:35 PM UTC-3, Jochen Kressin wrote:

You’re missing a slash:

Instead of:

bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip

try:

bin/elasticsearch-plugin install -b file:///root/search-guard-5-5.1.2-12.zip

On Monday, May 22, 2017 at 7:36:49 PM UTC+2, MARCELO SAIED wrote:

Hi,

following the steps for ofline install at https://github.com/floragunncom/search-guard-docs/blob/master/installation.md

Search Guard 5

i have downloaded the zip ftom [http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip](http://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-5/5.1.2-12/search-guard-5-5.1.2-12.zip)

after stopping elasticsearch i run ar root -> bin/elasticsearch-plugin install -b file://root/search-guard-5-5.1.2-12.zip
and i get the following error.
i have done some search , and seems to me , that there is some issue by using root user. i wanted to use elasticsearch user, but it do not exist . yet when i run the elasticsearch service , the elastise user is running.
i will appreciate some indications on how to do this pluggin install.
thanks

-> Downloading file://root/search-guard-5-5.1.2-12.zip
Exception in thread “main” java.net.UnknownHostException: root
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
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)