Hello Team,
We had two different versions of elk ->7.1 &6.6 in same server and we are using 7.1 version now ,when we we open 6.6 its throwing an error.
we also need the backup of elk 6.6 like dashboards and indexes .
Regards,
dharani
Hello Team,
We had two different versions of elk ->7.1 &6.6 in same server and we are using 7.1 version now ,when we we open 6.6 its throwing an error.
we also need the backup of elk 6.6 like dashboards and indexes .
Regards,
dharani
All parts of the stack must be on the same version. If you want kibana to look at elasticsearch 6.6 you will need kibana 6.6.
I hope that helps.
Elasticserch(7.1.1) and kibana(7.1.1) are working and we have another version of Elasticsearch(6.6.1) and kibana(6.6.1) in the same server but
Elasticsearch(6.6.1) throwing below mentioned error when we open Elasticsearch(6.6.1) adding to it we have changed elaticsearch.yml(LocalHost:9200 - LocalHost:9400))
D:\elasticsearch-6.6.1\bin>elasticsearch
[2019-08-28T16:45:35,995][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [unknown] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Unable to access 'path.data' (D:\elasticsearch-6.6.1\data)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.6.1.jar:6.6.1]
Caused by: java.lang.IllegalStateException: Unable to access 'path.data' (D:\elasticsearch-6.6.1\data)
at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:70) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:299) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:254) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:123) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:207) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.6.1.jar:6.6.1]
... 6 more
Caused by: java.nio.file.NotDirectoryException: D:\elasticsearch-6.6.1\data
at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:416) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:68) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:299) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:254) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:123) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:207) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.6.1.jar:6.6.1]
... 6 more
Suppressed: java.nio.file.FileAlreadyExistsException: D:\elasticsearch-6.6.1\data
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81) ~[?:1.8.0_191]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_191]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_191]
at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504) ~[?:1.8.0_191]
at java.nio.file.Files.createDirectory(Files.java:674) ~[?:1.8.0_191]
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) ~[?:1.8.0_191]
at java.nio.file.Files.createDirectories(Files.java:727) ~[?:1.8.0_191]
at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:413) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:68) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:299) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:254) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:123) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:207) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.6.1.jar:6.6.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.6.1.jar:6.6.1]
D:\elasticsearch-6.6.1\bin>
So you're running two different version of the stack on the same machine? Can you share the config for elasticsearch and kibana for both of those environments? I suspect there may be a config problem.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.