[mythtv-users] How to prevent the backend to shutdown while mythfilldatabse is running

Paul Harrison mythtv at dsl.pipex.com
Sat Nov 4 21:25:35 UTC 2006


Oscar Curero wrote:
> Hi,
>
> I was experiencing mythfilldatabase problems so I merged the mythbackend log 
> and the mythfilldatabase log. I noticed that the backend doesn't know that 
> mythfilldatabase is running and because the backend is idle for four minutes, 
> the shutdown occurs. This are the logs:
>
> Mythbackend.log:
>
> 2006-11-03 06:41:23.910 I'm idle now... shutdown will occur in 240 seconds.
> 2006-11-03 06:41:33.223 230 secs left to system shutdown!
> 2006-11-03 06:41:43.535 220 secs left to system shutdown!
> 2006-11-03 06:41:53.852 210 secs left to system shutdown!
> 2006-11-03 06:42:03.164 200 secs left to system shutdown!
> 2006-11-03 06:42:13.485 190 secs left to system shutdown!
> 2006-11-03 06:42:23.798 180 secs left to system shutdown!
> 2006-11-03 06:42:33.118 170 secs left to system shutdown!
> 2006-11-03 06:42:43.439 160 secs left to system shutdown!
> 2006-11-03 06:42:53.756 150 secs left to system shutdown!
> 2006-11-03 06:43:03.068 140 secs left to system shutdown!
> 2006-11-03 06:43:13.393 130 secs left to system shutdown!
> 2006-11-03 06:43:23.733 120 secs left to system shutdown!
> 2006-11-03 06:43:33.050 110 secs left to system shutdown!
> 2006-11-03 06:43:43.494 100 secs left to system shutdown!
> 2006-11-03 06:43:53.119 90 secs left to system shutdown!
> 2006-11-03 06:44:03.440 80 secs left to system shutdown!
> 2006-11-03 06:44:13.757 70 secs left to system shutdown!
> 2006-11-03 06:44:23.073 60 secs left to system shutdown!
> 2006-11-03 06:44:33.394 50 secs left to system shutdown!
> 2006-11-03 06:44:43.710 40 secs left to system shutdown!
> 2006-11-03 06:44:53.047 30 secs left to system shutdown!
> 2006-11-03 06:45:03.372 20 secs left to system shutdown!
> 2006-11-03 06:45:13.692 10 secs left to system shutdown!
> 2006-11-03 06:45:23.497 MainServer::HandleAnnounce Monitor
> 2006-11-03 06:45:23.497 adding: lilium as a client (events: 0)
>
> Mythfilldatabase.log:
> 2006-11-03 06:43:43.824 Updating source #4 (Digital) with grabber 
> tv_grab_es_laguiatv
> 2006-11-03 06:43:43.827 ----------------- Start of XMLTV output 
> -----------------
> [Fri Nov  3 06:43:45 2006] getting listings:   0%
> [Fri Nov  3 06:43:48 2006] getting listings:   0%
> [Fri Nov  3 06:43:51 2006] getting listings:   1%
> [Fri Nov  3 06:43:54 2006] getting listings:   1%
> [Fri Nov  3 06:43:58 2006] getting listings:   2%
> [Fri Nov  3 06:44:01 2006] getting listings:   2%
> [Fri Nov  3 06:44:05 2006] getting listings:   3%
> [Fri Nov  3 06:44:09 2006] getting listings:   3%
> [Fri Nov  3 06:44:12 2006] getting listings:   4%
> [Fri Nov  3 06:44:17 2006] getting listings:   4%
> [Fri Nov  3 06:44:21 2006] getting listings:   5%
> [Fri Nov  3 06:44:25 2006] getting listings:   5%
> [Fri Nov  3 06:44:30 2006] getting listings:   6%
> [Fri Nov  3 06:44:35 2006] getting listings:   6%
> [Fri Nov  3 06:44:43 2006] getting listings:   7%
> [Fri Nov  3 06:44:46 2006] getting listings:   7%
> [Fri Nov  3 06:44:50 2006] getting listings:   8%
> [Fri Nov  3 06:44:52 2006] getting listings:   8%
> [Fri Nov  3 06:44:56 2006] getting listings:   9%
> [Fri Nov  3 06:45:06 2006] getting listings:   9%
> [Fri Nov  3 06:45:11 2006] getting listings:  10%
> [Fri Nov  3 06:45:18 2006] getting listings:  10%
> [Fri Nov  3 06:45:21 2006] getting listings:  11%
>
> The question is: How can I prevent the backend to shutdown the machine _if 
> mythfilldatabase is running_?
> --
> TIA
> Oscar Curero - Linux user: 306877
>   

Have a look at mythshutdown. You can use it to prevent mythbackend 
shutting things down when mythfilldatabase is running by setting the 
"Pre shutdown check command" setting  to "mythshutdown --check".

Paul H.




More information about the mythtv-users mailing list