PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mediatomb nimm port nicht an ?



Starfoxfs
31.12.11, 14:02
Hi zusammen,

Ich habe mal wieder ein paar Probleme mit Mediatomb auf Suse 11.3

In der /etc/mediatomb.conf ist der Port 50500 eingestellt aber Mediatomb nimmt mir diesen nicht an und startet immer auf 49152 beim restart auf 49153.

Woran kann das liegen ?

Hier mal die mediatomb.conf


## This is a sambel configuration file for the MediaTomb daemon script
## used on Fedora Core

## By default the configuration will be created in /etc/mediatomb

## Network interface on which the server will run, you need to edit this!
MT_INTERFACE="eth0"

## User defined command line options that may be passed to the server
MT_OPTIONS=""

## MediaTomb will be started on port 50500
MT_PORT="50500"

## MediaTomb will run as mediatomb
MT_USER="mediatomb"
MT_GROUP="mediatomb"

## Location of the PID file
MT_PIDFILE="/var/run/mediatomb.pid"

## Location of the log file
MT_LOGFILE="/var/log/mediatomb"

## Location of the config file/database
MT_HOME="/etc"
MT_CFGDIR="mediatomb"

Das Lustige ist der Log sagt das hier:


2011-12-31 14:39:20 INFO: Configuration check succeeded.
2011-12-31 14:39:20 INFO: Initialized port: 50500
2011-12-31 14:39:20 INFO: Server bound to: 192.168.178.27
2011-12-31 14:39:22 INFO: MediaTomb Web UI can be reached by following this link:
2011-12-31 14:39:22 INFO: http://192.168.178.27:50500/
2011-12-31 14:43:13 INFO: Loading configuration from: /etc/mediatomb/config.xml
2011-12-31 14:43:13 INFO: Checking configuration...
2011-12-31 14:43:13 INFO: Setting filesystem import charset to UTF-8
2011-12-31 14:43:13 INFO: Setting metadata import charset to UTF-8
2011-12-31 14:43:13 INFO: Setting playlist charset to UTF-8
2011-12-31 14:43:13 WARNING: You enabled the YouTube feature, which allows you
to watch YouTube videos on your UPnP device!
Please check http://www.youtube.com/t/terms
By using this feature you may be violating YouTube
service terms and conditions!

Und die Konsole sagt mir aber das hier:


MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/

================================================== =============================
Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2011-12-31 15:00:36 INFO: Loading configuration from: /root/.mediatomb/config.xml
2011-12-31 15:00:36 INFO: Checking configuration...
2011-12-31 15:00:36 INFO: Setting filesystem import charset to UTF-8
2011-12-31 15:00:36 INFO: Setting metadata import charset to UTF-8
2011-12-31 15:00:36 INFO: Setting playlist charset to UTF-8
2011-12-31 15:00:36 WARNING: You enabled the YouTube feature, which allows you
to watch YouTube videos on your UPnP device!
Please check http://www.youtube.com/t/terms
By using this feature you may be violating YouTube
service terms and conditions!

2011-12-31 15:00:36 INFO: Configuration check succeeded.
2011-12-31 15:00:36 INFO: Initialized port: 49153
2011-12-31 15:00:36 INFO: Server bound to: 192.168.178.27
2011-12-31 15:00:37 ERROR: SQLITE3: (5) database is locked
Query:UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='timed'
error: database is locked

Starfoxfs
31.12.11, 14:42
Ich hab den Port jetzt auf 49152 gestellt.

Wenn ich dann im Web-Interface von Mediatomb über Filesystem einen Musik Ordner setze um die Liste in die Datenbank zu übernehmen kommt der Fehler:

Server cannot be reached, is the Server still running ...

schließe ich den Firefox und gehe erneut auf das Web-Interface soll ich Username und Password eingeben.

Starfoxfs
02.01.12, 17:44
Also ich habs nach 2 Tage Fehlersuche nun endlich gefunden.

Wenn der Mediatomb Server beim Adden im Webinterface crashed dann liegt das an FFMPEG.

Man sollte nachschauen ob man die aktuellste Version von FFMpeg installiert hat dann funktioniert auch Mediatomb.

Starfoxfs
03.01.12, 12:34
Tja zu früh gefreut, der Fehler besteht weiterhin auch mit dem aktuellsten FFMpeg.

Mediatomb startet ohne Probleme, wenn ich in WebInterface gehe und Dateien adden will crashed der Mediatomb Server.

Jemand noch eine Idee ?