<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 1:06 PM, Brad DerManouelian <span dir="ltr">&lt;<a href="mailto:myth@dermanouelian.com">myth@dermanouelian.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just moved to Mythbuntu from F8 and my backend constantly dies for<br>
no apparent reason. I&#39;ve been trying to narrow it down to recording<br>
while watching TV, just recording highdef, but now it just dies<br>
randomly when the frontend is idle on the main menu. Anyone else with<br>
this problem? Here&#39;s my mysterious log.<br>
<br>
bderman@mythtv:~$ more /var/log/mythtv/mythbackend.log<br>
2008-08-21 09:57:45.476 Using runtime prefix = /usr, libdir = /usr/lib<br>
2008-08-21 09:57:45.511 Using localhost value of livingroom<br>
2008-08-21 09:57:45.997 Cannot find default UPnP backend<br>
2008-08-21 09:57:46.074 New DB connection, total: 1<br>
2008-08-21 09:57:46.082 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:57:46.085 Closing DB connection named &#39;DBManager0&#39;<br>
2008-08-21 09:57:46.086 Deleting UPnP client...<br>
2008-08-21 09:57:46.762 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:57:46.766 New DB connection, total: 2<br>
2008-08-21 09:57:46.773 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:57:46.778 Current Schema Version: 1214<br>
Starting up as the master server.<br>
2008-08-21 09:57:46.795 mythbackend: MythBackend started as master<br>
server<br>
2008-08-21 09:57:46.808 New DB connection, total: 3<br>
2008-08-21 09:57:46.811 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:57:46.866 HDHRChan(ffffffff/0): device found at address<br>
<a href="http://192.168.1.174" target="_blank">192.168.1.174</a><br>
2008-08-21 09:57:46.885 HDHRChan(ffffffff/1): device found at address<br>
<a href="http://192.168.1.174" target="_blank">192.168.1.174</a><br>
2008-08-21 09:57:47.977 ret_pid(22212) child(22212) status(0x0)<br>
2008-08-21 09:57:47.979 External Tuning program exited with no error<br>
2008-08-21 09:57:49.160 ret_pid(22217) child(22217) status(0x0)<br>
2008-08-21 09:57:49.163 External Tuning program exited with no error<br>
2008-08-21 09:57:49.277 New DB scheduler connection<br>
2008-08-21 09:57:49.279 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:57:50.457 Main::Registering HttpStatus Extension<br>
2008-08-21 09:57:50.460 mythbackend version: 0.21.20080304-1 <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
2008-08-21 09:57:50.461 Enabled verbose msgs: &nbsp;important general<br>
2008-08-21 09:57:50.478 AutoExpire: CalcParams(): Max required Free<br>
Space: 5.0 GB w/freq: 15 min<br>
2008-08-21 09:57:52.292 Reschedule requested for id -1.<br>
2008-08-21 09:57:53.676 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:57:53.679 adding: livingroom as a client (events: 0)<br>
2008-08-21 09:57:53.681 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:57:53.682 adding: livingroom as a client (events: 1)<br>
2008-08-21 09:57:56.802 mythbackend: Running housekeeping thread<br>
2008-08-21 09:57:58.794 Scheduled 1541 items in 6.5 = 2.91 match +<br>
3.58 place<br>
2008-08-21 09:57:58.803 scheduler: Scheduled items: Scheduled 1541<br>
items in 6.5 = 2.91 match + 3.58 place<br>
2008-08-21 09:57:58.813 Seem to be woken up by USER<br>
2008-08-21 09:57:59.356 UPnpMedia: BuildMediaMap VIDEO scan starting<br>
in :/mythtv/videos:<br>
2008-08-21 09:57:59.378 JobQueue: Commercial Flagging Starting for The<br>
Daily Show With Jon Stewart recorded from channel 2249 at Wed Aug 20<br>
20:00:00 2008<br>
2008-08-21 09:57:59.396 commflag: Commercial Flagging Starting: The<br>
Daily Show With Jon Stewart recorded from channel 2249 at Wed Aug 20<br>
20:00:00 2008<br>
2008-08-21 09:57:59.534 UPnpMedia: BuildMediaMap Done. Found 40 objects<br>
2008-08-21 09:57:59.539 UPnpMedia: BuildMediaMap VIDEO scan starting<br>
in :/entertainment/podcasts:<br>
2008-08-21 09:57:59.811 UPnpMedia: BuildMediaMap Done. Found 76 objects<br>
2008-08-21 09:58:00.029 Using runtime prefix = /usr, libdir = /usr/lib<br>
2008-08-21 09:58:00.036 Using localhost value of livingroom<br>
2008-08-21 09:58:00.684 Cannot find default UPnP backend<br>
2008-08-21 09:58:00.701 New DB connection, total: 1<br>
2008-08-21 09:58:00.708 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:58:00.711 Closing DB connection named &#39;DBManager0&#39;<br>
2008-08-21 09:58:00.712 Deleting UPnP client...<br>
2008-08-21 09:58:01.489 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:58:01.503 New DB connection, total: 2<br>
2008-08-21 09:58:01.505 Connected to database &#39;mythconverg&#39; at host:<br>
localhost<br>
2008-08-21 09:58:01.604 Connecting to backend server:<br>
<a href="http://192.168.1.101:6543" target="_blank">192.168.1.101:6543</a> (try 1 of 10)<br>
2008-08-21 09:58:01.607 Using protocol version 40<br>
2008-08-21 09:58:01.608 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:58:01.627 adding: livingroom as a client (events: 0)<br>
2008-08-21 09:58:01.629 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:58:01.630 adding: livingroom as a client (events: 1)<br>
2008-08-21 09:58:02.413 AFD: Opened codec 0x8350b0, id(MPEG2VIDEO)<br>
type(Video)<br>
2008-08-21 09:58:02.426 AFD: codec MP2 has 2 channels<br>
2008-08-21 09:58:02.427 AFD: Opened codec 0x835490, id(MP2) type(Audio)<br>
2008-08-21 09:58:22.923 MainServer::HandleAnnounce Playback<br>
2008-08-21 09:58:22.926 adding: livingroom as a client (events: 0)<br>
2008-08-21 09:58:22.929 MainServer::HandleAnnounce FileTransfer<br>
2008-08-21 09:58:22.930 adding: livingroom as a remote file transfer<br>
2008-08-21 09:59:09.297 AutoExpire: CalcParams(): Max required Free<br>
Space: 5.0 GB w/freq: 15 min<br>
2008-08-21 09:59:09.361 Expiring 1240 MBytes for 1249 @ Mon Jul 21<br>
20:00:00 2008 =&gt; The Daily Show With Jon Stewart<br>
2008-08-21 09:59:09.369 autoexpire: Expiring Program: Expiring 1240<br>
MBytes for 1249 @ Mon Jul 21 20:00:00 2008 =&gt; The Daily Show With Jon<br>
Stewart<br>
2008-08-21 09:59:16.705 Reschedule requested for id 0.<br>
2008-08-21 09:59:16.709 Connecting to backend server:<br>
<a href="http://192.168.1.101:6543" target="_blank">192.168.1.101:6543</a> (try 1 of 10)<br>
2008-08-21 09:59:16.729 Using protocol version 40<br>
2008-08-21 09:59:16.730 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:59:16.739 adding: livingroom as a client (events: 0)<br>
2008-08-21 09:59:16.740 MainServer::HandleAnnounce Monitor<br>
2008-08-21 09:59:16.741 adding: livingroom as a client (events: 1)<br>
2008-08-21 09:59:16.746 GetRecordBasename found no entry<br>
2008-08-21 09:59:21.468 Scheduled 1541 items in 4.7 = 0.02 match +<br>
4.73 place<br>
2008-08-21 09:59:21.488 scheduler: Scheduled items: Scheduled 1541<br>
items in 4.7 = 0.02 match + 4.73 place<br>
2008-08-21 10:00:05.220 Event socket closed. No connection to the<br>
backend.<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br><br>Yeah, tis a great mystery, up there with life on Europa, quantum wave function collapse, Bigfoot and other great mysteries of our time, hehe. Seriously though, I and others have had the same problem and just had a long thread about it where the best bet wound up being a script that checks if mythbackend is running and if not, restarts it. Can share mine if you&#39;d like, just have to add it to the root crontab. Mine&#39;s been running for about a week now and my backend has been a rock.<br>
<br>Bob<br></div>