Elasticsearch Java.security.policy


(Bruno Buenos Aires) #1

Hi Guys,

My name is Bruno, and i get that problem. i dont know how to fix that.
the result from "service elasticsearch status"

elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Qui 2018-01-18 16:26:58 BRT; 7s ago
Docs: http://www.elastic.co
Process: 45414 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 45416 (java)
Tasks: 14
Memory: 2.1G
CPU: 6.854s
CGroup: /system.slice/elasticsearch.service
`-45416 /usr/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -ser

Jan 18 16:26:58 LNXHADOOPAPP systemd[1]: Starting Elasticsearch...
Jan 18 16:26:58 LNXHADOOPAPP systemd[1]: Started Elasticsearch.
Jan 18 16:26:59 LNXHADOOPAPP elasticsearch[45416]: java.security.policy: erro adding entry:
Jan 18 16:26:59 LNXHADOOPAPP elasticsearch[45416]: java.net.MalformedURLException: no protocol: /usr/share/logstash/*

and i need some help to find a light.

Linux 16.04
elasticsearch 5.6.1


(Simon Willnauer) #2

do you specify a custom policy and can you shared it?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.