View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Programs are in use...
PostPosted: Wed Oct 28, 2020 7:52 pm 
Offline
Joined: Fri Nov 19, 2004 11:58 pm
Posts: 99
My myth_mtc has not run in a couple of months.

Code:
Oct 28 02:35:06 mythtvquad myth_mtc: 2020-10-28 02:35
Oct 28 02:35:06 mythtvquad myth_mtc: Checking system idle...
Oct 28 02:35:06 mythtvquad myth_mtc:     Checking if the schema is locked...
Oct 28 02:35:06 mythtvquad myth_mtc:     Checking if programs are in use...
Oct 28 02:35:06 mythtvquad myth_mtc:         Programs are in use.
Oct 28 02:35:06 mythtvquad myth_mtc: System is busy.


Trouble shooting, I tracked down the issue to the inuseprogram table having two entries in it. Deleted those entries, thought everything was good, expected myth_mtc to run, but it did not. The two delete entries were readded to the inuseprogram table again.
Code:
mysql> select * from inuseprograms;
+--------+---------------------+----------+---------------------+------------+------------+------------------------------+
| chanid | starttime           | recusage | lastupdatetime      | hostname   | rechost    | recdir                       |
+--------+---------------------+----------+---------------------+------------+------------+------------------------------+
|  71455 | 2020-08-09 00:00:00 | flagger  | 2020-10-29 01:07:52 | mythtvquad | mythtvquad | /data/storage/raid2/media/tv |
|  71007 | 2020-10-22 01:00:00 | flagger  | 2020-10-29 01:14:22 | mythtvquad | mythtvquad | /data/storage/raid2/media/tv |


There are no entries in the jobqueue table that line up these dates. Any ideas on what and why these two entries are getting inserted?

thanks


Top
 Profile  
 
PostPosted: Wed Oct 28, 2020 9:10 pm 
Offline
Joined: Tue Jul 01, 2014 6:49 am
Posts: 92
Yes I’ve seen that, don’t recall if I had to do a delete from in use programs then reboot and delete again, or if checking the myth backend status I still saw a recording queued, or if I made sure everything with that date (shown in the inuse program table) was deleted, then deleted the items from inuseprograms.

Seems like it was some combination of those things along with swinging a live chicken over my head that got it to stop reappearing.

Regards


Top
 Profile  
 
PostPosted: Thu Oct 29, 2020 11:13 pm 
Offline
Joined: Fri Nov 19, 2004 11:58 pm
Posts: 99
Thanks for some suggestions, I performed the delete and reboot suggestion, which so far has prevented one of the two file from reappearing in the inuseprograms table. Still looking for reason for the regeneration of the a two month old reference..


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu