Mediatomb does not start because upnpd already bound to ports
Mediatomb tries to use the same ports as upnpd. Mediatomb is configured to use 49153 since in the past it interfered with dj-mount /Ticket #971 (closed).
upnpd in precise:
dcerouter_1035252:/etc/mediatomb# lsof -i|grep 11290
upnpd 11290 root 1u IPv4 4640244 0t0 TCP *:49152 (LISTEN)
upnpd 11290 root 2u IPv6 4640245 0t0 TCP *:49153 (LISTEN)
upnpd 11290 root 3u IPv4 4640246 0t0 UDP localhost.localdomain:47029
upnpd 11290 root 5u IPv4 4640248 0t0 UDP *:1900
According to the config it uses autodetect, so probably it startes before mediatomb in precise:
# The UPnP port to listen on.
# default = 0 (first free UPnP port, starting with 49152)
listenport = 0
It seems like djmount uses 49154, probably autodetected as 49152-49153 are taken by upnpd ?
So maybe we should change mediatomb to 49158 or something like this to have some reserve ? Or make sure mediatomb starts first before the upnpd and djmount ?