JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #61  
Old 08.11.2014, 02:56
zevs
Guest
 
Posts: n/a
Default

I use Yosemite MAC and I have some questions:

- How to create /usr/local/etc/rc.d/S99jdownloader.sh (with SSH client) with a macbook pro? With the -> go to-command? I never saw my NAS as root directories, I only know my own folders like movies etc...

- It looks like my Java is installed @ /var/packages/JavaManager/Java/jre/lib, but I never saw such a folder under my mac connections...

After that I shuld copy paste the .sh file and it shuld work on DSM 5.1. I have some $PATH issues with my terminal, thats why I cant use it.

Thank you, its a nice thread
Reply With Quote
  #62  
Old 26.11.2014, 00:47
sjaddy
Guest
 
Posts: n/a
Default

Hi all,

newbie here with a DS2413+ - have installed Jdownloader to the letter (or at least I think I have! - as mentioned a newbie).

If I reboot the synology it doesn't seem to be accessible from my.jdownloader.org,

If i run a SSH terminal and from the jdownloader directory run

java -Djava.awt.headless=true -jar JDownloader.jar &

it works and I can connect from my.jdownloader.org

when I close the ssh session though it closes the connection to my.jdownloader.org

Is anyone able to give me any pointers as to where I should look for the issue or logs I can check or what I have done wrong?

TIA
Reply With Quote
  #63  
Old 26.11.2014, 13:57
jpnn80 jpnn80 is offline
JD Alpha
 
Join Date: Mar 2009
Posts: 22
Default

Quote:
Originally Posted by sjaddy View Post
Hi all,

newbie here with a DS2413+ - have installed Jdownloader to the letter (or at least I think I have! - as mentioned a newbie).

If I reboot the synology it doesn't seem to be accessible from my.jdownloader.org,

If i run a SSH terminal and from the jdownloader directory run

java -Djava.awt.headless=true -jar JDownloader.jar &

it works and I can connect from my.jdownloader.org

when I close the ssh session though it closes the connection to my.jdownloader.org

Is anyone able to give me any pointers as to where I should look for the issue or logs I can check or what I have done wrong?

TIA
I read from another forum that after a reboot, DSM automatically runs the scripts having a filename starting by SXX with XX being a unique digit number standing for their starting order, if they are put in the folder /opt/etc/init.d/

And indeed my JD started with my DSM 5.0 after I put the script S99jdownloader.sh in this folder instead of /usr/local/etc/rc.d/

Now my problem is that my JD is not updated even if I run the scheduled task of the script with the path /usr/local/etc/rc.d/S99jdownloader.sh

Last edited by jpnn80; 26.11.2014 at 15:57.
Reply With Quote
  #64  
Old 26.11.2014, 20:47
sjaddy
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by jpnn80 View Post
I read from another forum that after a reboot, DSM automatically runs the scripts having a filename starting by SXX with XX being a unique digit number standing for their starting order, if they are put in the folder /opt/etc/init.d/

And indeed my JD started with my DSM 5.0 after I put the script S99jdownloader.sh in this folder instead of /usr/local/etc/rc.d/

Now my problem is that my JD is not updated even if I run the scheduled task of the script with the path /usr/local/etc/rc.d/S99jdownloader.sh
thanks but I dont have a /opt folder on my Nas. I havent bootstrapped this one
Reply With Quote
  #65  
Old 28.11.2014, 17:02
sjaddy
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by sjaddy View Post
thanks but I dont have a /opt folder on my Nas. I havent bootstrapped this one
I have slightly cheated but got it working. I reboot the NAS every night so not too worried if the thread is already running.

This is what I have done

in the Task Scheduler I have created a new user-defined script to run as admin and in the user-defined script box I have typed

/volume1/@appstore/JavaManager/Java/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &

This seems to be the main command from the S99jdownloader.sh file and successfully kicks it off for me.

thanks for the guide everyone
Reply With Quote
  #66  
