Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: stephdl on August 17, 2015, 10:42:56 AM

Title: Jdownloader on sme9
Post by: stephdl on August 17, 2015, 10:42:56 AM
Ola

I started a howto to install Jdownloader on sme9 (not tested sme8), Jdownloader is my favourite download manager and a real competitor to face to pyload.

http://wiki.contribs.org/Jdownloader2
Title: Re: Jdownloader on sme9
Post by: DanB35 on August 19, 2015, 03:38:37 PM
The instructions call for creating a Samba fragment, but I don't see that they specify where it's to be created.  Did I miss that?
Title: Re: Jdownloader on sme9
Post by: stephdl on August 19, 2015, 04:43:57 PM
Indeed....i will correct it later but in fact it is in the smb templates
Title: Re: Jdownloader on sme9
Post by: stephdl on August 19, 2015, 06:17:56 PM
Indeed....i will correct it later but in fact it is in the smb templates

done
Title: Re: Jdownloader on sme9
Post by: DanB35 on August 19, 2015, 08:53:59 PM
Thanks.  Created the template and think I've made it through the installation, but the service won't start.  Launching manually gives this result, repeated every few minutes for the last 90 minutes or so:
Code: [Select]
Start Update
Update Message: Check for updates
Update Progress: 3%
Update Progress: -1%
Update Message: Contact Server...
Update Message: Check for updates
Update Progress: 0%
Start Update
Update Message: Check for updates
Update Progress: 3%
Update Progress: -1%
Update Message: Contact Server...
Update Message: Check for updates
Update Progress: 0%

While this is happening, I'm able to see my install on my.jdownloader.org and change settings.  Seems like I'm still missing something.
Title: Re: Jdownloader on sme9
Post by: stephdl on August 19, 2015, 09:44:12 PM
ps aux |grep -i jdownloader
And
service jdownloader status

Do you have relaunched the service the second time (you may need to kill the pid first) and add your credentials of myjdownloader
Title: Re: Jdownloader on sme9
Post by: DanB35 on August 19, 2015, 10:01:50 PM
Code: [Select]
[root@e-smith ~]# ps aux |grep -i jdownloader
root      3731  0.0  0.0 136716  1472 ?        S    13:15   0:00 su -s /bin/sh jdownloader -c java -Djava.awt.headless=true -jar /usr/share/JD2/JDownloader.jar
810       3732  0.2  2.6 5675908 214600 ?      Ssl  13:15   0:23 java -Djava.awt.headless=true -jar /usr/share/JD2/JDownloader.jar
root     12020  0.0  0.0 103312   916 pts/1    S+   15:58   0:00 grep -i jdownloader
[root@e-smith ~]# service jdownloader status
'jdownloader' is not a valid service name
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader status
Checking jdownloader...                           The process appears to be dead but pidfile still exists
[root@e-smith ~]# kill -9 3731 3732
[root@e-smith ~]# ps aux |grep -i jdownloader
root     12122  0.0  0.0 103308   888 pts/1    S+   16:00   0:00 grep -i jdownloader
[root@e-smith ~]# cat /var/run/jdownloader.pid
3657
[root@e-smith ~]# rm /var/run/jdownloader.pid
rm: remove regular file `/var/run/jdownloader.pid'? y
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader restart
Service not running
Starting service…
Error! Could not start jdownloader!
Title: Re: Jdownloader on sme9
Post by: stephdl on August 19, 2015, 10:53:03 PM
Code: [Select]
[quote author=DanB35 link=topic=51881.msg264695#msg264695 date=1440014510]

[root@e-smith ~]# service jdownloader status
'jdownloader' is not a valid service name
....
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader restart
Service not running
Starting service…
Error! Could not start jdownloader!
[/quote]

I missed the http://wiki.contribs.org/Jdownloader2#start_at_boot_time please change the /etc/rc.d/init.d/jdownloader accordingly and do
Code: [Select]
chkconfig --add jdownloader
ln -s  /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S90jdownloader
signal-event remoteaccess-update


it was the two errors I made, now it is workable (I just tested it)
Title: Re: Jdownloader on sme9
Post by: Stefano on August 20, 2015, 08:42:18 AM
Steph,  you don't need the chkconfig part
Title: Re: Jdownloader on sme9
Post by: stephdl on August 20, 2015, 04:28:42 PM
Steph,  you don't need the chkconfig part

you are right, a bad habit from the other darkside of the moon