Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

mediatomb fails at boot

Got problems with your B2 or B3? Share and get helped!
Post Reply
JohanC
Posts: 2
Joined: 28 Mar 2010, 10:57

mediatomb fails at boot

Post by JohanC »

Hi,

I have upgraded my Bubba Two yesterday to version 1.3.1 and now mediatomb fails to start at boot.
The file mediatomb.log gives the following error messages:

Code: Select all

2010-03-28 16:32:23   ERROR: Could not determine interface address
2010-03-28 16:32:23   ERROR: Could not find interface: eth1
If I manually start mediatomb (from the webinterface or simply by /etc/init.d/mediatomb start) then it works fine.
If I look in daemon.log then it seems that mediatomb tried to start up before the network connection was established by dhclient (I'm running Bubba in server mode):

Code: Select all

Mar 28 16:32:23 bubba dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
Mar 28 16:32:25 bubba dhclient: DHCPOFFER from 192.168.178.1
Mar 28 16:32:25 bubba dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Mar 28 16:32:25 bubba dhclient: DHCPACK from 192.168.178.1
Mar 28 16:32:31 bubba dhclient: bound to 192.168.178.24 -- renewal in 386830 seconds.
The order of start-up scripts in /etc/rc*.d seems to be fine (and has not changed).

Any ideas?

Regards,
Johan.
JohanC
Posts: 2
Joined: 28 Mar 2010, 10:57

Re: mediatomb fails at boot

Post by JohanC »

In case anybody runs into the same problem, I've found a solution here: http://mediatomb.cc/dokuwiki/faq:faq.

Simply adding the line
auto eth1
to the file /etc/network/interfaces does the trick.

Johan.
Post Reply