Old 17.12.2014, 03:38
narco
Guest
 
Posts: n/a
Default

Moved to a new post

Last edited by narco; 18.12.2014 at 20:05. Reason: can not delete
Reply With Quote
  #67  
Old 21.12.2014, 01:12
palswim's Avatar
palswim palswim is offline
Junior Loader
 
Join Date: Dec 2014
Posts: 11
Thumbs up

Quote:
Originally Posted by mehmeh View Post
:w00t: thanks

now, I'm using JD2 headless into my raspberryPi and it works fine.
I have started JD2 using this command:
Code:
java -Djava.awt.headless=true -jar JDownloader.jar &
and after some minutes I have closed the ssh connection, and JD2 has continued to run.
I use JD2 using the myJdownloader website.
JDownloader is running successfully on my Pi as well, and consuming less than 1% of CPU when not downloading. Nice job JD devs, especially in making the headless mode!
Reply With Quote
  #68  
Old 11.01.2015, 23:11
john_doe84
Guest
 
Posts: n/a
Default

hey guys,

my jdownloader 2 works perfect in headless mode on my synology nas. Now I'd like to stop the program with a simple script in the task scheduler...How can I do that? Something like:

kill /volume1/@appstore/jdownloader/JDownloader.jar & ???

As you can see, I'm a newbie as well =))
Reply With Quote
  #69  
Old 14.01.2015, 19:00
felsi felsi is offline
DSL User
 
Join Date: Sep 2010
Posts: 39
Default

---

Last edited by felsi; 16.01.2015 at 13:44.
Reply With Quote
  #70  
Old 17.01.2015, 07:23
T_Send
Guest
 
Posts: n/a
Lightbulb

Quote:
Originally Posted by juno99 View Post
Can you tell me what command will stop it?
Can't find it...
Quote:
Originally Posted by mehmeh View Post
now, I'm using JD2 headless into my raspberryPi and it works fine.
I have started JD2 using this command:
Code:
java -Djava.awt.headless=true -jar JDownloader.jar &
and after some minutes I have closed the ssh connection, and JD2 has continued to run.
I use JD2 using the myJdownloader website.

But I have a problem, how can I stop JD2 without corrupt the JD2 files and download?
thanks
Quote:
Originally Posted by sjaddy View Post
[...]
If i run a SSH terminal and from the jdownloader directory run
java -Djava.awt.headless=true -jar JDownloader.jar &
it works and I can connect from my.jdownloader.org
when I close the ssh session though it closes the connection to my.jdownloader.org
Is anyone able to give me any pointers as to where I should look for the issue or logs I can check or what I have done wrong?
TIA


I use JD unix server headless instance, accessing via WEB INTERFACE @ my.jdownloader.org
To make it easy to manage I wrote "Start Stop Restart Status" SCRIPT


Here is HOW-TO for newbies:

1. Create file jdownloader with text editor of your choice at /etc/init.d/ i.e.:
Code:
sudo vim /etc/init.d/jdownloader

2. Paste this content and replace red-bold text with your variables:
Code:
#! /bin/sh
# /etc/init.d/jdownloader
### BEGIN INIT INFO
# Provides: jDownloader2
# Required-Start: networking
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: jDownloader2 Server Daemon
# Description: T_Send's Starts/Stops/Restarts/Status the jDownloader2 Server Daemon
### END INIT INFO
# Author: T_Send  Contact: t_send@itnu.pl  Web: www.itnu.pl

set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="jDownloader2 Server"
NAME="jdownloader"
## USER for new files ownership & make sure USER has read/write permission to DOWNLOAD-DIR
USER=<User_Name_or_UID_to_run_as>
GROUP=<Group_Name_or_GID_to_run_as>
UMASK=<Change_umask_to_UMASK_before_starting>
DIR="<path_to_JD_folder>"
SCRIPT="/etc/init.d/$NAME"
PIDFILE="$DIR/JDownloader.pid"
JAVA="<complete_path_to_java_exec>"
PARM="-Djava.awt.headless=true -jar $DIR/JDownloader.jar"
STATUS="$JAVA $PARM"

