<div dir="ltr"><p>I recently started getting an error &quot;The file for this recording is empty&quot; when I tried to watch a recorded program.&nbsp; I&#39;m running Mythbuntu on an AMD Athlon XP 2500 with 1.5 GB ram.&nbsp; I&#39;m capturing video on a Hauppauge HVR-1600.&nbsp; I had to recompile my the Hauppauge driver recently when the kernel was updated.&nbsp; I recorded a few shows successfully after recompiling, so I don&#39;t believe driver is a problem.<br>
&nbsp;<br>I pasted a good portion of my mythbackend.log file.&nbsp; I&#39;ve seen some suggestions not to paste too much, but I&#39;m not sure what is important and what is not.&nbsp; I apologize if it is a bit long but I didn&#39;t want to omit something the I thought looked benign and was a key piece of info.</p>

<p>I also noticed that it seems like things start working again if I reboot in the morning.&nbsp; It appears like this could be related to the timing of running mythfilldatabase at around 6:00 am.&nbsp; It seems like I&#39;m good up until that point and then I need to reboot after.</p>

<p>I appreciate any help you can give.<br>&nbsp;<br>Thanks,<br>Greg</p>
<div>********************************************************</div>
<div>***** From /var/log/mythtv/mythbackend.log ******</div>
<div>********************************************************<br>2008-10-19 06:41:16.807 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 06:55:44.539 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>
2008-10-19 06:55:44.544 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 06:56:16.926 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 07:11:16.979 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 07:25:46.546 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>2008-10-19 07:25:46.548 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 07:26:17.023 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 07:41:17.072 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 07:55:49.551 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>2008-10-19 07:55:49.552 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>
2008-10-19 07:56:17.120 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:11:17.170 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:25:55.555 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>
2008-10-19 08:25:55.560 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 08:26:17.215 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:41:17.265 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 08:42:18.813 MainServer::HandleAnnounce Playback<br>2008-10-19 08:42:18.817 adding: Mythbuntu as a client (events: 0)<br>2008-10-19 08:42:18.826 TVRec(8): Changing from None to WatchingLiveTV<br>2008-10-19 08:42:18.842 TVRec(8): HW Tuner: 8-&gt;8<br>
2008-10-19 08:42:21.185 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:42:22.299 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:42:22.871 Using runtime prefix = /usr<br>
2008-10-19 08:42:22.991 Empty LocalHostName.<br>2008-10-19 08:42:23.046 Using localhost value of Mythbuntu<br>2008-10-19 08:42:23.872 Cannot find default UPnP backend<br>2008-10-19 08:42:23.916 New DB connection, total: 1<br>
2008-10-19 08:42:23.936 Connected to database &#39;mythconverg&#39; at host: <a href="http://192.168.0.120">192.168.0.120</a><br>2008-10-19 08:42:23.938 Closing DB connection named &#39;DBManager0&#39;<br>2008-10-19 08:42:23.940 Deleting UPnP client...<br>
2008-10-19 08:42:24.582 Connected to database &#39;mythconverg&#39; at host: <a href="http://192.168.0.120">192.168.0.120</a><br>2008-10-19 08:42:24.605 New DB connection, total: 2<br>2008-10-19 08:42:24.625 Connected to database &#39;mythconverg&#39; at host: <a href="http://192.168.0.120">192.168.0.120</a><br>
2008-10-19 08:42:24.631 Current Schema Version: 1214<br>2008-10-19 08:42:24.648 Preview Error: Previewer file &#39;/home/mythtv/LiveTV/2501_20081019084219.mpg&#39; is not valid.<br>2008-10-19 08:42:24.653 Preview Error: Run() file not local: &#39;/home/mythtv/LiveTV/2501_20081019084219.mpg&#39;<br>
2008-10-19 08:42:24.663 Preview Error: Preview process not ok.<br>&nbsp;&nbsp;&nbsp;fileinfo(/home/mythtv/LiveTV/2501_20081019084219.mpg.png) exists: 0 readable: 0 size: 0<br>2008-10-19 08:43:38.680 TVRec(8): Changing from WatchingLiveTV to None<br>
2008-10-19 08:43:39.047 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:44:17.290 Expiring 0 MBytes for 2501 @ Sun Oct 19 08:30:00 2008 =&gt; Christ Church of Oakbrook: Rev. Daniel D. Meyer<br>
QSqlQuery::exec: database not open<br>2008-10-19 08:46:17.432 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError?&nbsp; Strange...<br>QSqlQuery::prepare: database not open<br>QSqlQuery::exec: database not open<br>
2008-10-19 08:46:17.485 Unable to connect to database!<br>2008-10-19 08:46:17.486 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>Can&#39;t connect to MySQL server on &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39; (111)</div>

