[mythtv-users] Help setting up a 2nd MythFrontend client
Marco
madman1968 at yahoo.com
Thu Apr 28 12:23:11 UTC 2005
Hi toi all,
I am trying to setup a second Frontend to my MythTV
box, but am not very successful.
First, here’s the layout I have and what I’m trying to
achieve
Box 1: Call it my MythTV server (Always on)
Machine: AMD Athlon 3200 w/ 1G RAM
OS: Suse Linux 9.2
MythTV ver: 0.18
MythBackend: Running
Capture Card: Hauppauge PVR-250
Record/Live Store: /mnt/store
IP: Static 192.168.1.1
MySQL: Running
(Opened access to Mythconverg
database to x.x.x.*)
Network: 100Mbps
Box 2: Call it my MythTV Client (To be turned on when
necessary to either watch LiveTV or a recorded show)
Machine: Intel 2400 w/ 512M RAM
OS: Suse Linux 9.2
MythTV ver: 0.18
MythBackend: Runs and connects as Slave (But do I
need to run it here????)
Capture Card: None
Record/Live Store: ????unsure what I should put
here - currently /var/tmp?????
IP: DHCP (usually assigned 192.168.1.100)
MySQL: Running (but do I need to run it here??????)
Network: 100Mbps
On Box 1, mythtv works perfectly. I can record, watch
LiveTV, etc, etc… What I want is to do is store this
box somewhere, always leave it on and forget about it.
Box 2 (client) is where I want to schedule records,
watch them, and watch Live TV.
>From Box 2, I can successfully connect to the Server’s
MySQL database, and have opened up all ports necessary
on the server to allow a connection to MySQL as well a
MythBackend.
Where I’m having trouble is in the configuration of
MythTV on the Client (Box 2). Mythfrontend starts, but
can not display LiveTV. The screen goes blank, and
after 1 second or so, returns to the MythFrontend
menu.
I’ve tried this with and without the Mythbackend
running on the client. I’m actually uncertain about
whether I need to run MythBackend on the client???
I suspect that one or more of these messages in the
logs is responsible but can’t find anything about how
to correct this situation:
RemoteFile::openSocket(control socket): Could not
connect to server ""@ port -1
OR
RemoteFile::openSocket(ringbuffer data socket): Could
not connect to server "" @ port -1
OR
RingBuffer::RingBuffer(): Failed to open remote file
(bad)
OR
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
My main setup parameters and the full logs are found
below.
Any help would be appreciated. Thanks
Marco
Some MYTHTV-SETUP parameters (on the client box):
General
IP address of localhost : 127.0.0.1
Server Port : 6543
Status Port : 6544
Master Server IP : 192.168.1.1
Master Server port : 6543
Host-Specific Backend Setup
Directory to Hold records : /var/tmp
Directory to Hold Live-TV buffers: /var/tmp
Job Queue (Global)
X Run Jobs only on original recording host
Capture Cards:
NONE
Video Sources
Cable (which was automatically acquired from the
server)
Input Connectors
None
Channel Editor
**All channels were acquired from the server are
properly listed here****
MYTHFRONTEND Setup
General
Database Configuration
Hostname 192.168.1.1
*******************************************************************************************************
LOGS SCENARIO 1: When I run both Mythbackend &
Mythfrontend on the Client box
linux:~ # mythbackend
Running as a slave backend.
2005-04-27 06:28:07.115 mythbackend: MythBackend
started as a slave backend
2005-04-27 06:28:07.118 New DB connection, total: 2
2005-04-27 06:28:07.120 mythbackend version:
0.18.20050409-1 www.mythtv.org
2005-04-27 06:28:07.120 Enabled verbose msgs :
important general
2005-04-27 06:28:07.121 New DB connection, total: 3
2005-04-27 06:28:07.122 New DB connection, total: 4
2005-04-27 06:28:08.130 Connecting to master server:
192.168.1.53:6543
2005-04-27 06:28:08.139 Connected successfully
2005-04-27 06:28:17.121 mythbackend: Running
housekeeping thread
linux:~ # mythfrontend
2005-04-27 06:28:54.781 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-04-27 06:28:54.787 Using screen 0, 1024x768 at
0,0
2005-04-27 06:28:54.791 mythfrontend version:
0.18.20050409-1 www.mythtv.org
2005-04-27 06:28:54.792 Enabled verbose msgs :
important general
2005-04-27 06:28:55.306 Switching to square mode
(G.A.N.T.)
2005-04-27 06:28:55.589 Joystick disabled.
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-04-27 06:28:55.680 Registering Internal as a
media playback plugin.
/usr/local/lib/mythtv/plugins/libmythbookmarkmanager.so:
undefined symbol:
_ZN15SimpleDBStorage4loadEP12QSqlDatabase
Unable to initialize plugin 'mythbookmarkmanager'.
2005-04-27 06:28:55.735 Registering MythDVD DVD Media
Handler as a media handler
2005-04-27 06:28:56.791 Registering MythMusic Media
Handler as a media handler
SIP listening on IP Address 192.168.1.100:5060 NAT
address 192.168.1.100
SIP: Cannot register; proxy, username or password not
set
2005-04-27 06:29:18.384 New DB connection, total: 2
2005-04-27 06:29:18.405 Connecting to backend server:
192.168.1.1:6543 (try 1 of 5)
2005-04-27 06:29:18.412 Using protocol version 15
2005-04-27 06:29:18.438 Using protocol version 15
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
2005-04-27 06:29:18.470 RemoteFile::openSocket(control
socket):
Could not connect to server
""@ port -1
2005-04-27 06:29:18.470
RemoteFile::openSocket(ringbuffer data socket):
Could not connect to server ""
@ port -1
2005-04-27 06:29:18.470 RingBuffer::RingBuffer():
Failed to open remote file (bad)
2005-04-27 06:29:18.483 Disable DPMS
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
File not found: bad
2005-04-27 06:29:18.509 LiveTV not successfully
started
2005-04-27 06:29:18.510 Changing from None to
WatchingLiveTV
2005-04-27 06:29:18.521 Changing from None to None
2005-04-27 06:29:18.629 Enable DPMS
*******************************************************************************************************
LOGS SCENARIO 2: When I run ONLY Mythfrontend on the
Client box
linux:~ # mythfrontend
2005-04-27 20:36:59.529 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-04-27 20:36:59.535 Using screen 0, 1024x768 at
0,0
2005-04-27 20:36:59.539 mythfrontend version:
0.18.20050409-1 www.mythtv.org
2005-04-27 20:36:59.540 Enabled verbose msgs :
important general
2005-04-27 20:37:00.065 Switching to square mode
(G.A.N.T.)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-04-27 20:37:00.337 Joystick disabled.
2005-04-27 20:37:00.404 Registering Internal as a
media playback plugin.
/usr/local/lib/mythtv/plugins/libmythbookmarkmanager.so:
undefined symbol:
_ZN15SimpleDBStorage4loadEP12QSqlDatabase
Unable to initialize plugin 'mythbookmarkmanager'.
2005-04-27 20:37:00.484 Registering MythDVD DVD Media
Handler as a media handler
2005-04-27 20:37:01.358 Registering MythMusic Media
Handler as a media handler
SIP listening on IP Address 192.168.1.106:5060 NAT
address 192.168.1.100
2005-04-27 20:38:01.404 Connecting to backend
server:192.168.1.1:6543 (try 1 of 5)
2005-04-27 20:38:01.410 Using protocol version 15
^[[B2005-04-27 20:38:32.259 New DB connection, total:
2
Connection timed out.
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
2005-04-27 20:38:32.286
RemoteFile::openSocket(controlsocket):
Could not connect to server ""
@ port -1
2005-04-27 20:38:32.286
RemoteFile::openSocket(ringbuffer data socket):
Could not connect to server ""
@ port -1
2005-04-27 20:38:32.287 RingBuffer::RingBuffer():
Failed to open remote file (QUERY_RECORDER 1)
2005-04-27 20:38:32.296 Disable DPMS
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
ASSERT: "i <= nodes" in
/usr/lib/qt3/include/qvaluelist.h (372)
File not found: QUERY_RECORDER 1
2005-04-27 20:38:32.354 LiveTV not successfully
started
2005-04-27 20:38:32.355 Changing from None to
WatchingLiveTV
2005-04-27 20:38:32.357 Changing from None to None
2005-04-27 20:38:32.358 Enable DPMS
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the mythtv-users
mailing list