<div dir="ltr"><div class="gmail_quote">On Tue, Sep 23, 2008 at 2:40 AM, Marc MERLIN <span dir="ltr"><<a href="mailto:marc_mtv@merlins.org">marc_mtv@merlins.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
So, restarting the master backend didn't help, and deleting and re-adding<br>
all the encoders didn't help either :(<br>
<br>
Mmmh, after that things even got worse on the master:<br>
2008-09-23 00:09:57.503 Empty LocalHostName.<br>
2008-09-23 00:09:57.504 Using localhost value of myth<br>
2008-09-23 00:09:57.510 New DB connection, total: 1<br>
2008-09-23 00:09:57.513 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:09:57.514 Closing DB connection named 'DBManager0'<br>
2008-09-23 00:09:57.515 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:09:57.516 New DB connection, total: 2<br>
2008-09-23 00:09:57.517 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:09:57.518 Current Schema Version: 1214<br>
<div class="Ih2E3d">Running as a slave backend.<br>
</div>2008-09-23 00:09:57.523 mythbackend: MythBackend started as a slave backend<br>
^^^^^^^^^^^^^^^^^^^^^^^^^<br>
<br>
This was due to your telling me that<br>
<div class="Ih2E3d">> > i) The Master Backend should have value='MasterServerIP',<br>
> > data=''your.ip.address' and hostname='NULL'<br>
<br>
</div>I set the hostname back:<br>
<div class="Ih2E3d">MasterServerIP <a href="http://192.168.205.61" target="_blank">192.168.205.61</a> myth<br>
</div>and that part got fixed:<br>
Starting up as the master server.<br>
2008-09-23 00:12:20.788 mythbackend: MythBackend started as master server<br>
<br>
and I'm back at square one:<br>
<div class="Ih2E3d">Encoders:<br>
myth (1) - Idle<br>
myth (2) - Idle<br>
myth (3) - Idle<br>
</div>myth (4) - Idle<br>
<a href="http://gargamel.svh.merlins.org" target="_blank">gargamel.svh.merlins.org</a> (5) - -1 (Disconnected)<br>
<a href="http://gargamel.svh.merlins.org" target="_blank">gargamel.svh.merlins.org</a> (6) - -1 (Disconnected)<br>
and<br>
2008-09-23 00:15:00.827 PlaybackBox::play(): Error, myth://<a href="http://192.168.205.3:6543/1068_20080919220000.mpg" target="_blank">192.168.205.3:6543/1068_20080919220000.mpg</a> file not found<br>
and my frontend still clearly decides that nothing is on <a href="http://192.168.205.3" target="_blank">192.168.205.3</a>,<br>
because strace on that server does not show a single connection or anything<br>
happening on that mythbackend process.<br>
<br>
Clearly, communication between myth (<a href="http://192.168.205.61" target="_blank">192.168.205.61</a>) and gargamel<br>
(<a href="http://192.168.205.3" target="_blank">192.168.205.3</a>) is failing in some way, but gargamel does connect<br>
to the right DB:<br>
<div class="Ih2E3d">gargamel:~# /etc/init.d/mythtv-backend start<br>
Starting MythTV server: mythbackend .<br>
</div>gargamel:~# 2008-09-23 00:24:24.669 Using runtime prefix = /usr, libdir = /usr/lib<br>
2008-09-23 00:24:24.706 Empty LocalHostName.<br>
2008-09-23 00:24:24.738 Using localhost value of <a href="http://gargamel.svh.merlins.org" target="_blank">gargamel.svh.merlins.org</a><br>
2008-09-23 00:24:24.752 Testing network connectivity to myth<br>
2008-09-23 00:24:24.794 New DB connection, total: 1<br>
2008-09-23 00:24:24.833 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:24:24.842 Closing DB connection named 'DBManager0'<br>
2008-09-23 00:24:24.857 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:24:24.872 New DB connection, total: 2<br>
2008-09-23 00:24:24.892 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:24:24.909 Current Schema Version: 1214<br>
<div class="Ih2E3d">Running as a slave backend.<br>
</div>2008-09-23 00:24:24.951 New DB connection, total: 3<br>
2008-09-23 00:24:24.968 Connected to database 'mythconverg' at host: myth<br>
2008-09-23 00:24:25.664 Main::Registering HttpStatus Extension<br>
2008-09-23 00:24:25.680 mythbackend version: 0.21.20080304-1 <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
2008-09-23 00:24:25.691 Enabled verbose msgs: important general<br>
2008-09-23 00:24:26.713 Connecting to master server: :6543<br>
2008-09-23 00:24:26.745 Connected successfully<br>
<br>
although I'm not sure what this means afterwards:<br>
2008-09-23 00:24:56.760 MythSocket(827e650:11): readStringList: Error, timeout.<br>
2008-09-23 00:24:56.905 adding: <a href="http://gargamel.svh.merlins.org" target="_blank">gargamel.svh.merlins.org</a> as a slave backend server<br>
2008-09-23 00:24:56.925 MythSocket(8298d58:-1): writeStringList: Error, socket went unconnected.<br>
<br>
At this point, I should see my slave backend registered on my master backend<br>
in /var/log/mythtv/mythbackend.log, right? but I do not.<br>
<br>
That's probably where my problem lies.<br>
Just to be extra sure, strace of mysql on myth does show gargamel connecting to it<br>
when I start the slave backend, so it's talking to the right DB.<br>
<br>
gargamel is running mythtv-backend 0.21-0.13 (debian)<br>
myth is running mythtv-backend 0.21.0+fixes16838-0ubuntu3 (ubuntu)<br>
<br>
ls -l /var/lib/dpkg/info/mythtv-backend.list<br>
on both servers shows that the packages date back to 2008-05-14, so they<br>
didn't just get upgraded and they were able to talk to one another just fine<br>
back then. I doubt the protocol just changed without the packages changing.<br>
Either way, myth says:<br>
2008-09-23 00:10:00.853 mythbackend version: 0.21.20080304-1 <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
and gargamel says:<br>
2008-09-23 00:27:19.298 mythbackend version: 0.21.20080304-1 <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
<br>
so they are compatible.<br>
<br>
I'm really at a loss, what now?</blockquote><div><br></div><div>Are you using hostnames or IP addresses? I'm pretty sure you need to use IP addresses everywhere.</div><div><br></div><div>Kevin</div></div></div>