免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2560 | 回复: 2
打印 上一主题 下一主题

求助:安装 eclipse 的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-11 03:45 |只看该作者 |倒序浏览
我用的是debian3.1, 安装eclipse的时候root可以正常使用, 切换到普通用户的时候出现下面错误:


  1. !SESSION 2005-12-11 04:32:48.399 -----------------------------------------------
  2. eclipse.buildId=M20050929-0840
  3. java.version=1.4.2_09
  4. java.vendor=Sun Microsystems Inc.
  5. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN
  6. Command-line arguments:  -os linux -ws gtk -arch x86

  7. !ENTRY org.eclipse.osgi 2005-12-11 04:32:48.884
  8. !MESSAGE Error reading configuration: /home/beahacker/soft/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
  9. !STACK 0
  10. java.io.FileNotFoundException: /home/beahacker/soft/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
  11.         at java.io.FileOutputStream.openAppend(Native Method)
  12.         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
  13.         at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
  14.         at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
  15.         at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
  16.         at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initFileManager(EclipseAdaptor.java:818)
  17.         at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:272)
  18.         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
  19.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  20.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  21.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  22.         at java.lang.reflect.Method.invoke(Method.java:324)
  23.         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
  24.         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
  25.         at org.eclipse.core.launcher.Main.run(Main.java:973)
  26.         at org.eclipse.core.launcher.Main.main(Main.java:948)

  27. !ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ 0 0 2005-12-11 04:32:49.457
  28. !MESSAGE FrameworkEvent.ERROR
  29. !STACK 0
  30. org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
  31.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
  32.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  33.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
  34.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  35.         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  36.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  37.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  38.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  39.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  40.         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  41.         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
  42. Caused by: java.io.FileNotFoundException: /home/beahacker/soft/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
  43.         at java.io.FileOutputStream.openAppend(Native Method)
  44.         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
  45.         at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
  46.         at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
  47.         at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
  48.         at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
  49.         at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
  50.         at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
  51.         at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
  52.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  53.         at java.security.AccessController.doPrivileged(Native Method)
  54.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  55.         ... 10 more
  56. Root exception:
  57. java.io.FileNotFoundException: /home/beahacker/soft/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
  58.         at java.io.FileOutputStream.openAppend(Native Method)
  59.         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
  60.         aorg.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
  61.         at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
  62.         at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
  63.        
  64. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  65.         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  66.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  67.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  68.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  69.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  70.         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  71.         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

  72. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  73.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  74.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  75.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  76.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  77.         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  78.         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
  79. Caused by: java.lang.Exception: Cannot initialize the Update Configurator
  80.         at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
  81.         at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
  82.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  83.         at java.security.AccessController.doPrivileged(Native Method)
  84.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  85.         ... 10 more
  86. Root exception:
  87. java.lang.Exception: Cannot initialize the Update Configurator
  88.         at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
  89.         at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
  90.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  91.         at java.security.AccessController.doPrivileged(Native Method)
  92.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  93.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  94.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
  95.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  96.         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  97.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  98.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  99.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  100.         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  101.         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  102.         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

  103. !ENTRY org.eclipse.osgi 2005-12-11 04:32:49.502
  104. !MESSAGE Startup error
  105. !STACK 1
  106. java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ [1] is not active.
  107.         at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:410)
  108.         at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
  109.         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
  110.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  111.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  112.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  113.         at java.lang.reflect.Method.invoke(Method.java:324)
  114.         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
  115.         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
  116.         at org.eclipse.core.launcher.Main.run(Main.java:973)
  117.         at org.eclipse.core.launcher.Main.main(Main.java:948)
复制代码

请问是怎么回事呢?谢谢

论坛徽章:
0
2 [报告]
发表于 2005-12-11 09:05 |只看该作者
because your user hasn't access right for "/home/beahacker/soft/eclipse/..." directory,in order to solve this problem,you must add to access right for the user.

[ 本帖最后由 xiaofei104 于 2005-12-11 09:07 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2005-12-13 01:52 |只看该作者
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP