For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 21 years, 2 months ago by
Scott Anderson.
-
AuthorPosts
-
dntorpMemberhi,
so i can run eclipse fine when i’m logged in as the root user (so as root, I navigate to the user’s desktop and run eclipse from there), but when i try and run it as the user i get an error and a log entry. The log entry is at the bottom of this post. I thought the problem was no having the right jdk installed, but now that it works for my root user I’m not sure. any help/advice would be great.
thanks in advance,
dntorphere is the log file text: (sorry for the ugly formatting)
!SESSION Jun 22, 2005 21:24:20.177 ———————————————
eclipse.buildId=M200503110845
java.version=1.5.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US!ENTRY initial@reference:file:/home/dweintrop/Desktop/downloaded_software/eclipse/plugins/org.eclipse.core.runtime_3.0.2/ 0 0 Jun 22, 2005 21:24:20.178
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:975)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:366)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:999)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:577)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:488)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:444)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186)
at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104)
Caused by: java.io.FileNotFoundException: /home/dweintrop/Desktop/downloaded_software/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:30)
at org.eclipse.osgi.service.datalocation.FileManager.lock(FileManager.java:219)
at org.eclipse.osgi.service.datalocation.FileManager.open(FileManager.java:423)
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:391)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:384)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:251)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:64)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
… 10 more
Root exception:
java.io.FileNotFoundException: /home/dweintrop/Desktop/downloaded_software/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:30)
at org.eclipse.osgi.service.datalocation.FileManager.lock(FileManager.java:219)
at org.eclipse.osgi.service.datalocation.FileManager.open(FileManager.java:423)
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:391)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:384)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:251)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:64)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:366)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:999)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:577)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:488)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:444)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186)
at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104)!ENTRY initial@reference:file:/home/dweintrop/Desktop/downloaded_software/eclipse/plugins/org.eclipse.update.configurator_3.0.0/ 0 0 Jun 22, 2005 21:24:20.194
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:975)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:366)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:999)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:577)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:488)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:444)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186)
at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104)
Caused by: java.lang.Exception: Cannot initialize the Update Configurator
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:93)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:71)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
… 10 more
Root exception:
java.lang.Exception: Cannot initialize the Update Configurator
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:93)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:71)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:366)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:999)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:577)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:488)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:444)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186)
at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104)!ENTRY org.eclipse.osgi Jun 22, 2005 21:24:20.209
!MESSAGE Startup error
!STACK 1
java.lang.IllegalStateException: Bundle initial@reference:file:/home/dweintrop/Desktop/downloaded_software/eclipse/plugins/org.eclipse.core.runtime_3.0.2/ [1] is not active.
at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:303)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:227)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)June 22, 2005 at 8:36 pm #231592
Scott AndersonParticipantYou don’t have permission to to write to the Eclipse configuration directory (/home/dweintrop/Desktop/downloaded_software/eclipse/configuration), which is needed to update the plugin caches. You should install and run as the same user to simplify things.
June 23, 2005 at 12:16 pm #231630
dntorpMemberthanks for the response.
I only have two users on my system (dweintrop and root), I can run eclipse as root, but not a dweintrop. to me it sounds like your interpreting the error message as saying:
dweintrop doesn’t have access to write to /home/dweintrop/Desktop/downloaded_software/eclipse/configuration
is that even possible? and if so, any ideas on how that got set and how to cahnge it.thanks in advance,
dntorpJune 24, 2005 at 3:50 pm #231700
Scott AndersonParticipantdweintrop doesn’t have access to write to /home/dweintrop/Desktop/downloaded_software/eclipse/configuration
Yes, that’s my interpretation of the error message below, which states exactly that:
Caused by: java.io.FileNotFoundException: /home/dweintrop/Desktop/downloaded_software/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
is that even possible? and if so, any ideas on how that got set and how to cahnge it.
You could change the directory permissions for that single directory and all files in it using chmod, but you’ll likely find that this is just the first of many errors when the “owning” user isn’t the same as the “using” user. The other solution, a bit of a “big hammer”, but faster than a reinstall is to simply open a shell and change directory into the Eclipse installation root and perform: chmod -R o+w *
That will give everyone write access to everything under that directory. However, I’d still suggest you simply reinstall as the user you’ll log in as to run the application. -
AuthorPosts
