Opened 20 years ago

Last modified 20 years ago

#1382 closed defect

Stopping mythbackend whilst recording leaves recording inconsistancy. — at Initial Version

Reported by: karl@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: mythtv Version: 0.19
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Ive noticed that stopping mythbackend with kill and then restarting (if backend was recording) causes the new backend to try to delete a file that is not on the filesystem.

If I do a "ls *.nuv *.mpg | wc -l" I have one less than a "select * from recorded" in the DB.

The new backend reports in its log file:

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed 2006-02-24 13:19:57.936 Using runtime prefix = /usr/local 2006-02-24 13:19:58.043 New DB connection, total: 1 2006-02-24 13:19:58.050 Connected to database 'mythconverg' at host: 10.1.0.90 2006-02-24 13:19:58.076 Current Schema Version: 1123 Starting up as the master server. 2006-02-24 13:19:58.099 New DB connection, total: 2 2006-02-24 13:19:58.100 Connected to database 'mythconverg' at host: 10.1.0.90 2006-02-24 13:19:58.156 DVB#0 Using DVB card 0, with frontend 'Conexant CX22702 DVB-T'. 2006-02-24 13:19:58.158 New DB connection, total: 3 2006-02-24 13:19:58.159 Connected to database 'mythconverg' at host: 10.1.0.90 2006-02-24 13:19:59.418 DVB#1 Using DVB card 1, with frontend 'Philips TDA10045H DVB-T'. 2006-02-24 13:19:59.932 New DB scheduler connection 2006-02-24 13:19:59.932 Connected to database 'mythconverg' at host: 10.1.0.90 2006-02-24 13:19:59.941 mythbackend version: 0.19.20060121-2 www.mythtv.org 2006-02-24 13:19:59.941 Enabled verbose msgs: important general 2006-02-24 13:19:59.982 AutoExpire: Found 2 recorders w/max rate of 277 MiB/min 2006-02-24 13:19:59.983 AutoExpire: Required Free Space: 12.2 GB w/freq: 5 min 2006-02-24 13:20:02.033 Reschedule requested for id -1. 2006-02-24 13:20:04.782 Scheduled 60 items in 2.7 = 2.58 match + 0.17 place 2006-02-24 13:20:04.788 Recording starts soon, AUTO-Startup assumed 2006-02-24 13:20:04.959 TVRec(2): Changing from None to RecordingOnly 2006-02-24 13:20:05.186 Started recording: Winter Olympics 2006: channel 1001 on cardid 2, sourceid 1 2006-02-24 13:20:05.912 DVB#1 DVB SI Table Parser Started 2006-02-24 13:20:08.105 Running HouseKeeping 2006-02-24 13:20:19.981 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:20:19.987 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:22:20.187 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:24:20.363 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:25:08.105 Running HouseKeeping 2006-02-24 13:25:20.424 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:26:20.499 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed. 2006-02-24 13:28:20.603 AutoExpire: ERROR when trying to autoexpire file: /home/mythtv/1021_20060214234708.mpg. File doesn't exist. Database metadata will not be removed.

To get round this I have deleted the line from the DB, but I have tried this twice and the same problem has arisen on each kill.

Yours,

Karl.

Change History (0)

Note: See TracTickets for help on using tickets.