-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
In my elasticsearch docker i have this message error
[0.000s][error][logging] Error opening log file 'logs/gc.log': Permission denied
[0.000s][error][logging] Initialization of output 'file=logs/gc.log' using options 'filecount=32,filesize=64m' failed.
error:
Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m', see error log for details.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
at org.elasticsearch.tools.launchers.JvmOption.flagsFinal(JvmOption.java:119)
at org.elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)
at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)
at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)
And in my thehive
2025-02-03 22:47:09,637 [warn] o.t.s.u.Retry (@) [] An error occurs (java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex), retrying (8/10)
2025-02-03 22:47:15,544 [warn] c.d.o.d.i.c.s.DefaultSession (@) [] You have too many session instances: 9 active, expected less than 4 (see 'advanced.session-leak.threshold' in the configuration)
2025-02-03 22:47:15,548 [info] c.d.o.d.i.c.t.Clock (@) [] Using native clock for microsecond precision
2025-02-03 22:47:15,583 [info] o.j.d.c.ExecutorServiceBuilder (@) [] Initiated fixed thread pool of size 10
2025-02-03 22:47:15,640 [info] o.j.g.i.UniqueInstanceIdRetriever (@) [] Generated unique-instance-id=ac1600041-thehive9
2025-02-03 22:47:15,740 [warn] c.d.o.d.i.c.s.DefaultSession (@) [] You have too many session instances: 9 active, expected less than 4 (see 'advanced.session-leak.threshold' in the configuration)
2025-02-03 22:47:15,744 [info] c.d.o.d.i.c.t.Clock (@) [] Using native clock for microsecond precision
2025-02-03 22:47:15,785 [info] o.j.d.c.ExecutorServiceBuilder (@) [] Initiated fixed thread pool of size 10
2025-02-03 22:47:15,786 [info] o.j.d.Backend (@) [] Configuring index [search]
2025-02-03 22:47:15,789 [warn] o.j.d.e.r.RestElasticSearchClient (@) [] Unable to determine Elasticsearch server version. Default to SEVEN.
java.io.IOException: elasticsearch
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:937)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:300)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288)
at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.getMajorVersion(RestElasticSearchClient.java:136)
at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.<init>(RestElasticSearchClient.java:116)
at org.janusgraph.diskstorage.es.rest.RestClientSetup.getElasticSearchClient(RestClientSetup.java:108)
at org.janusgraph.diskstorage.es.rest.RestClientSetup.connect(RestClientSetup.java:76)
at org.janusgraph.diskstorage.es.ElasticSearchSetup$1.connect(ElasticSearchSetup.java:51)
at org.janusgraph.diskstorage.es.ElasticSearchIndex.interfaceConfiguration(ElasticSearchIndex.java:494)
at org.janusgraph.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:381)
Caused by: java.net.UnknownHostException: elasticsearch
at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1386)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1307)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager$InternalAddressResolver.resolveRemoteAddress(PoolingNHttpClientConnectionManager.java:664)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager$InternalAddressResolver.resolveRemoteAddress(PoolingNHttpClientConnectionManager.java:635)
at org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:474)
at org.apache.http.nio.pool.AbstractNIOConnPool.lease(AbstractNIOConnPool.java:280)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.requestConnection(PoolingNHttpClientConnectionManager.java:295)
2025-02-03 22:47:15,791 [warn] o.t.s.u.Retry (@) [] An error occurs (java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex), retrying (9/10)
Metadata
Metadata
Assignees
Labels
No labels