`

关于远程获取jvm遇到的error

阅读更多

第一是权限报异常,password的权限只能给600

 

1Password file read access must be restricted: /data/jdk1.8.0_60/jre/lib/management/jmxremote.password

 

 

这是权限设置问题,这两个文件,只能设置600的权限

 

第二就是用户名和密码格式

jmxremote.password模板:

[用户名]       [密码]

mtct          ct.meituan

test          test

jmxremote.access模板:

[用户名]      [权限]

mtct        readwrite

 

test        readonly

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics