Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu Eclipse 出现starting Installation Manager: Invalid Configuration Location

Ubuntu Eclipse 出现starting Installation Manager: Invalid Configuration Location 情况如图所示:老外有篇文章专门讲述了原因。其实就是linux下普通用户不能修改root账户所建立的文件

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 /InstallationManager/bin
/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. Delete the /tmp/ciclogs_superadmi directory.

5. Login as the nonadministrator user.

6. Start Installation Manager.可是,我按照他说的做了,依然没有奏效。最终我是这样解决的,有以下两种方法。1、先用su命令切换到root账户,然后执行 ./eclipse2、用chmod 777   ***/workspace -R  ,以及这个workspace下的所有文件夹Ubuntu如何使用SSH重定Ubuntu Eclipse中色彩显示问题相关资讯      Ubuntu教程 
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • 让Ubuntu 12.10支持RAR和7Z文件解  (11/15/2012 18:51:50)
  • Windows 7硬盘安装Ubuntu 12.10图  (11/03/2012 19:22:47)
  • 完美安装Ubuntu 12.10最新AMD显卡  (11/27/2012 08:17:47)
  • Win 7硬盘安装Ubuntu 12.10  (11/05/2012 13:30:34)
  • 虚拟机上Ubuntu 11.10升级到12.04  (10/12/2012 20:00:38)
本文评论 查看全部评论 (0)
表情: 姓名: 字数
版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图