[mythtv-users] No shutdown - MythTV locked by a user

Peter Carlsson maillist.peter at home.se
Tue May 21 10:12:41 UTC 2013


Hello!

I use MythWelcome and my combined BE/FE have always shut down when idle,
but just a few days ago this seems to have stopped working. It tells me
that the MythTV is locked by a user.

I have not done any obvious upgrade recently with respect to MythTV and I
am still under Debian 6. Also, I do not see anything in the backend log
file about this.

How can I find out what user is blocking the shutdown?

htpc:~# mythshutdown --status --verbose
2013-05-20 22:52:33.639129 C  mythshutdown version:  [v0.25.1] www.mythtv.org
2013-05-20 22:52:33.639161 C  Qt version: compile: 4.6.3, runtime: 4.6.3
2013-05-20 22:52:33.639169 N  Enabled verbose msgs:  general
2013-05-20 22:52:33.639205 N  Setting Log Level to LOG_INFO
2013-05-20 22:52:33.639280 I  Added logging to the console
2013-05-20 22:52:33.639292 I  Added database logging to table logging
2013-05-20 22:52:33.639390 N  Setting up SIGHUP handler
2013-05-20 22:52:33.639466 N  Using runtime prefix = /usr
2013-05-20 22:52:33.639485 N  Using configuration directory = /root/.mythtv
2013-05-20 22:52:33.639654 I  Assumed character encoding: sv_SE.UTF-8
2013-05-20 22:52:33.640300 N  Empty LocalHostName.
2013-05-20 22:52:33.640314 I  Using localhost value of htpc
2013-05-20 22:52:33.677720 N  Setting QT default locale to SV_US
2013-05-20 22:52:33.677743 I  Current locale SV_US
2013-05-20 22:52:33.677805 E  No locale defaults file for SV_US, skipping
2013-05-20 22:52:33.677854 I  Mythshutdown: --status
2013-05-20 22:52:33.684801 I  Starting IO manager (write)
2013-05-20 22:52:33.684888 I  Starting IO manager (read)
2013-05-20 22:52:33.684966 I  Starting process signal handler
2013-05-20 22:52:33.685053 I  Starting process manager
2013-05-20 22:52:33.985711 N  isRecording: Attempting to connect to master server...
2013-05-20 22:52:33.989728 I  MythCoreContext: Connecting to backend server: 192.168.1.4:6543 (try 1 of 1)
2013-05-20 22:52:33.991661 I  Using protocol version 72
2013-05-20 22:52:33.996037 N  Shutdown is locked
2013-05-20 22:52:34.085907 I  Mythshutdown: --status returned: 16
htpc:~# mythshutdown --check --verbose
2013-05-20 22:57:36.790823 C  mythshutdown version:  [v0.25.1] www.mythtv.org
2013-05-20 22:57:36.790855 C  Qt version: compile: 4.6.3, runtime: 4.6.3
2013-05-20 22:57:36.790863 N  Enabled verbose msgs:  general
2013-05-20 22:57:36.790899 N  Setting Log Level to LOG_INFO
2013-05-20 22:57:36.790974 I  Added logging to the console
2013-05-20 22:57:36.790986 I  Added database logging to table logging
2013-05-20 22:57:36.791085 N  Setting up SIGHUP handler
2013-05-20 22:57:36.791161 N  Using runtime prefix = /usr
2013-05-20 22:57:36.791179 N  Using configuration directory = /root/.mythtv
2013-05-20 22:57:36.791351 I  Assumed character encoding: sv_SE.UTF-8
2013-05-20 22:57:36.792000 N  Empty LocalHostName.
2013-05-20 22:57:36.792015 I  Using localhost value of htpc
2013-05-20 22:57:36.830737 N  Setting QT default locale to SV_US
2013-05-20 22:57:36.830760 I  Current locale SV_US
2013-05-20 22:57:36.830822 E  No locale defaults file for SV_US, skipping
2013-05-20 22:57:36.830863 I  Mythshutdown: --check
2013-05-20 22:57:36.830873 I  Mythshutdown: --status
2013-05-20 22:57:36.836824 I  Starting IO manager (write)
2013-05-20 22:57:36.836920 I  Starting IO manager (read)
2013-05-20 22:57:36.837040 I  Starting process signal handler
2013-05-20 22:57:36.837120 I  Starting process manager
2013-05-20 22:57:37.137783 N  isRecording: Attempting to connect to master server...
2013-05-20 22:57:37.141799 I  MythCoreContext: Connecting to backend server: 192.168.1.4:6543 (try 1 of 1)
2013-05-20 22:57:37.144072 I  Using protocol version 72
2013-05-20 22:57:37.148958 N  Shutdown is locked
2013-05-20 22:57:37.237968 I  Mythshutdown: --status returned: 16
2013-05-20 22:57:37.237994 N  Not OK to shutdown
2013-05-20 22:57:37.238008 I  Mythshutdown: --check returned: 1

Best regards,
Peter Carlsson


More information about the mythtv-users mailing list