<p>QSqlQuery::exec: database not open<br>QSqlQuery::exec: database not open<br>2008-10-19 08:46:17.557 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError?&nbsp; Strange...<br>QSqlQuery::prepare: database not open<br>
QSqlQuery::exec: database not open<br>2008-10-19 08:46:20.963 Unable to connect to database!<br>2008-10-19 09:42:45.873 Using runtime prefix = /usr<br>2008-10-19 09:42:45.935 Empty LocalHostName.<br>2008-10-19 09:42:45.994 Using localhost value of Mythbuntu<br>
2008-10-19 09:42:46.032 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>2008-10-19 09:42:46.078 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>SSDP::PerformSearch - did not write entire buffer.<br>SSDP::PerformSearch - did not write entire buffer.<br>
2008-10-19 09:42:46.213 Cannot find default UPnP backend<br>2008-10-19 09:42:46.232 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>2008-10-19 09:42:46.377 New DB connection, total: 1<br>2008-10-19 09:42:46.398 Unable to connect to database!<br>
2008-10-19 09:42:46.490 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>Can&#39;t connect to MySQL server on &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39; (101)</p>
<p>QSqlQuery::exec: database not open<br>QSqlQuery::exec: database not open<br>2008-10-19 09:42:46.565 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError?&nbsp; Strange...<br>SSDP::PerformSearch - did not write entire buffer.<br>
SSDP::PerformSearch - did not write entire buffer.<br>........................................................................<br>2008-10-19 09:42:49.050 UPnPautoconf() - No UPnP backends found<br>2008-10-19 09:42:49.056 No UPnP backends found</p>

<p>No UPnP backends found</p>
<p>Would you like to configure the database connection now? [yes]&nbsp; <br>[console is not interactive, using default &#39;yes&#39;]<br>Database host name: [<a href="http://192.168.0.120">192.168.0.120</a>]&nbsp; <br>[console is not interactive, using default &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39;]<br>
Should I test connectivity to this host using the ping command? [yes]&nbsp; <br>[console is not interactive, using default &#39;yes&#39;]<br>Database non-default port: [0]&nbsp; <br>[console is not interactive, using default &#39;0&#39;]<br>
Database name: [mythconverg]&nbsp; <br>[console is not interactive, using default &#39;mythconverg&#39;]<br>Database user name: [mythtv]&nbsp; <br>[console is not interactive, using default &#39;mythtv&#39;]<br>Database password: [my_password_here]&nbsp; <br>
[console is not interactive, using default &#39;my_password_here&#39;]<br>Unique identifier for this machine (if empty, the local host name will be used):&nbsp; <br>[console is not interactive, using default &#39;&#39;]<br>Would you like to use Wake-On-LAN to retry database connections? [no]&nbsp; <br>
[console is not interactive, using default &#39;no&#39;]<br>2008-10-19 09:42:49.071 Unable to connect to database!<br>2008-10-19 09:42:49.072 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>
Can&#39;t connect to MySQL server on &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39; (101)</p>
<p>QSqlQuery::exec: database not open<br>QSqlQuery::exec: database not open<br>2008-10-19 09:42:49.124 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError?&nbsp; Strange...<br>2008-10-19 09:42:49.247 Cannot login to database?<br>
2008-10-19 09:42:49.248 Cannot login to database?</p>
<p>***********************************<br>** This following block repeats ***<br>***********************************<br>Cannot login to database?</p>
<p>Would you like to configure the database connection now? [yes]&nbsp; <br>[console is not interactive, using default &#39;yes&#39;]<br>Database host name: [<a href="http://192.168.0.120">192.168.0.120</a>]&nbsp; <br>[console is not interactive, using default &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39;]<br>
Should I test connectivity to this host using the ping command? [yes]&nbsp; <br>[console is not interactive, using default &#39;yes&#39;]<br>Database non-default port: [0]&nbsp; <br>[console is not interactive, using default &#39;0&#39;]<br>
Database name: [mythconverg]&nbsp; <br>[console is not interactive, using default &#39;mythconverg&#39;]<br>Database user name: [mythtv]&nbsp; <br>[console is not interactive, using default &#39;mythtv&#39;]<br>Database password: [my_password_here]&nbsp; <br>
[console is not interactive, using default &#39;my_password_here&#39;]<br>Unique identifier for this machine (if empty, the local host name will be used):&nbsp; <br>[console is not interactive, using default &#39;&#39;]<br>Would you like to use Wake-On-LAN to retry database connections? [no]&nbsp; <br>
[console is not interactive, using default &#39;no&#39;]<br>2008-10-19 09:42:49.265 Unable to connect to database!<br>2008-10-19 09:42:49.265 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>
Can&#39;t connect to MySQL server on &#39;<a href="http://192.168.0.120">192.168.0.120</a>&#39; (101)</p>
<p>QSqlQuery::exec: database not open<br>QSqlQuery::exec: database not open<br>2008-10-19 09:42:49.319 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError?&nbsp; Strange...<br>2008-10-19 09:42:49.370 Cannot login to database?<br>
2008-10-19 09:42:49.371 Cannot login to database?</p></div>