LinHES Forums
http://forum.linhes.org/

Programs are in use...
http://forum.linhes.org/viewtopic.php?f=21&t=30035
Page 1 of 1

Author:  thekingofspain [ Wed Oct 28, 2020 7:52 pm ]
Post subject:  Programs are in use...

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

Author:  bgrant3406 [ Wed Oct 28, 2020 9:10 pm ]
Post subject:  Re: Programs are in use...

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

Author:  thekingofspain [ Thu Oct 29, 2020 11:13 pm ]
Post subject:  Re: Programs are in use...

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..

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/