. /lib/lsb/init-functions

start_daemon () {
        start-stop-daemon --start \
			--chuid $USER \
                        --group $GROUP \
                        --umask $UMASK \
			--oknodo \
			--background \
			--make-pidfile --pidfile $PIDFILE \
			--exec $JAVA -- $PARM
		log_end_msg $?
}

case "$1" in
    start)
        log_daemon_msg "Starting daemon" "$DESC "
        start_daemon
        ;;
    stop)
        log_daemon_msg "Stopping daemon" "$DESC "
        start-stop-daemon --stop \
            --pidfile $PIDFILE
        log_end_msg $?
        ;;
    restart)
        log_daemon_msg "Restarting daemon" "$DESC "
        start-stop-daemon --stop
            log_end_msg $?
        start_daemon
        ;;
    status)
        status_of_proc "$STATUS" "$DESC " && exit 0 || exit $?
        ;;
    *)
        log_action_msg "Usage: $SCRIPT {start|stop|restart|status}" || true
        exit 2
        ;;
esac

exit 0

Ad.2. To find <complete_path_to_java_exec> follow by sym-links i.e.
Code:
ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 paź 25 08:18 /usr/bin/java -> /etc/alternatives/java

ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 46 paź 25 08:18 /etc/alternatives/java -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

3. Save file, exit and run:
sudo chmod 755 /etc/init.d/jdownloader


4. You're DONE. Now you can use:
/etc/init.d/jdownloader start | stop | restart | status
or
service jdownloader start | stop | restart | status

For init systemd system (i.e. new Debian Jessie) read 5.b.


5.a. (optional for sysvinit based systems i.e. Debian 7 Wheezy / Ubuntu):
If you want to automatically start JD at system bootup, run:
sudo update-rc.d jdownloader defaults (for sysvinit systems)

