A seemingly simple problem under Debian
I have been running twonky for years and thought I knew the subtle stuff etc.
I had it running on a Unslung SLUG without issue
A few weeks ago, I also installed it under DD-WRT on a Asus router, no issues
I just switched the SLUG to Debian and now issues when trying to install/run twonky
It balks on finding/running /usr/local/twonkymedia/twonkymedia
It is 6.0.30 and I have tried all the obvious perms things and some of the hints posted on various forums. No go so far.
Maybe the solution is posted here, but I could not find anything via a search...
I had it running on a Unslung SLUG without issue
A few weeks ago, I also installed it under DD-WRT on a Asus router, no issues
I just switched the SLUG to Debian and now issues when trying to install/run twonky
It balks on finding/running /usr/local/twonkymedia/twonkymedia
It is 6.0.30 and I have tried all the obvious perms things and some of the hints posted on various forums. No go so far.
Maybe the solution is posted here, but I could not find anything via a search...
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
What do you mean by 'it balks'? What error message do you get?JimLill wrote:I have been running twonky for years and thought I knew the subtle stuff etc.
I had it running on a Unslung SLUG without issue
A few weeks ago, I also installed it under DD-WRT on a Asus router, no issues
I just switched the SLUG to Debian and now issues when trying to install/run twonky
It balks on finding/running /usr/local/twonkymedia/twonkymedia
It is 6.0.30 and I have tried all the obvious perms things and some of the hints posted on various forums. No go so far.
Maybe the solution is posted here, but I could not find anything via a search...
Also do this-
1) Login into the SLUG as root and do cd /usr/local/twonkymedia
2) Then do ls -alF
3) Then do ls -alF plugins
Post the output of the ls commands.
Last edited by parnott on Sat May 07, 2011 5:51 pm, edited 1 time in total.
Re: A seemingly simple problem under Debian
"It balks on finding/running /usr/local/twonkymedia/twonkymedia".............
SLUG:/usr/local/twonkymedia# /usr/local/twonkymedia/twonkymedia.sh start
Starting /usr/local/twonkymedia/twonkymedia ... /usr/local/twonkymedia/twonkymedia.sh:
line 91: /usr/local/twonkymedia/twonkymedia: No such file or directory
SLUG:/usr/local/twonkymedia# /usr/local/twonkymedia/twonkymedia.sh start
Starting /usr/local/twonkymedia/twonkymedia ... /usr/local/twonkymedia/twonkymedia.sh:
line 91: /usr/local/twonkymedia/twonkymedia: No such file or directory
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
Sorry I was updating my post.JimLill wrote:"It balks on finding/running /usr/local/twonkymedia/twonkymedia".............
SLUG:/usr/local/twonkymedia# /usr/local/twonkymedia/twonkymedia.sh start
Starting /usr/local/twonkymedia/twonkymedia ... /usr/local/twonkymedia/twonkymedia.sh:
line 91: /usr/local/twonkymedia/twonkymedia: No such file or directory
Login into the SLUG as root then execute the commands-
1) cd /usr/local/twonkymedia
2) ls -alF
Post the output.
Re: A seemingly simple problem under Debian
SLUG:/usr/local/twonkymedia# ls -alF
total 1636
drwxr-sr-x 5 root staff 4096 May 7 12:49 ./
drwxrwsr-x 11 root staff 4096 May 7 06:32 ../
-rw-r--r-- 1 root staff 2768 Dec 3 13:07 Linux-HowTo.txt
-rw-r--r-- 1 root staff 48121 Dec 3 13:07 RevisionHistory
drwxr-sr-x 2 root staff 4096 May 7 08:56 cgi-bin/
-rw-r--r-- 1 root staff 193 Dec 3 13:07 initial_keystore.dat
drwxr-sr-x 2 root staff 4096 May 7 08:56 plugins/
-rw-r--r-- 1 root staff 421 Dec 3 13:07 radio.m3u
drwxr-xr-x 4 root staff 4096 May 7 08:56 resources/
-rwxr-xr-x 1 root staff 4788 Dec 3 18:00 twonkymedia*
-rw-r--r-- 1 root staff 153 Dec 3 23:28 twonkymedia-server-default.ini
-rwxr-xr-x 1 root staff 3775 May 7 08:59 twonkymedia.sh*
-rwxr-xr-x 1 root staff 1571772 Dec 3 18:00 twonkymediaserver*
and in plugins
SLUG:/usr/local/twonkymedia/plugins# ls -alF
total 476
drwxr-sr-x 2 root staff 4096 May 7 08:56 ./
drwxr-sr-x 5 root staff 4096 May 7 12:49 ../
-rwx------ 1 root staff 216032 Dec 3 23:07 itunes-import*
-rwx------ 1 root staff 180 Dec 3 23:07 itunes-import.plugin*
-rwx------ 1 root staff 242088 Dec 3 23:12 mediafusion-integration-plugin*
-rwx------ 1 root staff 233 Dec 3 23:12 mediafusion-integration.plugin*
total 1636
drwxr-sr-x 5 root staff 4096 May 7 12:49 ./
drwxrwsr-x 11 root staff 4096 May 7 06:32 ../
-rw-r--r-- 1 root staff 2768 Dec 3 13:07 Linux-HowTo.txt
-rw-r--r-- 1 root staff 48121 Dec 3 13:07 RevisionHistory
drwxr-sr-x 2 root staff 4096 May 7 08:56 cgi-bin/
-rw-r--r-- 1 root staff 193 Dec 3 13:07 initial_keystore.dat
drwxr-sr-x 2 root staff 4096 May 7 08:56 plugins/
-rw-r--r-- 1 root staff 421 Dec 3 13:07 radio.m3u
drwxr-xr-x 4 root staff 4096 May 7 08:56 resources/
-rwxr-xr-x 1 root staff 4788 Dec 3 18:00 twonkymedia*
-rw-r--r-- 1 root staff 153 Dec 3 23:28 twonkymedia-server-default.ini
-rwxr-xr-x 1 root staff 3775 May 7 08:59 twonkymedia.sh*
-rwxr-xr-x 1 root staff 1571772 Dec 3 18:00 twonkymediaserver*
and in plugins
SLUG:/usr/local/twonkymedia/plugins# ls -alF
total 476
drwxr-sr-x 2 root staff 4096 May 7 08:56 ./
drwxr-sr-x 5 root staff 4096 May 7 12:49 ../
-rwx------ 1 root staff 216032 Dec 3 23:07 itunes-import*
-rwx------ 1 root staff 180 Dec 3 23:07 itunes-import.plugin*
-rwx------ 1 root staff 242088 Dec 3 23:12 mediafusion-integration-plugin*
-rwx------ 1 root staff 233 Dec 3 23:12 mediafusion-integration.plugin*
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
OK that mostly looks mostly right but there is something vaguely familiar about your problem. Unfortunately my Debian system failed recently from a bad power supply so I can't test anything.
Some things to try-
1) chown to root:root for all files in the twonky directory, if you are in the /usr/local/twonkymedia directory I think the command is-
chown -R root:root * (could be wrong though about where the -R goes and it could be -r)
2) In the /usr/local/twonkymedia/twonkymedia.sh script, immediately before twonkymedia is started add - cd /usr/local/twonkymedia
Some things to try-
1) chown to root:root for all files in the twonky directory, if you are in the /usr/local/twonkymedia directory I think the command is-
chown -R root:root * (could be wrong though about where the -R goes and it could be -r)
2) In the /usr/local/twonkymedia/twonkymedia.sh script, immediately before twonkymedia is started add - cd /usr/local/twonkymedia
Re: A seemingly simple problem under Debian
variations of my attempts to date, those attempts nor your thoughts work...
and other people have posted about it, but no clear solution
and other people have posted about it, but no clear solution
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
I do recall there is something different about Debian, but as I said I can't remember what. So try-
1) Move the Twonky startup script to the init.d directory
2) Remove the .sh extension. Some Linux variants handle scripts with a .sh extension differently.
1) Move the Twonky startup script to the init.d directory
2) Remove the .sh extension. Some Linux variants handle scripts with a .sh extension differently.
Re: A seemingly simple problem under Debian
I wonder if I am running the correct binary (?)....
Debian on a NSLU2 would be:
Linux ARM little endian glibc 2.2.5
- or -
Linux ARM little endian uclibc 0.9.28
I tried both, both act the same
Debian on a NSLU2 would be:
Linux ARM little endian glibc 2.2.5
- or -
Linux ARM little endian uclibc 0.9.28
I tried both, both act the same
Re: A seemingly simple problem under Debian
surely this is a clue
SLUG:/usr/local/twonkymedia# /usr/local/twonkymedia/twonkymedia
-bash: /usr/local/twonkymedia/twonkymedia: No such file or directory
SLUG:/usr/local/twonkymedia#
but what it tells? ????
SLUG:/usr/local/twonkymedia# /usr/local/twonkymedia/twonkymedia
-bash: /usr/local/twonkymedia/twonkymedia: No such file or directory
SLUG:/usr/local/twonkymedia#
but what it tells? ????
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
Ah well. Then check that the required libraries are installed.
Also try changing to the Twonky directory and try executing Twonky directly (see you have already tried). If you still get the problem then maybe the correct library is not installed or ldconfig needs to be run.
Also try changing to the Twonky directory and try executing Twonky directly (see you have already tried). If you still get the problem then maybe the correct library is not installed or ldconfig needs to be run.
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: A seemingly simple problem under Debian
You may be right. Can't hurt to give it a try.