No subject


Wed Jun 24 15:02:31 UTC 2009


*
Warning at /var/www/mythweb/modules/status/handler.php, line 35:
file_get_contents(http://192.168.1.12:6544)
[function.file-get-contents<http://localhost:9000/mythweb/function.file-get-contents>]:
failed to open stream: Connection refused*

the frontend has the same problem dropping me into the database
configuration dialogs.

Interestingly enough, starting up the backend right after the update,
everything seemed OK:

*2009-09-02 00:04:36.679 mythbackend version: trunk [21632] www.mythtv.org
2009-09-02 00:04:36.721 Using runtime prefix = /usr/local
2009-09-02 00:04:36.722 Using configuration directory = /home/mythtv/.mythtv
2009-09-02 00:04:36.723 Empty LocalHostName.
2009-09-02 00:04:36.727 Using localhost value of mythtv
2009-09-02 00:04:37.517 Cannot find default UPnP backend
2009-09-02 00:04:37.552 New DB connection, total: 1
2009-09-02 00:04:37.583 Connected to database 'mythconverg' at host:
localhost
2009-09-02 00:04:37.585 Closing DB connection named 'DBManager0'
2009-09-02 00:04:37.589 Deleting UPnP client...
2009-09-02 00:04:38.175 Connected to database 'mythconverg' at host:
localhost
2009-09-02 00:04:38.180 Current Schema Version: 1242
2009-09-02 00:04:38.186 Database schema is old. Waiting to see if DB is
being upgraded.
2009-09-02 00:04:39.187 New DB connection, total: 2
2009-09-02 00:04:39.188 Connected to database 'mythconverg' at host:
localhost
2009-09-02 00:04:39.225 Current Schema Version: 1242
2009-09-02 00:04:40.231 Current Schema Version: 1242
2009-09-02 00:04:41.235 Current Schema Version: 1242
2009-09-02 00:04:42.239 Current Schema Version: 1242
2009-09-02 00:04:43.243 Current Schema Version: 1242
2009-09-02 00:04:43.244 Timed out waiting.
2009-09-02 00:04:43.548 Backing up database with script:
'/usr/local/share/mythtv/mythconverg_backup.pl'
2009-09-02 00:05:29.938 Database Backup complete.
2009-09-02 00:05:29.977 Backed up database to file:
'/mythtv/data/mythconverg-1242-20090902000443.sql.gz'
2009-09-02 00:05:29.993 Console is non-interactive, can't prompt user...
2009-09-02 00:05:29.996 Upgrading.
2009-09-02 00:05:30.012 Newest Schema Version : 1244
2009-09-02 00:05:30.018 Upgrading to schema version 1243
2009-09-02 00:05:30.020 New DB connection, total: 3
2009-09-02 00:05:30.022 Connected to database 'mythconverg' at host:
localhost
2009-09-02 00:05:30.025 Upgrading to schema version 1244
2009-09-02 00:05:30.030 Database Schema upgrade complete, unlocking.
2009-09-02 00:05:30.036 MythBackend: Starting up as the master server.*

Then, at 1:00am, when a recording finished, the trouble started:

*2009-09-02 01:00:01.068 Finished recording Lost "Outlaws": channel 7739
2009-09-02 01:00:01.495 mythbackend version: trunk [21632] www.mythtv.org
2009-09-02 01:00:01.500 Using runtime prefix = /usr/local
2009-09-02 01:00:01.501 Using configuration directory = /home/mythtv/.mythtv
2009-09-02 01:00:01.518 Empty LocalHostName.
2009-09-02 01:00:01.520 Using localhost value of mythtv
2009-09-02 01:00:12.365 HttpComms::Timeout for url:
http://192.168.1.12:6544/Myth
2009-09-02 01:00:12.377 HttpComms::done() - NetworkOperation Error on
Finish: Request aborted (1): url: 'http://192.168.1.12:6544/Myth'
2009-09-02 01:00:22.379 HttpComms::Timeout for url:
http://192.168.1.12:6544/Myth
2009-09-02 01:00:22.390 HttpComms::done() - NetworkOperation Error on
Finish: Request aborted (1): url: 'http://192.168.1.12:6544/Myth'
2009-09-02 01:00:32.393 HttpComms::Timeout for url:
http://192.168.1.12:6544/Myth
2009-09-02 01:00:32.403 HttpComms::done() - NetworkOperation Error on
Finish: Request aborted (1): url: 'http://192.168.1.12:6544/Myth'
2009-09-02 01:00:42.416 HttpComms::Timeout for url:
http://192.168.1.12:6544/Myth
2009-09-02 01:00:42.429 Failed to contact server for url:
http://192.168.1.12:6544/Myth
2009-09-02 01:00:42.430 HttpComms::done() - NetworkOperation Error on
Finish: Request aborted (1): url: 'http://192.168.1.12:6544/Myth'
2009-09-02 01:00:42.431 MythXMLClient::GetConnectionInfo Failed - (1)
unexpected end of file
2009-09-02 01:00:42.439 Testing network connectivity to '192.168.1.12'
2009-09-02 01:00:42.486 New DB connection, total: 1
2009-09-02 01:00:42.487 Unable to connect to database!
2009-09-02 01:00:42.488 Driver error was [1/2003]:
QMYSQL: Unable to connect
Database error was:
Can't connect to MySQL server on '192.168.1.12' (111)

2009-09-02 01:00:42.495 Cannot login to database?*

Any help?

-- Ken E.

--001485f78fd6ab995604729a8910
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Can someone please point me to what I may have forgotten to do?=A0 I have b=
een updating from trunk about every 2-3 weeks with no problems until last n=
ight.=A0 After recompiling and installing, I get the following from the bac=
kend (single machine with FE/BE):<br>
<br><i><font style=3D"color: rgb(51, 102, 255);" size=3D"2">2009-09-02 10:5=
4:08.131 mythbackend version: trunk [21636] <a href=3D"http://www.mythtv.or=
g">www.mythtv.org</a><br>2009-09-02 10:54:08.151 Using runtime prefix =3D /=
usr/local<br>
2009-09-02 10:54:08.152 Using configuration directory =3D /home/mythtv/.myt=
htv<br>2009-09-02 10:54:08.153 Using localhost value of 192.168.1.12<br>200=
9-09-02 10:54:08.960 Cannot find default UPnP backend<br>2009-09-02 10:54:0=
8.960 Testing network connectivity to &#39;mythtv&#39;<br>
2009-09-02 10:54:09.029 New DB connection, total: 1<br>2009-09-02 10:57:18.=
030 Unable to connect to database!<br>2009-09-02 10:57:18.031 Driver error =
was [1/2003]:<br>QMYSQL: Unable to connect<br>Database error was:<br>Can&#3=
9;t connect to MySQL server on &#39;mythtv&#39; (110)<br>
<br>.......................................................................=
.........<br>2009-09-02 10:57:20.158 UPnPautoconf() - No UPnP backends foun=
d<br>2009-09-02 10:57:20.162 No UPnP backends found<br><br>No UPnP backends=
 found<br>
<br>Would you like to configure the database connection now? [no]<br>[conso=
le is not interactive, using default &#39;no&#39;]<br>2009-09-02 10:57:20.1=
88 Deleting UPnP client...<br>2009-09-02 10:57:20.505 Failed to init MythCo=
ntext, exiting.</font><br>
</i><br>From mythweb I get the script error:<br><i><br><b style=3D"color: r=
gb(51, 102, 255);">Warning</b><span style=3D"color: rgb(51, 102, 255);"> at=
 /var/www/mythweb/modules/status/handler.php, line 35:</span><br style=3D"c=
olor: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">file_get_contents(<a href=3D"http=
://192.168.1.12:6544">http://192.168.1.12:6544</a>) [</span><a style=3D"col=
or: rgb(51, 102, 255);" href=3D"http://localhost:9000/mythweb/function.file=
-get-contents">function.file-get-contents</a><span style=3D"color: rgb(51, =
102, 255);">]: failed to open stream: Connection refused</span></i><br>
<br>the frontend has the same problem dropping me into the database configu=
ration dialogs.<br><br>Interestingly enough, starting up the backend right =
after the update, everything seemed OK:<br><br><i><span style=3D"color: rgb=
(51, 102, 255);">2009-09-02 00:04:36.679 mythbackend version: trunk [21632]=
 <a href=3D"http://www.mythtv.org">www.mythtv.org</a></span><br style=3D"co=
lor: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:36.721 Using run=
time prefix =3D /usr/local</span><br style=3D"color: rgb(51, 102, 255);"><s=
pan style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:36.722 Using confi=
guration directory =3D /home/mythtv/.mythtv</span><br style=3D"color: rgb(5=
1, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:36.723 Empty Loc=
alHostName.</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"co=
lor: rgb(51, 102, 255);">2009-09-02 00:04:36.727 Using localhost value of m=
ythtv</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:37.517 Cannot fi=
nd default UPnP backend</span><br style=3D"color: rgb(51, 102, 255);"><span=
 style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:37.552 New DB connect=
ion, total: 1</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:37.583 Connected=
 to database &#39;mythconverg&#39; at host: localhost</span><br style=3D"co=
lor: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">2009-09-=
02 00:04:37.585 Closing DB connection named &#39;DBManager0&#39;</span><br =
style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:37.589 Deleting =
UPnP client...</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D=
"color: rgb(51, 102, 255);">2009-09-02 00:04:38.175 Connected to database &=
#39;mythconverg&#39; at host: localhost</span><br style=3D"color: rgb(51, 1=
02, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:38.180 Current S=
chema Version: 1242</span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:38.186 Database schema is=
 old. Waiting to see if DB is being upgraded.</span><br style=3D"color: rgb=
(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:39.187 New DB co=
nnection, total: 2</span><br style=3D"color: rgb(51, 102, 255);"><span styl=
e=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:39.188 Connected to databa=
se &#39;mythconverg&#39; at host: localhost</span><br style=3D"color: rgb(5=
1, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:39.225 Current S=
chema Version: 1242</span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:40.231 Current Schema Ver=
sion: 1242</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:41.235 Current S=
chema Version: 1242</span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:42.239 Current Schema Ver=
sion: 1242</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:43.243 Current S=
chema Version: 1242</span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:43.244 Timed out waiting.=
</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:04:43.548 Backing u=
p database with script: &#39;/usr/local/share/mythtv/mythconverg_backup.pl&=
#39;</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rg=
b(51, 102, 255);">2009-09-02 00:05:29.938 Database Backup complete.</span><=
br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:29.977 Backed up=
 database to file: &#39;/mythtv/data/mythconverg-1242-20090902000443.sql.gz=
&#39;</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: r=
gb(51, 102, 255);">2009-09-02 00:05:29.993 Console is non-interactive, can&=
#39;t prompt user...</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:29.996 Upgrading=
.</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(5=
1, 102, 255);">2009-09-02 00:05:30.012 Newest Schema Version : 1244</span><=
br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:30.018 Upgrading=
 to schema version 1243</span><br style=3D"color: rgb(51, 102, 255);"><span=
 style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:30.020 New DB connect=
ion, total: 3</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:30.022 Connected=
 to database &#39;mythconverg&#39; at host: localhost</span><br style=3D"co=
lor: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">2009-09-=
02 00:05:30.025 Upgrading to schema version 1244</span><br style=3D"color: =
rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:30.030 Database =
Schema upgrade complete, unlocking.</span><br style=3D"color: rgb(51, 102, =
255);"><span style=3D"color: rgb(51, 102, 255);">2009-09-02 00:05:30.036 My=
thBackend: Starting up as the master server.</span></i><br>
<br>Then, at 1:00am, when a recording finished, the trouble started:<br><br=
><i><span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:01.068 Finis=
hed recording Lost &quot;Outlaws&quot;: channel 7739</span><br style=3D"col=
or: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:01.495 mythbacke=
nd version: trunk [21632] <a href=3D"http://www.mythtv.org">www.mythtv.org<=
/a></span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb=
(51, 102, 255);">2009-09-02 01:00:01.500 Using runtime prefix =3D /usr/loca=
l</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:01.501 Using con=
figuration directory =3D /home/mythtv/.mythtv</span><br style=3D"color: rgb=
(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00=
:01.518 Empty LocalHostName.</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:01.520 Using loc=
alhost value of mythtv</span><br style=3D"color: rgb(51, 102, 255);"><span =
style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:12.365 HttpComms::Time=
out for url: <a href=3D"http://192.168.1.12:6544/Myth">http://192.168.1.12:=
6544/Myth</a></span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:12.377 HttpComms=
::done() - NetworkOperation Error on Finish: Request aborted (1): url: &#39=
;<a href=3D"http://192.168.1.12:6544/Myth">http://192.168.1.12:6544/Myth</a=
>&#39;</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:22.379 HttpComms=
::Timeout for url: <a href=3D"http://192.168.1.12:6544/Myth">http://192.168=
.1.12:6544/Myth</a></span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:22.390 HttpComms::done() =
- NetworkOperation Error on Finish: Request aborted (1): url: &#39;<a href=
=3D"http://192.168.1.12:6544/Myth">http://192.168.1.12:6544/Myth</a>&#39;</=
span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:32.393 HttpComms=
::Timeout for url: <a href=3D"http://192.168.1.12:6544/Myth">http://192.168=
.1.12:6544/Myth</a></span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:32.403 HttpComms::done() =
- NetworkOperation Error on Finish: Request aborted (1): url: &#39;<a href=
=3D"http://192.168.1.12:6544/Myth">http://192.168.1.12:6544/Myth</a>&#39;</=
span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.416 HttpComms=
::Timeout for url: <a href=3D"http://192.168.1.12:6544/Myth">http://192.168=
.1.12:6544/Myth</a></span><br style=3D"color: rgb(51, 102, 255);"><span sty=
le=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.429 Failed to contact =
server for url: <a href=3D"http://192.168.1.12:6544/Myth">http://192.168.1.=
12:6544/Myth</a></span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.430 HttpComms=
::done() - NetworkOperation Error on Finish: Request aborted (1): url: &#39=
;<a href=3D"http://192.168.1.12:6544/Myth">http://192.168.1.12:6544/Myth</a=
>&#39;</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.431 MythXMLCl=
ient::GetConnectionInfo Failed - (1) unexpected end of file</span><br style=
=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">20=
09-09-02 01:00:42.439 Testing network connectivity to &#39;192.168.1.12&#39=
;</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.486 New DB co=
nnection, total: 1</span><br style=3D"color: rgb(51, 102, 255);"><span styl=
e=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.487 Unable to connect t=
o database!</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">2009-09-02 01:00:42.488 Driver er=
ror was [1/2003]:</span><br style=3D"color: rgb(51, 102, 255);"><span style=
=3D"color: rgb(51, 102, 255);">QMYSQL: Unable to connect</span><br style=3D=
"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">Database error was:</span><br sty=
le=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=
Can&#39;t connect to MySQL server on &#39;192.168.1.12&#39; (111)</span><br=
 style=3D"color: rgb(51, 102, 255);">
<br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, =
255);">2009-09-02 01:00:42.495 Cannot login to database?</span></i><br><br>=
Any help?<br><br>-- Ken E.<br>

--001485f78fd6ab995604729a8910--


More information about the mythtv-users mailing list