[mythtv-users] remote slave backend recording

Allan Wilson allanwilson at gmail.com
Mon Jan 8 22:43:00 UTC 2007


Ok, I stopped all backends and then ran mythtv-setup on the remote backend.
I then made sure it had the master backend's ip address in as the master
backend. I then setup the new tuner which is a hidef cable box that I can
view video with using test-mpeg2. I then started the master backend:
mythtv at mythserver:~$ mythbackend
2007-01-08 16:25:01.437 Using runtime prefix = /usr
2007-01-08 16:25:01.609 New DB connection, total: 1
2007-01-08 16:25:01.633 Connected to database 'mythconverg' at host:
localhost
2007-01-08 16:25:01.640 Current Schema Version: 1174
2007-01-08 16:25:01.640 Newest Schema Version : 1173
2007-01-08 16:25:01.641 New DB connection, total: 2
2007-01-08 16:25:01.641 Connected to database 'mythconverg' at host:
localhost
2007-01-08 16:25:01.642 Setting Lock for Database Schema upgrade. If you see
a long pause here it means the Schema is already locked and is being
upgraded by another Myth process.
2007-01-08 16:25:01.643 New DB connection, total: 3
2007-01-08 16:25:01.643 Connected to database 'mythconverg' at host:
localhost
2007-01-08 16:25:01.643 Database Schema upgrade complete, unlocking.
Starting up as the master server.
2007-01-08 16:25: 01.652 EITHelper: localtime offset -6:00:00
2007-01-08 16:25:01.741 EITHelper: localtime offset -6:00:00
2007-01-08 16:25:01.791 EITHelper: localtime offset -6:00:00
2007-01-08 16:25:02.154 EITHelper: localtime offset -6:00:00
2007-01-08 16:25:02.208 New DB scheduler connection
2007-01-08 16:25:02.209 Connected to database 'mythconverg' at host:
localhost
2007-01-08 16:25:02.210 Main::Starting HttpServer
2007-01-08 16:25:02.215 Main::Registering HttpStatus Extension
2007-01-08 16:25:02.310 mythbackend version: 0.20.20061213-1 www.mythtv.org
2007-01-08 16:25:02.310 Enabled verbose msgs:  important general
2007-01-08 16:25:02.312 AutoExpire: Found max recording rate of 355 MB/min
2007-01-08 16:25:02.312 AutoExpire: CalcParams(): Required Free Space:
3.0GB w/freq: 5 min
2007-01-08 16:25:04.223 Reschedule requested for id -1.
2007-01-08 16:25:06.890 Scheduled 313 items in 2.7 = 1.60 match + 1.06 place
2007-01-08 16:25:06.892 Seem to be woken up by USER
2007-01-08 16:25:18.056 adding: livingroom as a slave backend server
2007-01-08 16:25: 18.057 Reschedule requested for id 0.
2007-01-08 16:25:18.789 Scheduled 313 items in 0.7 = 0.00 match + 0.72 place

Then I kicked off the remote backend and noticed a write string error which
I think I posted earlier:
 mythtv at livingroom:~$ mythbackend
2007-01-08 16:24:12.809 Using runtime prefix = /usr
2007-01-08 16:24:12.821 New DB connection, total: 1
2007-01-08 16:24:12.825 Connected to database 'mythconverg' at host:
192.168.0.10
2007-01-08 16:24:12.828 Current Schema Version: 1174
2007-01-08 16:24:12.829 Newest Schema Version : 1173
2007-01-08 16:24:12.830 New DB connection, total: 2
2007-01-08 16:24: 12.831 Connected to database 'mythconverg' at host:
192.168.0.10
2007-01-08 16:24:12.832 Setting Lock for Database Schema upgrade. If you see
a long pause here it means the Schema is already locked and is being
upgraded by another Myth process.
2007-01-08 16:24:12.834 New DB connection, total: 3
2007-01-08 16:24:12.835 Connected to database 'mythconverg' at host:
192.168.0.10
2007-01-08 16:24:12.836 Database Schema upgrade complete, unlocking.
Running as a slave backend.
2007-01-08 16:24:12.842 EITHelper: localtime offset -6:00:00
2007-01-08 16:24:13.218 Main::Starting HttpServer
2007-01-08 16:24:13.223 Main::Registering HttpStatus Extension
2007-01-08 16:24: 13.224 mythbackend version: 0.20.20061228-1 www.mythtv.org
2007-01-08 16:24:13.224 Enabled verbose msgs:  important general
2007-01-08 16:24:14.228 Connecting to master server: 192.168.0.10:6543
2007-01-08 16:24:14.228 Connected successfully
2007-01-08 16:24:20.254 MythSocket(8209200:11): writeStringList: Error,
invalid string list.
2007-01-08 16:25:13.227 Connecting to master server: 192.168.0.10:6543
2007-01-08 16:25:13.227 Connected successfully
2007-01-08 16:25:18.435 MythSocket(820aaa8:11): writeStringList: Error,
invalid string list.

I then kicked off the remote frontend and tried to schedule two hidef
recordings. It scheduled the first fine and then showed a conflict on the
second (not enought tuners although there should be two). The first one was
recording fine. Then I tried to view livetv and that is the error that you
see at the end of the log.
 mythtv at livingroom:~$ mythfrontend
 2007-01-08 16:26:47.899 Using runtime prefix = /usr
 2007-01-08 16:26:47.901 DPMS is disabled.
 2007-01-08 16:26:47.913 New DB connection, total: 1
 2007-01-08 16:26:47.917 Connected to database 'mythconverg' at host:
