View previous topic :: View next topic |
Author |
Message |
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Wed Apr 27, 2016 2:46 am Post subject: [Solved] Mediatomb - Unspecified error: |
|
|
Hi Guys,
I just emerged mediatomb to use as the media server in my Banana Pi but I can't seem to make it start. I already followed the guide on gentoo, looked in the threads here and in the mediatomb forum and even in the source code but I can't figure out what this error is. Due to this error I can't make the server work. Do anyone has any idea on what is happening in this problem?
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 0 -> 1
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 1 -> 2
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 2 -> 3
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 3 -> 4
2016-04-26 22:38:37 DEBUG: [../src/server.cc:118] upnp_init(): start
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:190] init(): db_version: 3
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 4 -> 5
2016-04-26 22:38:37 ERROR: main: upnp error -208
2016-04-26 22:38:37 ERROR: Socket error.
2016-04-26 22:38:37 INFO: Please check if your network interface was configured for multicast!
2016-04-26 22:38:37 INFO: Refer to the README file for more information.
2016-04-26 22:38:37 DEBUG: [../src/singleton.cc:79] shutdown(): start (5 objects)
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:358] shutdownDriver(): start
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:361] shutdownDriver(): signalling...
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:364] shutdownDriver(): waiting for thread
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:282] staticThreadProc(): Sqlite3Storage::staticThreadProc - exiting thread
2016-04-26 22:38:37 DEBUG: [../src/storage/sqlite3/sqlite3_storage.cc:368] shutdownDriver(): end
2016-04-26 22:38:37 DEBUG: [../src/server.cc:331] shutdown(): start
2016-04-26 22:38:37 DEBUG: [../src/zmmf/object_stack.h:54] ~ObjectStack(): releasing!
2016-04-26 22:38:37 DEBUG: [../src/zmmf/object_stack.h:54] ~ObjectStack(): releasing!
2016-04-26 22:38:37 DEBUG: [../src/zmmf/object_stack.h:54] ~ObjectStack(): releasing!
2016-04-26 22:38:37 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed
Last edited by nelsonwcf on Fri Apr 29, 2016 1:54 am; edited 1 time in total |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Wed Apr 27, 2016 3:39 pm Post subject: |
|
|
Quote: | 2016-04-26 22:38:37 INFO: Please check if your network interface was configured for multicast! |
well, was it?
check with this:
Code: | zgrep -i multicast /proc/config.gz |
and the output should be Code: | CONFIG_IP_MULTICAST=y |
if not, reconfigure and compile your kernel.
this should be all.
in rare cases you may have to configure your interface with Code: | ifconfig <IFNAME> multicast |
GOOD LUCK! _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Wed Apr 27, 2016 7:02 pm Post subject: |
|
|
Well, that was the first thing I've checked. Multicast is enabled in both the kernel and in the network interface. Normally, the error code for the multicast issue in the Error -203. Got that covered already. One thing: Banana Pi is an ARM processor. When I emerged it, I had to put the ~amd keyword. However, in the main site of mediatomb, it says that ARM is perfectly supported.
Could do this be the problem? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54098 Location: 56N 3W
|
Posted: Wed Apr 27, 2016 7:21 pm Post subject: |
|
|
nelsonwcf,
I hope you mean ~arm not ~amd. The ~arm keyword means that mediatomb is considered to be testing on Gentoo.
With the upnp error, mediatomb should still work but it won't be discovered automatically. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Wed Apr 27, 2016 7:30 pm Post subject: |
|
|
Yes, it was typo. ~arm.
With that error, the mediatomb don't even start (exits immediately). I can't access the web interface or find the media server in any other device. So no, it is not working at all.
I've also notice that the gentoo guide to mediatomb doesn't mention sqlite3 at all. Maybe this is the reason it doesn't work even though it was supposed to be supported and I'm using it instead of the documented MySQL? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54098 Location: 56N 3W
|
Posted: Wed Apr 27, 2016 8:45 pm Post subject: |
|
|
nelsonwcf,
I run mediatomb, on amd64, with the following USE flags.
Code: | net-misc/mediatomb-0.12.2_pre20150118-r1::gentoo USE="curl exif ffmpeg flac id3tag inotify lastfm magic mp4 mysql thumbnail zlib -debug -javascript -libav -sqlite -taglib" |
Notice that both mysql and sqlite are listed, so either are expected to work.
The ebuild contains Code: | REQUIRED_USE="
|| ( mysql sqlite ) | which means at least one of mysql sqlite must be on.
It looks like you have upnp missing somewhere. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Fri Apr 29, 2016 1:54 am Post subject: [Solved] Mediatomb - Unspecified error: |
|
|
Well, it ended up being that I had to kernel versions installed and the one was was compiling was not the one I've been installing. So yes, it was the Multicast IP not enabled in the version I was installing.
Thanks for the help! |
|
Back to top |
|
|
|