I have a pretty much fully working system,.. however whenever I try to exit the backend-setup having done some config stuff, I get the prompt about running mythfilldatabase if channels changed etc... hitting return I then get Nothing,.. screen does not change,.. I eventually have to kill the backend process,.. and when I do, I get the prompt to restart the backend and run mythfilldatabase as one might expect.
I am running myth 0.27 on a Ubuntu 12.04 baseOS
I don't appear to be loosing anything,.. as things appear to be saved OK etc,.. it's just messy having to kill the backend-setup stuff.
this is the tail of my setup log,.. there are clearly some Errors,.. but I just don't know with my limited knowledge if these are really worth noting,.. can any one help, and either explain,. or give me some more pointers on where to look,.. as I am now struggling to understand.
Have including a complete Mythtv log folder, ( don't panic I stripped everything out prior to this test ) so just a few small log files included
Many thanks
---------------------------------------------------------------------------
Apr 1 14:01:45 mhtpc mythtv-setup.real: mythtv-setup[3013]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Apr 1 14:01:45 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext screensaver-x11.cpp:80 (ScreenSaverX11Private) ScreenSaverX11Private: DPMS is active.
Apr 1 14:01:45 mhtpc mythtv-setup.real: mythtv-setup[3013]: N CoreContext DisplayRes.cpp:64 (Initialize) Desktop video mode: 1920x1080 60.000 Hz
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythtranslation.cpp:65 (load) Loading en_gb translation for module mythfrontend
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext lirc.cpp:320 (Init) LIRC: Successfully initialized '/dev/lircd' using '/home/mark/.lircrc' config
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: E CoreContext jsmenu.cpp:91 (Init) JoystickMenuThread: Joystick disabled - Failed to read /home/mark/.mythtv/joystickmenurc
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: E CoreContext cecadapter.cpp:128 (Open) CECAdapter: Failed to load libcec.
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythudplistener.cpp:32 (Enable) UDPListener: Enabling
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext serverpool.cpp:494 (bind) Binding to UDP 127.0.0.1:6948
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext serverpool.cpp:494 (bind) Binding to UDP [::1]:6948
Apr 1 14:01:46 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext serverpool.cpp:494 (bind) Binding to UDP [fe80::ae22:bff:feda:e11%eth0]:6948
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:973 (Init) Using Frameless Window
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:986 (Init) Using Full Screen Window
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:1077 (Init) Using the Qt painter
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythuiwebbrowser.cpp:1078 (LoadUserStyleSheet) MythUIWebBrowser: Loading css from - file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: E CoreContext mythuiwebbrowser.cpp:962 (Init) MythUIWebBrowser: failed to find our parent screen
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythuiwebbrowser.cpp:991 (Init) MythUIWebBrowser: enabling plugins
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext schemawizard.cpp:118 (Compare) Current MythTV Schema Version (DBSchemaVer): 1317
Apr 1 14:01:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythcorecontext.cpp:423 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Apr 1 14:01:48 mhtpc mythtv-setup.real: mythtv-setup[3013]: E MythSocketThread(-1) mythsocket.cpp:798 (ReadStringListReal) MythSocket(222d9c0:-1): ReadStringList: Connection died.
Apr 1 14:01:48 mhtpc mythtv-setup.real: mythtv-setup[3013]: C CoreContext mythcorecontext.cpp:1214 (CheckProtoVersion) Protocol version check failure.#012#011#011#011The response to MYTH_PROTO_VERSION was empty.#012#011#011#011This happens when the backend is too busy to respond,#012#011#011#011or has deadlocked due to bugs or hardware failure.
Apr 1 14:01:50 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext startprompt.cpp:52 (stopBackend) Trying to stop backend
Apr 1 14:01:50 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:2590 (LockInputDevices) Locking input devices
Apr 1 14:01:50 mhtpc mythtv-setup.real: mythtv-setup[3013]: N CoreContext mythmainwindow.cpp:2638 (PauseIdleTimer) Suspending idle timer
Apr 1 14:01:50 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:2592 (LockInputDevices) Unlocking input devices
Apr 1 14:01:50 mhtpc mythtv-setup.real: mythtv-setup[3013]: N CoreContext mythmainwindow.cpp:2643 (PauseIdleTimer) Resuming idle timer
Apr 1 14:03:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: E CoreContext exitprompt.cpp:130 (quit) backendrestartmythbackend
Apr 1 14:03:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: I CoreContext mythmainwindow.cpp:2590 (LockInputDevices) Locking input devices
Apr 1 14:03:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: N CoreContext mythmainwindow.cpp:2638 (PauseIdleTimer) Suspending idle timer
Backend-Setup Fails to close
Moderator: Forum Moderators
Backend-Setup Fails to close
- Attachments
-
- mlog.zip
- (22.25 KiB) Downloaded 119 times
Re: Backend-Setup Fails to close
The above suggests that you don't have a Backend start command (and perhaps Backend stop command) defined in mythtv-setup.) I use sudo stop mythtv-backend, but that requires you to put/create an entry in /etc/sudoers.d/mythtv (added below.) I'm guessing that you're tellling mythtv-setup to stop the backend and it's then trying to restart it.Apr 1 14:03:47 mhtpc mythtv-setup.real: mythtv-setup[3013]: E CoreContext exitprompt.cpp:130 (quit) backendrestartmythbackend
Unrelated, but in the mythbackend log, you're starting it without setting the language, for examples see:
http://bazaar.launchpad.net/~mythbuntu ... iguration
Code: Select all
#
# MythTV /etc/sudoers.d/mythtv file.
#
User_Alias MYTHTV_USERS = yourUserName, mythtv
Cmnd_Alias MYTHTV_COMMANDS = \
/sbin/stop mythtv-backend, \
/sbin/start mythtv-backend, \
/sbin/shutdown
MYTHTV_USERS ALL=NOPASSWD: MYTHTV_COMMANDS
Re: Backend-Setup Fails to close
many tx Bill,...
that fixed it,.. appears the default stop start back commands were not good,..
I have inserted "sudo service mythtv-backend stop/start" and all seems well.
Didn't need to do anything in sudoers,.. although that may be down to some stuff I did with power save
Ref the LANG setting,.. many thanks for that pointer,. which error alerted you to my error.
Had seen the script stuff but got confused as to whether it applied to 0.27
My upstart script only checks to see if mysql is started,.. and it checks for tuners started
also why two respawn lines, am I missing something or is this just a typo
respawn
respawn limit 2 3600
and would you mind explaining this line to me
test -f /etc/default/locale && . /etc/default/locale || true
I understand "test" the presence of "first file" but then the "." following the && and then another second file,.. THEN RESULT is true
looses me.... why the . and second file path.
that fixed it,.. appears the default stop start back commands were not good,..
I have inserted "sudo service mythtv-backend stop/start" and all seems well.
Didn't need to do anything in sudoers,.. although that may be down to some stuff I did with power save
Ref the LANG setting,.. many thanks for that pointer,. which error alerted you to my error.
Had seen the script stuff but got confused as to whether it applied to 0.27
My upstart script only checks to see if mysql is started,.. and it checks for tuners started
also why two respawn lines, am I missing something or is this just a typo
respawn
respawn limit 2 3600
and would you mind explaining this line to me
test -f /etc/default/locale && . /etc/default/locale || true
I understand "test" the presence of "first file" but then the "." following the && and then another second file,.. THEN RESULT is true
looses me.... why the . and second file path.
Re: Backend-Setup Fails to close
Look for: This application expects to be running a locale that specifies a UTF-8 codeset... in your backend log.Ref the LANG setting,.. many thanks for that pointer,. which error alerted you to my error.
The 1st says restart the process, the 2nd limits the number of times in a period that it will do that, twice in an hour in this case. Here's a good Upstart reference: http://upstart.ubuntu.com/cookbook .also why two respawn lines, am I missing something or is this just a typo
If the file exists, then source its contents (read them into the current environment.) Just in case that fails, return true so the job won't abort. Which, by the way, will set LANG and LC_ALL for you.and would you mind explaining this line to me test -f /etc/default/locale && . /etc/default/locale || true...
Re: Backend-Setup Fails to close
Thanks for the feedback ,.. much appreciated