`
SSailYang
  • 浏览: 307913 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The reason of ServiceMix cannot start up after install CollabNet Subversion Edge

    博客分类:
  • Java
 
阅读更多

What's the problem?

Today I found ServiceMix on 74 cannot start up. Before this, I also found ServiceMix on 108 also cannot start up. Finally, I found the reason is from install CollabNet Subversion Edge (CSVN for short).


How to find the reason of the problem?

Because ServiceMix cannot startup, there is no karaf.log. And logs in the directory "/log/scf" also without any help to this issue. But when I saw karaf.out, there is one line log:
"Error: Password file read access must be restricted: /opt/jdk1.6.0_20/jre/lib/management/snmp.acl"

So this log shows that the start up issue may be because of the permission of JRE file is too high. So I remembered that when I modified the access permission of files in /opt directory because I need to install CSVN with non-root account (see my documentation about how to install CSVN) and this account need permissions to do operations in /opt directory.


How to solve this problem?

To solve this problem after got the reason. I logged on 22 server, got the right permission of "snmp.acl". Then set the permission of this file on 74 as the right value. Then ServiceMix can start up successfully.


More read? What is "snmp.acl"?

SNMP full name is "Simple Network Management Protocol". It is a protocol based on TCP/IP and used to manage equipments on the networks, like routes and something else. "snmp.acl" is the access control list of SNMP in JRE. It have to be only readable by its owner. So any higher permissions will result JRE cannot start up. 

References:

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics