TwonkyServer 6.0.28 does not scan media and shows defunct

Linux and UNIX specific discussions
Post Reply
traveler
Posts:5
Joined:Sun Dec 05, 2010 6:11 pm
AV Hardware:vdr
TwonkyServer 6.0.28 does not scan media and shows defunct

Post by traveler » Sun Dec 05, 2010 6:20 pm

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?

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: TwonkyServer 6.0.28 does not scan media and shows defunct

Post by PeeBee » Sun Dec 05, 2010 7:01 pm

It seems like you have a file missing - see this post for details.

PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

traveler
Posts:5
Joined:Sun Dec 05, 2010 6:11 pm
AV Hardware:vdr

Re: TwonkyServer 6.0.28 does not scan media and shows defunct

Post by traveler » Sun Dec 05, 2010 7:58 pm

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?

traveler
Posts:5
Joined:Sun Dec 05, 2010 6:11 pm
AV Hardware:vdr

Re: TwonkyServer 6.0.28 does not scan media and shows defunct

Post by traveler » Sun Dec 05, 2010 8:28 pm

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?

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: TwonkyServer 6.0.28 does not scan media and shows defunct

Post by PeeBee » Sun Dec 05, 2010 9:48 pm

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.
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

traveler
Posts:5
Joined:Sun Dec 05, 2010 6:11 pm
AV Hardware:vdr

Re: TwonkyServer 6.0.28 does not scan media and shows defunct

Post by traveler » Tue Dec 07, 2010 8:01 pm

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]

Post Reply