Click here to Skip to main content
15,886,763 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am installing 8.5.3 elastic.
after yml file change I am double clicking elasticsearch.bat file and service is not starting looks like.

[2023-01-12T14:38:25,268][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [PBa_3qgMQqOG5ApHLMitrg], cluster name [UNO-application], roles [data_frozen, ingest, data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml]
[2023-01-12T14:38:28,596][ERROR][o.e.b.Elasticsearch ] [node-1] fatal exception while booting Elasticsearch
org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.transport.ssl] - cannot read configured [PKCS12] keystore (as a truststore) [E:\setup\elasticsearch-8.5.3-windows-x86_64\elasticsearch-8.5.3\config\certs\transport.p12] because the file does not exist
at org.elasticsearch.xpack.core.ssl.SSLService.lambda$loadSslConfigurations$11(SSLService.java:605) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?]
at java.util.Collections$UnmodifiableMap.forEach(Collections.java:1553) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.loadSslConfigurations(SSLService.java:601) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.(SSLService.java:156) ~[?:?]
at org.elasticsearch.xpack.core.XPackPlugin.createSSLService(XPackPlugin.java:465) ~[?:?]
at org.elasticsearch.xpack.core.XPackPlugin.createComponents(XPackPlugin.java:314) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$16(Node.java:709) ~[elasticsearch-8.5.3.jar:?]
at org.elasticsearch.plugins.PluginsService.lambda$flatMap$0(PluginsService.java:252) ~[elasticsearch-8.5.3.jar:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?]
at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?]
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?]
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?]
at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:724) ~[elasticsearch-8.5.3.jar:?]
at org.elasticsearch.node.Node.(Node.java:318) ~[elasticsearch-8.5.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:214) ~[elasticsearch-8.5.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:214) ~[elasticsearch-8.5.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.5.3.jar:?]
Caused by: org.elasticsearch.common.ssl.SslConfigException: cannot read configured [PKCS12] keystore (as a truststore) [E:\setup\elasticsearch-8.5.3-windows-x86_64\elasticsearch-8.5.3\config\certs\transport.p12] because the file does not exist
at org.elasticsearch.common.ssl.SslFileUtil.fileNotFound(SslFileUtil.java:66) ~[?:?]
at org.elasticsearch.common.ssl.SslFileUtil.ioException(SslFileUtil.java:37) ~[?:?]
at org.elasticsearch.common.ssl.StoreTrustConfig.readKeyStore(StoreTrustConfig.java:98) ~[?:?]
at org.elasticsearch.common.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:82) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.createSslContext(SSLService.java:473) ~[?:?]
at java.util.HashMap.computeIfAbsent(HashMap.java:1228) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.lambda$loadSslConfigurations$11(SSLService.java:603) ~[?:?]
... 23 more
Caused by: java.nio.file.NoSuchFileException: E:\setup\elasticsearch-8.5.3-windows-x86_64\elasticsearch-8.5.3\config\certs\transport.p12
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:432) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:160) ~[?:?]
at org.elasticsearch.common.ssl.KeyStoreUtil.readKeyStore(KeyStoreUtil.java:71) ~[?:?]
at org.elasticsearch.common.ssl.StoreTrustConfig.readKeyStore(StoreTrustConfig.java:94) ~[?:?]
at org.elasticsearch.common.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:82) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.createSslContext(SSLService.java:473) ~[?:?]
at java.util.HashMap.computeIfAbsent(HashMap.java:1228) ~[?:?]
at org.elasticsearch.xpack.core.ssl.SSLService.lambda$loadSslConfigurations$11(SSLService.java:603) ~[?:?]


What I have tried:

We download latest version and change only elasticserach.yml file
Posted
Comments
Richard MacCutchan 14-Jan-23 10:47am    
Look at the error message:
[2023-01-12T14:38:28,596][ERROR][o.e.b.Elasticsearch ] [node-1] fatal exception while booting Elasticsearch
org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.transport.ssl] - cannot read configured [PKCS12] keystore (as a truststore) [E:\setup\elasticsearch-8.5.3-windows-x86_64\elasticsearch-8.5.3\config\certs\transport.p12] because the file does not exist

You are missing some required file.
Member 15418280 17-Jan-23 5:07am    
Now we are getting below logs when we are clicking elasticsearch.bat file.
[2023-01-17T15:22:08,404][WARN ][o.e.c.c.Coordinator ] [node-1] This node is a fully-formed single-node cluster with cluster UUID [RDQafVKZRXiwbpZQiZEiUQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[CVMP6543]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.
[2023-01-17T15:22:38,420][WARN ][o.e.c.c.Coordinator ] [node-1] This node is a fully-formed single-node cluster with cluster UUID [RDQafVKZRXiwbpZQiZEiUQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[CVMP6543]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.
[2023-01-17T15:23:08,435][WARN ][o.e.c.c.Coordinator ] [node-1] This node is a fully-formed single-node cluster with cluster UUID [RDQafVKZRXiwbpZQiZEiUQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[CVMP6543]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.
[2023-01-17T15:23:38,451][WARN ][o.e.c.c.Coordinator ] [node-1] This node is a fully-formed single-node cluster with cluster UUID [RDQafVKZRXiwbpZQiZEiUQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[CVMP6543]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.
[2023-01-17T15:24:08,453][WARN ][o.e.c.c.Coordinator ] [node-1] This node is a fully-formed single-node cluster with cluster UUID [RDQafVKZRXiwbpZQiZEiUQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[CVMP6543]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900