5.b. (optional for systemd based system i.e. new Debian 8 Jessie):
run:
systemctl daemon-reload - to reload scripts from /etc/init.d dir (otherwise next command won't work)
systemctl enable jdownloader - to enable service autostart at boot
systemctl disable jdownloader - to remove service autostart at boot
systemctl status jdownloader - to show service status info
systemctl start | stop jdownloader - to start or stop service
Jessie is sysvinit backwards.


For additional SCRIPT parameters read
Code:
start-stop-daemon --help
or
man start-stop-daemon
and edit start_daemon () entry

Hope it helps someone.
Regards,
T_Send

Changelog:
- Added info for systemd systems (i.e. new Debian 8 Jessie)
- Added change umask before start option
- Added Run As Group option
- Changed PID location to JD HOME_DIR as it creates one on start, so it supports CLI commands after "Update & Restart" in WebInterface or other remote API.

Last edited by T_Send; 04.06.2015 at 07:29. Reason: Upgrade
Reply With Quote
  #71  
Old 17.01.2015, 08:46
speedery
Guest
 
Posts: n/a
Default

Thanks mate . very useful
Reply With Quote
  #72  
Old 22.01.2015, 23:16
trionix
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by J-J View Post
HOW TO INSTALL JDOWNLOADER2 ON SYNOLOGY NAS:

[LIST=1][*]Install JD on Windows/Linux/OS X with the **External links are only visible to Support Staff**...[*]Start JD and let it update to the latest version[*]Setup all settings in JD
  • User Interface
    • Enable Silent Mode
  • Bubble Notify
    • Show Bubbles if Never
  • Tray Icon
    • Uncheck Enabled
More info on 1st post if needed (long version until step 1.3):
Spoiler:


Some Remarks
  1. Whenever there's an update of JDownloader2 you get a pop-up at **External links are only visible to Support Staff**.... You can trigger the update in the settings tab on the site.
  2. If JD failes to restart after an update, do the following:
    • Open DSM web interface
    • Go to "Control Panel" and then "Task Scheduler"
      Spoiler:
    • Click "Create" and choose "User-defined scripts"
      Spoiler:
    • Give the task a name (e.g. Jdownloader), set the user to "root" and as User-defined script you set /usr/local/etc/rc.d/S99jdownloader.sh
      Spoiler:
    • Close with OK
    • Unthick the script (we just want to activate it manually and not on schedule) and select the created task and click on "Run"
      Spoiler:
    • JDownloader2 should be running again (check on **External links are only visible to Support Staff**...)
    • Now, each time JD failes to (re)start you can launch it manually with task scheduler.


ENJOY!
THANK YOU VERY MUCH J-J!

This was a really great tutorial and it really helped get this working!

Everything is working fine now, except one thing:
updating jdownloader via the settings tab seems to be broken/malfunction.

It always starts updating but when its done my.jdownloader.org always tells me there is an update again.

When I look into the log, it seem like he is caught in an update loop....could it be that he has writing problems when updating? But even when I temporary set all rights in the jdownloader folder on the synology on 777 it can't update.

log comparison:
first update try
Code:
Thu Jan 22 21:39:51 GMT+01:00 2015
Package: package_1421958637716.awf
Install
Write Revision: 4841
----------------Plugins----------------
----------------Extensions----------------
   extensions/JDChat.jar
   extensions/Scheduler.jar
   extensions/translator.jar
----------------Direct Files----------------
----------------Core Files----------------
   libs/irclib.jar
   libs/sequence-library.jar
   libs/sqljet.jar
   libs/svnkit.jar
second try
Code:
Thu Jan 22 21:46:54 GMT+01:00 2015
Package: package_1421959209027.awf
Install
Write Revision: 4841
----------------Plugins----------------
----------------Extensions----------------
   extensions/JDChat.jar
   extensions/Scheduler.jar
   extensions/translator.jar
----------------Direct Files----------------
----------------Core Files----------------
   libs/irclib.jar
   libs/sequence-library.jar
   libs/sqljet.jar
   libs/svnkit.jar
SO the logs are showing always the same files he tries to update....I can reproduce this multiple times.

Any ideas what could be wrong or how to fix this issue?

I don't want to update it the hard way by copy&paste always new external installs

Thanks again for helping out. Best!
Reply With Quote
  #73  
Old 24.01.2015, 20:59
castortray
Guest
 
Posts: n/a
Default

my jdownloader won't start automatically after synology restart.
When I connected via putty and run:

Code:
nohup /volume1/@appstore/JavaManager/Java/bin/java -Djava.awt.headless=true -jar /volume1/@appstore/jdownloader/JDownloader.jar &
then it's working fine.

What I noticed also I cannot see the file:
/var/run/S99jdownloader.pid
I;m not sure if this is important

I tired also run schedule task with script S99jdownloader.sh but after that still not working. Only one way to run it is via putty.

Thanks in advance for any help.
Reply With Quote
  #74  
Old 24.01.2015, 22:15
Nop0x
Guest
 
Posts: n/a
Default

Hey guys,

managed to get jD working on my Synology DS212j with only 1 exception:

automatic unrar is not working :(

Here's the Log:

Spoiler:
Code:
------------------------Thread: 38:ExtractionExtension.log-----------------------
--ID:38TS:1422129177373-1/24/15 8:52:57 PM -  [org.appwork.txtresource.TranslationHandler(createTranslationResource)] -> Utils>ExtractionExtension.log>Load Translation file:/volume1/JDownloader/translations/org/jdownloader/extensions/extraction/translate/ExtractionTranslation.en.lng
--ID:38TS:1422129178602-1/24/15 8:52:58 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib ID: Linux-arm
--ID:38TS:1422129178603-1/24/15 8:52:58 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib Path: /volume1/JDownloader/tmp/7zip
--ID:38TS:1422129179388-1/24/15 8:52:59 PM -  [] -> net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/volume1/JDownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so'
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:511)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:383)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:325)
	at org.jdownloader.extensions.extraction.multi.Multi.checkCommand(Multi.java:413)
	at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:602)
	at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:482)
	at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:80)
	at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:322)
	at org.jdownloader.extensions.LazyExtension.create(LazyExtension.java:65)
	at org.jdownloader.extensions.ExtensionController.initModule(ExtensionController.java:480)
	at org.jdownloader.extensions.ExtensionController.loadJared(ExtensionController.java:316)
	at org.jdownloader.extensions.ExtensionController.load(ExtensionController.java:254)
	at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:122)
	at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:836)
