[mythtv-users] unable to connect to backend on localhost
John Pilkington
J.Pilk at tesco.net
Sat Jan 21 18:15:30 UTC 2012
On 19/01/12 16:53, Ken Dreyer wrote:
> On Sun, Jan 15, 2012 at 5:20 PM, Bill Meek<keemllib at gmail.com> wrote:
>> On 01/15/2012 12:11 AM, Ken Dreyer wrote:
>>> ... I recently reformatted my myth box to CentOS 6 ...
>>
>> Just in case you don't follow the mythtv-commits mailing list,
>> these two CentOS 6.2 related tickets just had activity:
>>
>> http://code.mythtv.org/trac/ticket/10188#comment:16
>> http://code.mythtv.org/trac/ticket/10265
>
> Thanks very much for the pointer. The second one (#10265) is precisely
> my issue. Mythbackend freezes up whenever it receives an event + the
> system-wide DBus daemon is running.
>
> - Ken
I'm wondering if I'm seeing this too, with my backend running Fedora 15.
For years I've been running single-box systems but have at last got them
behind a router and have been trying to set up two frontends, one under
CentOS5 and one under SL6. All boxes have the most recent 0.24-fixes
builds from ATrpms. I'm now at a stage where the frontends connect to
the database but the connection dies before it becomes usable; I
haven't yet enabled a root-level restart attempt.
I did wonder if it's related to having enabled DB access 'identified as
mythtv' when the normal user is 'john', and would welcome comments on
that; it's not reporting 'connection refused', though.
John P
-----------------
mythfrontend -v socket
2012-01-21 17:28:55.061 New DB connection, total: 2
2012-01-21 17:28:55.061 New DB connection, total: 3
2012-01-21 17:28:55.063 Connected to database 'mythconverg' at host:
192.168.1.4
2012-01-21 17:28:55.063 Connected to database 'mythconverg' at host:
192.168.1.4
2012-01-21 17:28:55.068 Current MythTV Schema Version (DBSchemaVer):
1264
2012-01-21 17:28:55.894 Pulse: PulseAudio suspend OK
2012-01-21 17:28:56.087 Pulse: PulseAudio resume OK
2012-01-21 17:28:56.508 Registering Internal as a media playback plugin.
<snip>
2012-01-21 17:28:56.951 Loading en_gb translation for module mythvideo
2012-01-21 17:28:56.970 Loading en_gb translation for module mythweather
2012-01-21 17:28:56.980 Loading en_gb translation for module
mythzoneminder
2012-01-21 17:28:57.156 Found mainmenu.xml for theme 'Terra'
2012-01-21 17:28:57.189 MythCoreContext: Connecting to backend server:
192.168.1.4:6543 (try 1 of 1)
2012-01-21 17:28:57.189 MythSocket(ffffffffb5e24ca0:44): new socket
2012-01-21 17:28:57.189 MythSocket(ffffffffb5e24ca0:44): attempting
connect() to (192.168.1.4:6543)
2012-01-21 17:28:57.190 MythSocket(ffffffffb5e24ca0:44): connect()
failed (UnknownError)
2012-01-21 17:28:57.190 MythSocket(ffffffffb5e24ca0:44): DownRef: -1
2012-01-21 17:28:57.190 MythSocket(ffffffffb5e24ca0:-1): delete socket
2012-01-21 17:28:57.190 Connection to master server timed out.
Either the server is down or the master server
settings
in mythtv-settings does not contain the proper
IP address
--------------------------------------------
mythfrontend -v database
2012-01-21 17:25:05.837 MSqlQuery::exec(DBManager2) SELECT data FROM
settings WHERE value = 'wolbackendcommand' AND hostname IS NULL <<<<
Returns 1 row(s)
2012-01-21 17:25:05.839 MSqlQuery::exec(DBManager1) SELECT data FROM
settings WHERE value = 'backendconnectretry' AND hostname = 'presv5000'
<<<< Returns 0 row(s)
2012-01-21 17:25:05.840 MSqlQuery::exec(DBManager1) SELECT data FROM
settings WHERE value = 'backendconnectretry' AND hostname IS NULL <<<<
Returns 0 row(s)
2012-01-21 17:25:05.841 MythCoreContext: Connecting to backend server:
192.168.1.4:6543 (try 1 of 1)
2012-01-21 17:25:05.841 Connection to master server timed out.
Either the server is down or the master server
settings
in mythtv-settings does not contain the proper
IP address
---------------
MythTV Version : v0.24.1-106-g31e9528
MythTV Branch : fixes/0.24
Network Protocol : 63
Library API : 0.24.20110505-1
QT Version : 4.7.2
More information about the mythtv-users
mailing list