Feodra下安装Eclipse后出现starting Installation Manager:Invalid Configuration Location

具体问题表现在用root账户运行Eclipse时,一切正常;而用普通账户运行时会报错Invalid Configuration Location。

Problem(Abstract)

IBM Installation Manager is installed in nonadministrator mode. A super-user tries to start Installation Manager. Installation Manager is disabled and cannot be started by the nonadministrator user.

Symptom

A super-user starts an instance of Installation Manager that was installed by a nonadministrator user. Installation Manager fails with the errors: 

CRIMCEB884626E ERROR: The Installation Manager cannot be started. The registry information does not exist or does not match with this executable. This may happen if you are trying to run Installation Manager installed by another user.

00:03.02 ERROR [main] com.ibm.cic.agent.internal.application.
HeadlessApplication run

The Installation Manager cannot be started. The registry information does not exist or does not match with this executable. This may happen if you are trying to run Installation Manager installed by another user.

When the nonadministrator user starts Installation Manager, the following errors occur:

Invalid Configuration Location:

Locking is not possible in the directory "/InstallationManager/bin/eclipse/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.

/InstallationManager/bin/eclipse/configuration
/org.eclipse.osgi/.manager/.file TableLock (EDC5111I Permission denied.)



 

Cause

When a super-user starts Installation Manager, the ownership of the following subdirectories in the /InstallationManager/bin/eclipse/configuration/ directory are changed to the super-user:

org.eclipse.core.runtime

org.eclipse.equinox.app
org.eclipse.osg

'

As a result, the nonadministrator user cannot write files in these directories.


 

Resolving the problem

To resolve this issue: 

1. Login as a super-user.

2. Run the command: cd /opt/eclipse/configuration

3. Change the ownership of the following directories to the nonadministrator user.

    a. If Installation Manager is installed in nonadministrator mode, run the command:
chown -Rh imadmin org.eclipse.core.runtime org.
eclipse.equinox.app org.eclipse.osgi 


    b. If Installation Manager is installed in group mode, run the command:
chown -RH imadmin:imgroup org.eclipse.core.
runtime org.eclipse.equinox.app org.eclipse.osgi 


4. chown -hR imadmin ./workspace


5. Login as the nonadministrator user.

6. Start Eclipse.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值