Caused by: java.lang.UnsatisfiedLinkError: /volume1/JDownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1083)
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:509)
	... 13 more

--ID:38TS:1422129179388-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Could not initialize Multiunpacker #1
--ID:38TS:1422129179389-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib Path: /tmp
--ID:38TS:1422129179550-1/24/15 8:52:59 PM -  [] -> net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so'
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:511)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:383)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:293)
	at org.jdownloader.extensions.extraction.multi.Multi.checkCommand(Multi.java:441)
	at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:602)
	at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:482)
	at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:80)
	at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:322)
	at org.jdownloader.extensions.LazyExtension.create(LazyExtension.java:65)
	at org.jdownloader.extensions.ExtensionController.initModule(ExtensionController.java:480)
	at org.jdownloader.extensions.ExtensionController.loadJared(ExtensionController.java:316)
	at org.jdownloader.extensions.ExtensionController.load(ExtensionController.java:254)
	at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:122)
	at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:836)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1083)
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:509)
	... 13 more

--ID:38TS:1422129179550-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Could not initialize Multiunpacker #2
--ID:38TS:1422129179551-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:38TS:1422129179566-1/24/15 8:52:59 PM -  [org.appwork.shutdown.ShutdownController(addShutdownVetoListener)] -> Utils>ExtractionExtension.log>ADD org.jdownloader.extensions.extraction.ExtractionExtension$3@1f45711
--ID:38TS:1422129179585-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 1696


not sure what to do to fix it tbh,
maybe someone here can help?:)
Reply With Quote
  #75  
Old 25.01.2015, 14:51
castortray
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Nop0x View Post
Hey guys,

managed to get jD working on my Synology DS212j with only 1 exception:

automatic unrar is not working :(

Here's the Log:

Spoiler:
Code:
------------------------Thread: 38:ExtractionExtension.log-----------------------
--ID:38TS:1422129177373-1/24/15 8:52:57 PM -  [org.appwork.txtresource.TranslationHandler(createTranslationResource)] -> Utils>ExtractionExtension.log>Load Translation file:/volume1/JDownloader/translations/org/jdownloader/extensions/extraction/translate/ExtractionTranslation.en.lng
--ID:38TS:1422129178602-1/24/15 8:52:58 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib ID: Linux-arm
--ID:38TS:1422129178603-1/24/15 8:52:58 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib Path: /volume1/JDownloader/tmp/7zip
--ID:38TS:1422129179388-1/24/15 8:52:59 PM -  [] -> net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/volume1/JDownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so'
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:511)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:383)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:325)
	at org.jdownloader.extensions.extraction.multi.Multi.checkCommand(Multi.java:413)
	at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:602)
	at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:482)
	at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:80)
	at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:322)
	at org.jdownloader.extensions.LazyExtension.create(LazyExtension.java:65)
	at org.jdownloader.extensions.ExtensionController.initModule(ExtensionController.java:480)
	at org.jdownloader.extensions.ExtensionController.loadJared(ExtensionController.java:316)
	at org.jdownloader.extensions.ExtensionController.load(ExtensionController.java:254)
	at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:122)
	at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:836)
Caused by: java.lang.UnsatisfiedLinkError: /volume1/JDownloader/tmp/7zip/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1083)
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:509)
	... 13 more

