[mythtv-users] Programs not getting scheduled (mythtv 0.20)

Steven Adeff adeffs.mythtv at gmail.com
Tue Jan 9 20:25:40 UTC 2007


On 1/9/07, Gervase Markham <gerv at gerv.net> wrote:
> Steven Adeff wrote:
> > assuming you ran mythfilldatabase and that you can see programs in the
> > grid, some "mythbackend -v all" log output when you schedule a
> > recording will help.
> > also, "mythbackend -v all --resched" log output may help too.
>
> Having experimented, I assume mythbackend needs to be running when you
> run it "again" to reschedule?
>
> mythbackend -v all while scheduling:
>    attempt-schedule.txt
>
> mythbackend -v all --resched:
>    rescheduling backend: resched.txt
>    running backend:      resched-backend.txt
>
> Please let me know if there's any more info I can provide.
>
> Gerv
>
>
> 2007-01-09 18:23:29.395 MythSocket(ae953b18:19): socket is readable
> 2007-01-09 18:23:29.395 MythSocket(ae953b18:19): cb->readyRead()
> 2007-01-09 18:23:29.395 MythSocket(ae953b18:19): UpRef: 2
> 2007-01-09 18:23:29.396 read  <- 19 24      RESCHEDULE_RECORDINGS 41
> 2007-01-09 18:23:29.396 write -> 19 1       0
> 2007-01-09 18:23:29.404 MythSocket(ae953b18:19): socket is readable
> 2007-01-09 18:23:29.404 MythSocket(ae953b18:19): cb->readyRead()
> 2007-01-09 18:23:29.405 MythSocket(ae953b18:19): UpRef: 3
> 2007-01-09 18:23:29.405 MythSocket(ae953b18:19): DownRef: 2
> 2007-01-09 18:23:29.407 read  <- 19 19      QUERY_GETALLPENDING
> 2007-01-09 18:23:29.407 write -> 19 7       0[]:[]0
> 2007-01-09 18:23:29.418 MythSocket(ae953b18:19): DownRef: 1
>
>
> 2007-01-09 18:44:56.667 Using runtime prefix = /usr
> 2007-01-09 18:44:56.715 New DB connection, total: 1
> 2007-01-09 18:44:56.722 Connected to database 'mythconverg' at host: localhost
> 2007-01-09 18:44:56.724 Enabling Settings Cache.
> 2007-01-09 18:44:56.731 Clearing Settings Cache.
> 2007-01-09 18:44:56.732 Disabling Settings Cache.
> 2007-01-09 18:44:56.732 Clearing Settings Cache.
> 2007-01-09 18:44:56.733 MSqlQuery: SELECT data FROM settings WHERE value = 'DBSchemaVer' AND hostname = 'shrew' ;
> 2007-01-09 18:44:56.757 MSqlQuery: SELECT data FROM settings WHERE value = 'DBSchemaVer' AND hostname IS NULL;
> 2007-01-09 18:44:56.781 Current Schema Version: 1160
> 2007-01-09 18:44:56.781 Enabling Settings Cache.
> 2007-01-09 18:44:56.781 Clearing Settings Cache.
> 2007-01-09 18:44:56.782 MSqlQuery: SELECT data FROM settings WHERE value = 'MasterServerIP' AND hostname = 'shrew' ;
> 2007-01-09 18:44:56.806 MSqlQuery: SELECT data FROM settings WHERE value = 'MasterServerIP' AND hostname IS NULL;
> 2007-01-09 18:44:56.806 MSqlQuery: SELECT data FROM settings WHERE value = 'MasterServerPort' AND hostname = 'shrew' ;
> 2007-01-09 18:44:56.830 MSqlQuery: SELECT data FROM settings WHERE value = 'MasterServerPort' AND hostname IS NULL;
> 2007-01-09 18:44:56.830 MythSocket(8153728:0): new socket
> 2007-01-09 18:44:56.854 MSqlQuery: SELECT data FROM settings WHERE value = 'WOLbackendReconnectWaitTime' AND hostname = 'shrew' ;
> 2007-01-09 18:44:56.877 MSqlQuery: SELECT data FROM settings WHERE value = 'WOLbackendReconnectWaitTime' AND hostname IS NULL;
> 2007-01-09 18:44:56.878 MSqlQuery: SELECT data FROM settings WHERE value = 'WOLbackendConnectRetry' AND hostname = 'shrew' ;
> 2007-01-09 18:44:56.878 MSqlQuery: SELECT data FROM settings WHERE value = 'WOLbackendConnectRetry' AND hostname IS NULL;
> 2007-01-09 18:44:56.878 Connecting to backend server: 10.101.1.138:6543 (try 1 of 5)
> 2007-01-09 18:44:56.878 MythSocket(8154108:7): new socket
> 2007-01-09 18:44:56.878 MythSocket(8154108:7): attempting connect() to (10.101.1.138:6543)
> 2007-01-09 18:44:56.944 MythSocket(8154108:7): state change Idle -> Connected
> 2007-01-09 18:44:56.944 write ->  7 21      MYTH_PROTO_VERSION 31
> 2007-01-09 18:44:56.946 read  <-  7 13      ACCEPT[]:[]31
> 2007-01-09 18:44:56.946 Using protocol version 31
> 2007-01-09 18:44:56.946 write ->  7 20      ANN Playback shrew 0
> 2007-01-09 18:44:56.947 read  <-  7 2       OK
> 2007-01-09 18:44:56.948 MythSocket(8153728:0): attempting connect() to (10.101.1.138:6543)
> 2007-01-09 18:44:56.948 MythSocket(8153728:0): state change Idle -> Connected
> 2007-01-09 18:44:56.948 write ->  0 19      ANN Monitor shrew 1
> 2007-01-09 18:44:56.949 read  <-  0 2       OK
> 2007-01-09 18:44:56.950 MythSocket(8153728:0): UpRef: 1
> 2007-01-09 18:44:56.950 Connected to master for reschedule
> 2007-01-09 18:44:56.950 write ->  7 24      RESCHEDULE_RECORDINGS -1
> 2007-01-09 18:44:56.951 read  <-  7 1       0
> 2007-01-09 18:44:56.952 MythSocket(8154108:7): DownRef: -1
> 2007-01-09 18:44:56.952 MythSocket(8154108:7): state change Connected -> Idle
> 2007-01-09 18:44:56.952 MythSocket(8154108:-1): delete socket
> 2007-01-09 18:44:56.952 MythSocket(8153728:0): DownRef: 0
> 2007-01-09 18:44:56.965 MythSocket: readyread thread start
> 2007-01-09 18:44:56.989 MythSocket: readyread thread exit
>
>
> 2007-01-09 18:44:56.904 MythSocket(8165878:14): new socket
> 2007-01-09 18:44:56.904 MythSocket(8165878:14): setSocket: 13
> 2007-01-09 18:44:56.904 MythSocket(8165878:13): state change Idle -> Connected
> 2007-01-09 18:44:56.904 MythSocket(8165878:13): UpRef: 1
> 2007-01-09 18:44:56.945 MythSocket(8165878:13): socket is readable
> 2007-01-09 18:44:56.945 MythSocket(8165878:13): cb->readyRead()
> 2007-01-09 18:44:56.945 MythSocket(8165878:13): UpRef: 2
> 2007-01-09 18:44:56.945 read  <- 13 21      MYTH_PROTO_VERSION 31
> 2007-01-09 18:44:56.945 write -> 13 13      ACCEPT[]:[]31
> 2007-01-09 18:44:56.945 MythSocket(8165878:13): DownRef: 1
> 2007-01-09 18:44:56.946 MythSocket(8165878:13): socket is readable
> 2007-01-09 18:44:56.946 MythSocket(8165878:13): cb->readyRead()
> 2007-01-09 18:44:56.946 MythSocket(8165878:13): UpRef: 2
> 2007-01-09 18:44:56.946 read  <- 13 20      ANN Playback shrew 0
> 2007-01-09 18:44:56.947 MainServer::HandleAnnounce Playback
> 2007-01-09 18:44:56.947 adding: shrew as a client (events: 0)
> 2007-01-09 18:44:56.947 write -> 13 2       OK
> 2007-01-09 18:44:56.947 MythSocket(8165878:13): DownRef: 1
> 2007-01-09 18:44:56.948 MythSocket(8165a38:15): new socket
> 2007-01-09 18:44:56.948 MythSocket(8165a38:15): setSocket: 14
> 2007-01-09 18:44:56.948 MythSocket(8165a38:14): state change Idle -> Connected
> 2007-01-09 18:44:56.948 MythSocket(8165a38:14): UpRef: 1
> 2007-01-09 18:44:56.949 MythSocket(8165a38:14): socket is readable
> 2007-01-09 18:44:56.949 MythSocket(8165a38:14): cb->readyRead()
> 2007-01-09 18:44:56.949 MythSocket(8165a38:14): UpRef: 2
> 2007-01-09 18:44:56.949 read  <- 14 19      ANN Monitor shrew 1
> 2007-01-09 18:44:56.949 MainServer::HandleAnnounce Monitor
> 2007-01-09 18:44:56.949 adding: shrew as a client (events: 1)
> 2007-01-09 18:44:56.949 write -> 14 2       OK
> 2007-01-09 18:44:56.949 MythSocket(8165a38:14): DownRef: 1
> 2007-01-09 18:44:56.950 MythSocket(8165878:13): socket is readable
> 2007-01-09 18:44:56.950 MythSocket(8165878:13): cb->readyRead()
> 2007-01-09 18:44:56.950 MythSocket(8165878:13): UpRef: 2
> 2007-01-09 18:44:56.951 read  <- 13 24      RESCHEDULE_RECORDINGS -1
> 2007-01-09 18:44:56.951 write -> 13 1       0
> 2007-01-09 18:44:56.951 MythSocket(8165878:13): DownRef: 1
> 2007-01-09 18:44:56.952 MythSocket(8165878:13): socket is readable
> 2007-01-09 18:44:56.952 MythSocket(8165878:13): socket closed
> 2007-01-09 18:44:56.952 MythSocket(8165878:13): state change Connected -> Idle
> 2007-01-09 18:44:56.952 MythSocket(8165878:-1): cb->connectionClosed()
> 2007-01-09 18:44:57.035 MythSocket(8165a38:14): socket is readable
> 2007-01-09 18:44:57.035 MythSocket(8165a38:14): socket closed
> 2007-01-09 18:44:57.035 MythSocket(8165a38:14): state change Connected -> Idle
> 2007-01-09 18:44:57.036 MythSocket(8165a38:-1): cb->connectionClosed()
>

your cutting out any useful information from the logs


-- 
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list