Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Mediatomb - Unspecified error:
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Wed Apr 27, 2016 2:46 am    Post subject: [Solved] Mediatomb - Unspecified error: Reply with quote

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
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Wed Apr 27, 2016 3:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Wed Apr 27, 2016 7:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Wed Apr 27, 2016 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Wed Apr 27, 2016 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Wed Apr 27, 2016 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Fri Apr 29, 2016 1:54 am    Post subject: [Solved] Mediatomb - Unspecified error: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum