Author Topic: Mediatomb server stops after few minutes  (Read 1503 times)

hermanvh

  • Regular Poster
  • **
  • Posts: 28
    • View Profile
Mediatomb server stops after few minutes
« on: January 28, 2011, 03:12:50 pm »
On my core the mediatomb server stops after a few minutes of activity without leaving any error message in the logging.
After restarting mediatomb with sudo /etc/init.d/mediatomb restart the same happens again.

Below a snippet of the log file, there are more warnings on Failed to stat, but no other messages in the log.

Code: [Select]
2011-01-28 14:52:17    INFO: Loading configuration from: /etc/mediatomb/config.xml
2011-01-28 14:52:17    INFO: Checking configuration...
2011-01-28 14:52:17    INFO: Setting filesystem import charset to UTF-8
2011-01-28 14:52:17    INFO: Setting metadata import charset to UTF-8
2011-01-28 14:52:17    INFO: Setting playlist charset to UTF-8
2011-01-28 14:52:17    INFO: Configuration check succeeded.
2011-01-28 14:52:17    INFO: Initialized port: 49152
2011-01-28 14:52:17    INFO: Server bound to: 192.168.80.1
2011-01-28 14:52:18    INFO: MediaTomb Web UI can be reached by following this link:
2011-01-28 14:52:18    INFO: http://192.168.80.1:49152/
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/Australia/VIDEO_TS : Failed to stat /home/public/data/videos/Media [39]/Australia/VIDEO_TS
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/Australia/Thumbs.db : Failed to stat /home/public/data/videos/Media [39]/Australia/Thumbs.db
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/Australia/Australia.id3 : Failed to stat /home/public/data/videos/Media [39]/Australia/Australia.id3
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/Australia/folder.jpg : Failed to stat /home/public/data/videos/Media [39]/Australia/folder.jpg
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/Australia/folder.jpg.tnj : Failed to stat /home/public/data/videos/Media [39]/Australia/folder.jpg.tnj
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/The Bourne Identity/VIDEO_TS : Failed to stat /home/public/data/videos/Media [39]/The Bourne Identity/VIDEO_TS
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/The Bourne Identity/AUDIO_TS : Failed to stat /home/public/data/videos/Media [39]/The Bourne Identity/AUDIO_TS
2011-01-28 14:52:37 WARNING: skipping /home/public/data/videos/Media [39]/The Bourne Identity/The Bourne Identity.id3 : Failed to stat /home/public/data/videos/Media [39]/The Bourne Identity/The

The configuration is LMCE 0810 updated to the version 23579

Any suggestions?

BR Herman

dirkcolaert

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Mediatomb server stops after few minutes
« Reply #1 on: October 24, 2011, 05:39:24 pm »
Just to say that I have more or less the same thing. In the WebAdmin (advanced->configuration->uPnP server) I see only a login screen with a username password prompt. When I enter this, nothing happens. When I do sudo /etc/init.d/mediatomb start everything is ok, but after two minutes of working with the tool the message "MediaTomb cannot be reached" appears. Reload of the page gives me the username/password prompt again. Starting the server from a terminal restores it again, etc ...

The strange behaviour started after loading many megabytes of pictures, but I doubt there is a connection.

I work with the final 8.10 release.

dirkcolaert

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Mediatomb server stops after few minutes
« Reply #2 on: October 26, 2011, 10:08:41 pm »
I found out what the reason was of Mediatomb being desactivated. It crashes silently when rescanning the folders. Some of them apparently contained files that it couldn't handle (corrupt files ?). In my system it turned out to be three folders that contained these kind of files. I moved them to another drive, outside the scope of Mediatomb and everything worked fine.
When I moved back the files the craches were there again. Then I converted the files with a graphical package (export with Lightroom from Adobe) and moved them back under the control of Mediatomb and then it worked again.`So the base problem is that mediatiomb cannot handle certain files (corrupt or not, I don't really know) and doesn't indicate this in the log file.
Maybe compiling with debuging 'on' would reveal something.
Hope this helps