[mythtv-users] Frontend unable to connect to Backend

OJ olejl77 at gmail.com
Sun Sep 27 17:07:48 UTC 2009


I have used a combined FE/BE system. Recently I bought a separate FE
computer. The problem now is that I'm not able to connect the FE to
the BE.

- I'm running r22067 on both machines (trunk).
- The firewall is disabled on both computers.
- I'm able to access the mythconverg database from the remote machine
using the following command: mysql -h 192.168.0.3 mythconverg -u
mythtv -p
- mythtv-setup on the BE is setup with 192.168.0.3 as IP address for
both Local Backend and Master Backend
- mythtv-setup on the FE is using 192.168.0.3 as Database Server

This is a snippet from the BE:
mythbackend -v all
...
2009-09-27 19:49:22.126 MythSocket(e959b0:38): new socket
2009-09-27 19:49:22.126 MythSocket(e959b0:38): setSocket: 37
2009-09-27 19:49:22.126 MSocketDevice::close: Closed socket 38
2009-09-27 19:49:22.126 MSocketDevice::setBlocking(false)
2009-09-27 19:49:22.126 MythSocket(e959b0:37): state change Idle -> Connected
2009-09-27 19:49:22.126 MythSocketThread: readyread thread start
2009-09-27 19:49:22.126 ProcessAddRemoveQueues
2009-09-27 19:49:22.126 Construct FD_SET
2009-09-27 19:49:22.126 Empty FD_SET, sleeping
2009-09-27 19:49:22.126 MythSocket(e959b0:37): UpRef: 1
2009-09-27 19:49:22.127 Empty FD_SET, woken up
2009-09-27 19:49:22.127 ProcessAddRemoveQueues
2009-09-27 19:49:22.127 Construct FD_SET
2009-09-27 19:49:22.127 Waiting on select..
2009-09-27 19:49:22.127 Got data on select
2009-09-27 19:49:22.127 Processing ready reads
2009-09-27 19:49:22.127 MythSocketThread(sock 0xe959b0:37): socket is readable
2009-09-27 19:49:22.127 MythSocketThread(sock 0xe959b0:37): socket closed
2009-09-27 19:49:22.127 MythSocket(e959b0:37): state change Connected -> Idle
2009-09-27 19:49:22.127 MSocketDevice::close: Closed socket 37
2009-09-27 19:49:22.127 MythSocket(e959b0:-1): calling m_cb->connectionClosed()
2009-09-27 19:49:22.127 MainServer, Warning: Unknown socket closing
MythSocket(0xe959b0)
2009-09-27 19:49:22.127 MythSocketThread: Total read time: 0ms, on
sockets {37,0ms}
2009-09-27 19:49:22.127 Reacquired ready read lock
2009-09-27 19:49:22.127 ProcessAddRemoveQueues
2009-09-27 19:49:22.127 Construct FD_SET
2009-09-27 19:49:22.127 Empty FD_SET, sleeping
2009-09-27 19:49:22.140 MythSocket(e57c70:42): new socket
2009-09-27 19:49:22.140 MythSocket(e57c70:42): setSocket: 37
2009-09-27 19:49:22.140 MSocketDevice::close: Closed socket 42
2009-09-27 19:49:22.140 MSocketDevice::setBlocking(false)
2009-09-27 19:49:22.141 MythSocket(e57c70:37): state change Idle -> Connected
2009-09-27 19:49:22.141 MythSocket(e57c70:37): UpRef: 1
2009-09-27 19:49:22.141 Empty FD_SET, woken up
2009-09-27 19:49:22.141 ProcessAddRemoveQueues
2009-09-27 19:49:22.141 Construct FD_SET
2009-09-27 19:49:22.141 Waiting on select..
...

This is everything on the FE:
mythwelcome -v all
2009-09-27 19:48:40.366 (old)Settings::ReadSettings(settings.txt) - No such file
2009-09-27 19:48:40.367 Using runtime prefix = /usr/local
2009-09-27 19:48:40.367 Using configuration directory = /home/olejl/.mythtv
2009-09-27 19:48:40.368 (old)Settings::ReadSettings(settings.txt) - No such file
2009-09-27 19:48:40.368
(old)Settings::ReadSettings(/usr/local/share/mythtv/mysql.txt) - No
such file
2009-09-27 19:48:40.368
(old)Settings::ReadSettings(/usr/local/etc/mythtv/mysql.txt) - No such
file
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) -
'DBHostName' = '192.168.0.3'.
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) - 'DBPort'
= '6543'.
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) -
'DBUserName' = 'mythtv'.
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) -
'DBPassword' = 'mythtv'.
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) - 'DBName'
= 'mythconverg'.
2009-09-27 19:48:40.369
(old)Settings::ReadSettings(/home/olejl/.mythtv/mysql.txt) - 'DBType'
= 'QMYSQL3'.
2009-09-27 19:48:40.370 (old)Settings::ReadSettings(./mysql.txt) - No such file
2009-09-27 19:48:40.370 Empty LocalHostName.
2009-09-27 19:48:40.370 Using localhost value of olejl-htpc
2009-09-27 19:48:40.372 MCP::DefaultUPnP() - No default UPnP backend
2009-09-27 19:48:40.372 Testing network connectivity to '192.168.0.3'
2009-09-27 19:48:40.380 MythSocket(9051678:17): new socket
2009-09-27 19:48:40.380 MythSocket(9051678:17): attempting connect()
to (192.168.0.3:6543)
2009-09-27 19:48:40.381 MythSocket(9051678:17): state change Idle -> Connected
2009-09-27 19:48:40.381 MythSocket(9051678:17): state change Connected -> Idle
2009-09-27 19:48:40.381 MSocketDevice::close: Closed socket 17
2009-09-27 19:48:40.382 Clearing Settings Cache.
2009-09-27 19:48:40.395 New DB connection, total: 1

After this, nothing happens.

Could anyone please advice me on what I'm doing wrong?


More information about the mythtv-users mailing list