192.168.0.10
 2007-01-08 16:26:47.918 Total desktop dim: 1280x720, with 1 screen[s].
 2007-01-08 16:26:47.920 Using screen 0, 1280x720 at 0,0
 2007-01-08 16:26:47.929 Current Schema Version: 1174
 2007-01-08 16:26:47.929 Newest Schema Version : 1173
 2007-01-08 16:26:47.930 New DB connection, total: 2
 2007-01-08 16:26:47.931 Connected to database 'mythconverg' at host:
192.168.0.10
 2007-01-08 16:26:47.931 Setting Lock for Database Schema upgrade. If you
see a long pause here it means the Schema is already locked and is being
upgraded by another Myth process.
 2007-01-08 16:26:47.932 New DB connection, total: 3
 2007-01-08 16:26:47.933 Connected to database 'mythconverg' at host:
192.168.0.10
 2007-01-08 16:26:47.933 Database Schema upgrade complete, unlocking.
 2007-01-08 16:26:47.934 mythfrontend version: 0.20.20061228-1
www.mythtv.org
 2007-01-08 16:26:47.934 Enabled verbose msgs:  important general
 2007-01-08 16:26:48.278 Total desktop dim: 1280x720, with 1 screen[s].
 2007-01-08 16:26:48.279 Using screen 0, 1280x720 at 0,0
 2007-01-08 16:26:48.279 Switching to wide mode (blootube-wide)
 2007-01-08 16:26:48.290 Using the OpenGL painter
 2007-01-08 16:26:48.293 Joystick disabled.
 2007-01-08 16:26:48.293 lirc init success using configuration file:
/home/mythtv/.lircrc
 2007-01-08 16:26:48.422 Loading from:
/usr/share/mythtv/themes/blootube-wide/base.xml
 2007-01-08 16:26:48.430 Loading from:
/usr/share/mythtv/themes/default/base.xml
 2007-01-08 16:26:48.484 Registering Internal as a media playback plugin.
 2007-01-08 16:26:48.517 Registering MythDVD DVD Media Handler as a media
handler ext()
 2007-01-08 16:26:48.518 Mediamonitor: Adding /dev/hda
 no record for '/block/hda/device' in database
 no record for '/block/hda/holders' in database
 no record for '/block/hda/queue' in database
 no record for '/block/hda/slaves' in database
 2007-01-08 16:26:48.536 Mediamonitor: AddDevice() -- Not adding '/dev/hda',
it appears to be a duplicate.
 2007-01-08 16:26:48.537 Registering MythDVD VCD Media Handler as a media
handler ext()
 2007-01-08 16:26:48.562 Registering MythGallery Media Handler 1/2 as a
media handler ext()
 2007-01-08 16:26:48.562 Registering MythGallery Media Handler 2/2 as a
media handler ext(gif,jpg,png)
 2007-01-08 16:26:48.562 MonitorRegisterExtensions(0x100, gif,jpg,png)
 2007-01-08 16:26:48.606 Using NV NPOT texture extension
 Failed to run 'cdrecord --scanbus'
 adding: ATA:0,0,0 -- IDE1108
 Failed to run 'cdrecord --scanbus'
 2007-01-08 16:26:51.671 Registering MythMusic Media Handler 1/2 as a media
handler ext()
 2007-01-08 16:26:51.671 Registering MythMusic Media Handler 2/2 as a media
handler ext(ogg,mp3,aac,flac)
 2007-01-08 16:26:51.671 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
 SIP listening on IP Address 192.168.0.128:5060 NAT address 192.168.0.128
 SIP Registration failed; Reason 404 Not found
 2007-01-08 16:26:51.750 Starting media monitor.
 2007-01-08 16:27:01.871 XMLParse::LoadTheme using
/usr/share/mythtv/themes/blootube-wide/ui.xml
 2007-01-08 16:27:02.525 Connecting to backend server:
192.168.0.10:6543(try 1 of 5)
 2007-01-08 16:27:02.526 Using protocol version 32
 2007-01-08 16:27:12.139 XMLParse::LoadTheme using
/usr/share/mythtv/themes/blootube-wide/ui.xml
 2007-01-08 16:27:32.150 XMLParse::LoadTheme using
/usr/share/mythtv/themes/blootube-wide/ui.xml
 2007-01-08 16:28:09.440 XMLParse::LoadTheme using
/usr/share/mythtv/themes/blootube-wide/ui.xml
 0: start_time: 5042.153 duration: 2.101
 1: start_time: 5042.109 duration: 2.105
 stream: start_time: 56023.432 duration: 23.825 bitrate=13397 kb/s
 2007-01-08 16:28:10.882 AFD: Opened codec 0x86e6f90, id(MPEG2VIDEO)
type(Video)
 2007-01-08 16:28:10.883 AFD: Opened codec 0x84799f0, id(AC3) type(Audio)
 2007-01-08 16:28:27.027 MythSocket(8692018:27): readStringList: Error,
timeout (quick).
 2007-01-08 16:28:27.027 Connection to backend server lost
 2007-01-08 16:28:27.028 Connecting to backend server:
192.168.0.10:6543(try 1 of 5)
 2007-01-08 16:28:27.028 Using protocol version 32
 2007-01-08 16:28:27.029 MythSocket(afcfa4f8:27): writeStringList: Error,
invalid string list.
 2007-01-08 16:28:34.031 MythSocket(afcfa4f8:27): readStringList: Error,
timeout (quick).
 2007-01-08 16:28:34.032 Reconnection to backend server failed

Then I stopped all backends and frontends and tried starting all again one
more time to see if it would recorded scheduled jobs. It didn't make a
difference and it still didn't see the new tuner. Any ideas? I'm not sure
about these error messages. Thanks for the help

Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070109/054cf84c/attachment.htm 


More information about the mythtv-users mailing list