Your right. I've done what @Krunal_kalaria is suggesting and got the above error. Therefore I've posted this post.
Ok, I get it, I have no access to security, so I cannot add additional users, etc.
But there must be an option to change the password. You cannot force users to use password and don't let them change it. This is a serious flaw.
I'm optimizing ES installation, therefore I've moved config and data folder to new location.
ES starts normal, but ES now stalls on login field and wants U/P, there there also is written that this module is disabled.
In error log I get:
{"type":"log","@timestamp":"2018-02-13T08:14:05Z","tags":["license","warning","xpack"],"pid":8312,"message":"License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [security_exception] failed to authenticate user [kibana], with { header={ WWW-Authenticate=\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\" } } :: {\"path\":\"/_xpack\",\"statusCode\":401,\"response\":\"{\\\"error\\\":{\\\"root_cause\\\":[{\\\"type\\\":\\\"security_exception\\\",\\\"reason\\\":\\\"failed to authenticate user [kibana]\\\",\\\"header\\\":{\\\"WWW-Authenticate\\\":\\\"Basic realm=\\\\\\\"security\\\\\\\" charset=\\\\\\\"UTF-8\\\\\\\"\\\"}}],\\\"type\\\":\\\"security_exception\\\",\\\"reason\\\":\\\"failed to authenticate user [kibana]\\\",\\\"header\\\":{\\\"WWW-Authenticate\\\":\\\"Basic realm=\\\\\\\"security\\\\\\\" charset=\\\\\\\"UTF-8\\\\\\\"\\\"}},\\\"status\\\":401}\",\"wwwAuthenticateDirective\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}"}
Edit:
I've tried to remove X-pack in the location & I get:
PS G:\elasticStack\elasticsearch> .\bin\elasticsearch-plugin remove x-pack
Exception in thread "main" java.lang.IllegalStateException: Could not load plugin descriptor for existing plugin [x-pack
]. Was the plugin built before 2.0?
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:352)
at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:89)
at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:67)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
Caused by: java.nio.file.NoSuchFileException: G:\elasticStack\elasticsearch\plugins\x-pack\plugin-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.Files.newByteChannel(Unknown Source)
at java.nio.file.Files.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
at java.nio.file.Files.newInputStream(Unknown Source)
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:202)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:349)
... 8 more
PS G:\elasticStack\elasticsearch>
And I cannot installed it over:
[=================================================] 100%
ERROR: plugin directory [G:\elasticStack\elasticsearch\plugins\x-pack] already exists; if you need to update the plugin,
uninstall it first using command 'remove x-pack'
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.