#1
|
|||
|
|||
[ubuntu 10.04] jdownloader requires sudo to start
I am running JDownloader on my Ubuntu 10.04 machine. JDownloader was installed via Synaptic Package Manager using the **External links are only visible to Support Staff****External links are only visible to Support Staff** lucid main repository.
I can not run JDownloader as a non-root user. When I type "jdownloader" in the terminal I get: Code:
10 9/26/10 5:01:51 PM - INFO [jd.Main(main)] -> Start JDownloader JAR 10 9/26/10 5:01:51 PM - FINEST [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/jessica/.jdownloader 10 9/26/10 5:01:52 PM - FINEST [jd.JDClassLoader(<init>)] -> rootDir:/home/jessica/.jdownloader /home/jessica/.jdownloader file:/home/jessica/.jdownloader/jd 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDExternInterface.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDWebinterface.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDPackageCustomizer.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDUnrar.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDChat.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDShutdown.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDHJMerge.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDHTTPLiveHeaderScripter.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDFolderWatch.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/schedule.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDRemoteControl.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDLangFileEditor.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDInfoFileWriter.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDGrowl.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/plugins/JDTray.jar 10 9/26/10 5:01:52 PM - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/jessica/.jdownloader/JDownloader.jar [...] (skipped other Look and Feel entries) 10 9/26/10 5:01:53 PM - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: /home/jessica/.jdownloader/libs/laf/syntheticaOrangeMetallic.jar When I go "sudo jdownloader" the program starts normally and after the Code:
10 9/26/10 5:01:53 PM - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: /home/jessica/.jdownloader/libs/laf/syntheticaOrangeMetallic.jar Code:
10 9/26/10 12:39:18 AM - FINER [jd.config.DatabaseConnector(<init>)] -> Loading database 10 9/26/10 12:39:18 AM - FINER [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database 10 9/26/10 12:39:19 AM - INFO [jd.Main(main)] -> init Splash Can anybody give me a hint or provide a solution? tia, jule_ |
#2
|
|||
|
|||
You're right. For security reasons it's better not to run jD as root.
I'm not a linux expert, but I've 2 suggestions for you :- 1) If you installed jD with root/su privileges, I would re-install it without root/su privileges. 2) Try to use a theme other than "syntheticaOrangeMetallic" and see what that gives. |
#3
|
|||
|
|||
remi, thanks for the reply, although it does not really help me.
I installed JDownloader as regular user via the Ubuntu GUI (of course I had to enter the superuser-password to open the Update Manager). And I set "Synthetica Standard" as style. I guess syntheticaOrangeMetallic.jar is just the *last* theme loaded, and not the *active* one. Can somebody tell me where in the filesystem "jd.config.DatabaseConnector(<init>)" is trying to load the database from? Maybe it has a permission problem there. Running JDownloader as root is quite annoying, because the files it downloads and extracts have root ownership and permissions, so I can't move or delete them with my regular user More hints please? |
#4
|
|||
|
|||
Use the "chmod" command? See "http://en.wikipedia.org/wiki/Chmod".
|
#5
|
|||
|
|||
Thanks, remi, I am familiar with the chmod command.
My question was where in the system the database is. In other words, I do not know what to chmod or chown. br, jule_ |
#6
|
|||
|
|||
The database is in the jD\config folder. What about the recursive (-R) application of chmod?
|
#7
|
|||
|
|||
[solved] [ubuntu 10.04] jdownloader requires sudo to start
All the files in my /home/.jdownloader directory were owned by root (and not by my regular user). I did a "sudo chown -R *" on all files, now they are owned by my regular user but I still got the same error when starting jDownloader.
When I "sudo jdownloader" the "database.log" and "database.properties" in the config folder are recreated with the owner root. Anyways, I uninstalled/purged jdownloader and after a re-install via Synaptic everything works as it should. -> solved. (edit: how do I add the [solved] prefix to the topic?) Last edited by jule_; 07.10.2010 at 00:00. Reason: how do I add the [solved] prefix to the topic? |
#8
|
|||
|
|||
I'm glad you solved it.
Adding a [solved] "tag" is the privilege of a few official jD developers/supporters. |
|
|