--ID:38TS:1422129179388-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Could not initialize Multiunpacker #1
--ID:38TS:1422129179389-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Lib Path: /tmp
--ID:38TS:1422129179550-1/24/15 8:52:59 PM -  [] -> net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so'
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:511)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:383)
	at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:293)
	at org.jdownloader.extensions.extraction.multi.Multi.checkCommand(Multi.java:441)
	at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:602)
	at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:482)
	at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:80)
	at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:322)
	at org.jdownloader.extensions.LazyExtension.create(LazyExtension.java:65)
	at org.jdownloader.extensions.ExtensionController.initModule(ExtensionController.java:480)
	at org.jdownloader.extensions.ExtensionController.loadJared(ExtensionController.java:316)
	at org.jdownloader.extensions.ExtensionController.load(ExtensionController.java:254)
	at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:122)
	at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:836)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-XZJYm/lib7-Zip-JBinding.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1083)
	at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:509)
	... 13 more

--ID:38TS:1422129179550-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkCommand)] -> Could not initialize Multiunpacker #2
--ID:38TS:1422129179551-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:38TS:1422129179566-1/24/15 8:52:59 PM -  [org.appwork.shutdown.ShutdownController(addShutdownVetoListener)] -> Utils>ExtractionExtension.log>ADD org.jdownloader.extensions.extraction.ExtractionExtension$3@1f45711
--ID:38TS:1422129179585-1/24/15 8:52:59 PM -  [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 1696


not sure what to do to fix it tbh,
maybe someone here can help?:)

can you share prtsc with permissions for file S99jdownloader.sh and /volume1/@appstore/jdownloader/ files *.*

you can use WinSCP the easiest way.

I want to comapre with my settings on DS1813+,

For me also automatic unrar doessn't work :(

but main issue is that jdownloader doesn't start automatically after synology restart
Reply With Quote
  #76  
Old 25.01.2015, 15:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

We use sevenzipjbind for extraction. At the moment we only provide library for windows(32/64)/mac(32/64)/linux(32/64/raspberrypi/odroid/cubox).
I need output from cat /proc/cpuinfo to check if extraction support is possible.
Also help is welcome for crosscompiled libraries for headless devices
__________________
JD-Dev & Server-Admin
Reply With Quote
  #77  
Old 26.01.2015, 16:29
castortray
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
We use sevenzipjbind for extraction. At the moment we only provide library for windows(32/64)/mac(32/64)/linux(32/64/raspberrypi/odroid/cubox).
I need output from cat /proc/cpuinfo to check if extraction support is possible.
Also help is welcome for crosscompiled libraries for headless devices
Synology DS1813+ results of cat /proc/cpuinfo

Code:
DiskStation> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2128.245
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4256.49
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2128.245
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.76
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2128.245
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.79
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2128.245
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.79
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
Reply With Quote
  #78  
Old 26.01.2015, 16:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

how did you install jdownloader on the nas? It looks like you just copied your local(pc) configuration on it in that case the libraries will have the wrong version (bitness,os).
Remove Core.jar and start jd again, it will then update libraries to correct version.


USE java -jar JDownloader.jar to install on devices, NEVER copy from other OS!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #79  
Old 26.01.2015, 18:11
castortray
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
how did you install jdownloader on the nas? It looks like you just copied your local(pc) configuration on it in that case the libraries will have the wrong version (bitness,os).
Remove Core.jar and start jd again, it will then update libraries to correct version.


USE java -jar JDownloader.jar to install on devices, NEVER copy from other OS!
I did everything according to post:

https://board.jdownloader.org/showpo...2&postcount=46

If I will use "USE java -jar JDownloader.jar" to install on devices, how I will be able to connect to jdownloader ? without configured myjdownloaded credential ?

Last edited by castortray; 26.01.2015 at 18:15.
Reply With Quote
  #80  
Old 26.01.2015, 18:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

it will ask you for logins during installation (asks them on console)
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:31.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.