JAVA Access denied - ES upgrade to 7.1

Hi all I have this issue when I try to run ES.

ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanT rustPermission" "register")

ERROR: [1] bootstrap checks failed
[1]: initial heap size [2147483648] not equal to maximum heap size [32178700288]; this can cause resize pauses and prevents mlockall from locking the entire heap.

Having some problem in fixing this issue.

Fixes I found online: Added : permission javax.management.MBeanTrustPermission "register"; to /etc/elasticsearch-master/jdk/conf/security/policy, but it does not help.

Do I need to add the links for the new ES in /var/lib/dpkg/info/elasticsearch.list?

Did you set security?

I think you need to have min and max heap size the same in jvm file.

1 Like

This is the issue you need to deal with. Ther other problems are just noise that are very hard for us to hide.

Read here: Heap size check | Elasticsearch Guide [7.1] | Elastic

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