Page 1 of 1
TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Sun Dec 05, 2010 6:20 pm
by traveler
Hi,
even i searched through google and the forum i do found an answer how to get TMS running.
I am running a Linux VDR on Debian OS. This are the details:
Kernel: 2.6.28 i686
I did (as root):
mkdir -p /usr/local/twonky
cd /usr/local/twonky
unzip twonkymedia-i386-glibc-2.2.5-6.0.28.zip
chmod 700 twonky* cgi-bin/* plugins/*
Then start TMS using:
/usr/local/twonky/twonkymedia.sh start
The configuration is accessible on port 9000
ps shows:
7388 ? S 0:00 /usr/local/twonky/twonkymedia -D
7389 ? Sl 0:00 /usr/local/twonky/twonkymediaserver -D
7419 ? Z 0:00 [mediafusion-int] <defunct>
If i go to the configuration media-feeds i got:
No user credentials found. Can not authorize with the Mediafusion server.
What can i do to get TMS running?
Re: TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Sun Dec 05, 2010 7:01 pm
by PeeBee
It seems like you have a file missing - see
this post for details.
PB
Re: TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Sun Dec 05, 2010 7:58 pm
by traveler
Hello,
thanks for the hint with the keystore file. Now the media-feeds are shown.
But the process media-fusion-int is still defunct.
6468 ? S 0:00 /usr/local/twonky/twonkymedia -D
6469 ? Sl 0:03 /usr/local/twonky/twonkymediaserver -D
7598 ? Z 0:00 [mediafusion-int] <defunct>
After a second try, i installed from scratch again. In a second shell issued
a ps axww and was watching the web-configuration.
22566 ? S 0:00 /usr/local/twonkymedia/twonkymedia -D
22567 ? Sl 0:00 /usr/local/twonkymedia/twonkymediaserver -D
22599 ? S 0:00 /usr/local/twonkymedia/plugins/mediafusion-integration-plugin /var/twonkymedia/twonkymedia/db -reload -keystore /var/twonkymedia/twonkymedia/portal_keystore.dat -lang de ?
In the web-configuration was to see, that the dirs are scanned. Suddenly it stops and
all counters fliped back to 0.
And after app. 15 seconds the ps axww shows:
22566 ? S 0:00 /usr/local/twonkymedia/twonkymedia -D
22567 ? Sl 0:01 /usr/local/twonkymedia/twonkymediaserver -D
22599 ? Z 0:00 [mediafusion-int] <defunct>
What have i done wrong?
Re: TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Sun Dec 05, 2010 8:28 pm
by traveler
Now i have further informations:
Enabling logging and debug i found this in /tmp/TwonkyMediaServer-log.txt
20:03:05:037 [Info] - LOG_SCAN: ignore_dir : ignored directory in black list /var/lib/video/Ken_Follet
20:03:05:037 [Info] - LOG_SCAN: scan_directory : ignored directory /var/lib/video/Ken_Follet
Why the heck are these dirs are black listed?
Re: TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Sun Dec 05, 2010 9:48 pm
by PeeBee
See
this post - /var/lib is blacklisted. A lot of NAS boxes rebuild the /var folder on restart so it's not a good place to store content
PB.
Re: TwonkyServer 6.0.28 does not scan media and shows defunct
Posted: Tue Dec 07, 2010 8:01 pm
by traveler
After moving the mount point to a different location and it works.
Many thanks for this help.
[quote="PeeBee"]See [url=
http://www.twonkyforum.com/viewtopic.ph ... ist#p25739]this post[/url] - /var/lib is blacklisted. A lot of NAS boxes rebuild the /var folder on restart so it's not a good place to store content
PB.[/quote]