Mythtv-backend setup fails to launch

Bug #1186587 reported by mtbdrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
New
Undecided
Unassigned

Bug Description

Mythtv-backend-setup does not launch correctly. Terminal screen pops up and remains blank regardless of how long you leave it (even over night). No error message pops up.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: mythtv-backend 2:0.26.0+fixes.20121118.340b5d4-0ubuntu3
ProcVersionSignature: Ubuntu 3.9.0-3.8-generic 3.9.4
Uname: Linux 3.9.0-3-generic x86_64
NonfreeKernelModules: nvidia
.var.log.mythtv.mythavtest.log:

.var.log.mythtv.mythccextractor.log:

.var.log.mythtv.mythcommflag.log:

.var.log.mythtv.mythfilldatabase.log:

.var.log.mythtv.mythfrontend.log:

.var.log.mythtv.mythjobqueue.log:

.var.log.mythtv.mythlcdserver.log:

.var.log.mythtv.mythmediaserver.log:

.var.log.mythtv.mythmetadatalookup.log:

.var.log.mythtv.mythpreviewgen.log:

.var.log.mythtv.mythshutdown.log:

.var.log.mythtv.mythtranscode.log:

.var.log.mythtv.mythtv.setup.log:

.var.log.mythtv.mythutil.log:

.var.log.mythtv.mythwelcome.log:

ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
Date: Sat Jun 1 12:17:54 2013
InstallationDate: Installed on 2013-05-30 (2 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130529)
Installed_mythtv_dbg: 0.0
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mythtv
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mtbdrew (mtbdrew) wrote :
Revision history for this message
mtbdrew (mtbdrew) wrote :

This is now working correctly with latest updates for MythTV. Running:

mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.26.0-175-g7f71e02
MythTV Branch : fixes/0.26
Network Protocol : 75
Library API : 0.26.20130225-1
QT Version : 4.8.4
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2

Revision history for this message
mtbdrew (mtbdrew) wrote :

Actually not 100% corrected, doesn't always ask for the sudo password to stop the backend and when it doesn't the setup can't take control of capture cards and the give there error message.

Revision history for this message
Thomas Mashos (tgm4883) wrote : Re: [Mythbuntu-bugs] [Bug 1186587] Re: Mythtv-backend setup fails to launch

Can you please post your /var/log/mythtv-backend.conf

Thanks,
Thomas Mashos
On Jun 16, 2013 12:50 PM, "mtbdrew" <email address hidden> wrote:

> Actually not 100% corrected, doesn't always ask for the sudo password to
> stop the backend and when it doesn't the setup can't take control of
> capture cards and the give there error message.
>
> --
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to mythtv in Ubuntu.
> https://bugs.launchpad.net/bugs/1186587
>
> Title:
> Mythtv-backend setup fails to launch
>
> Status in “mythtv” package in Ubuntu:
> New
>
> Bug description:
> Mythtv-backend-setup does not launch correctly. Terminal screen pops
> up and remains blank regardless of how long you leave it (even over
> night). No error message pops up.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.10
> Package: mythtv-backend 2:0.26.0+fixes.20121118.340b5d4-0ubuntu3
> ProcVersionSignature: Ubuntu 3.9.0-3.8-generic 3.9.4
> Uname: Linux 3.9.0-3-generic x86_64
> NonfreeKernelModules: nvidia
> .var.log.mythtv.mythavtest.log:
>
> .var.log.mythtv.mythccextractor.log:
>
> .var.log.mythtv.mythcommflag.log:
>
> .var.log.mythtv.mythfilldatabase.log:
>
> .var.log.mythtv.mythfrontend.log:
>
> .var.log.mythtv.mythjobqueue.log:
>
> .var.log.mythtv.mythlcdserver.log:
>
> .var.log.mythtv.mythmediaserver.log:
>
> .var.log.mythtv.mythmetadatalookup.log:
>
> .var.log.mythtv.mythpreviewgen.log:
>
> .var.log.mythtv.mythshutdown.log:
>
> .var.log.mythtv.mythtranscode.log:
>
> .var.log.mythtv.mythtv.setup.log:
>
> .var.log.mythtv.mythutil.log:
>
> .var.log.mythtv.mythwelcome.log:
>
> ApportVersion: 2.10.2-0ubuntu1
> Architecture: amd64
> Date: Sat Jun 1 12:17:54 2013
> InstallationDate: Installed on 2013-05-30 (2 days ago)
> InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64
> (20130529)
> Installed_mythtv_dbg: 0.0
> MarkForUpload: True
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: mythtv
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1186587/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
mtbdrew (mtbdrew) wrote :

Here is the contents of my file though it is not where you stated (/var/log/mythtv-backend.conf). The only file of this name is located in /etc/init/mythtv-backend.conf here is what it has in it:

# MythTV Backend service

description "MythTV Backend"
author "Mario Limonciello <email address hidden>"

start on (local-filesystems and net-device-up IFACE!=lo and started udev-finish)
stop on runlevel [016]

#should die within 5 seconds, but we don't want data loss, so set it to 30
#before we send SIGKILL
kill timeout 30

#if we crash, but not quickly
respawn
respawn limit 2 3600

#because we're daemonizing to avoid logging to upstart log
expect fork

pre-start script
    [ -x /usr/sbin/mysqld ] || exit 0
    for i in `seq 1 30` ; do
       /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping >/dev/null && exit 0
       sleep .5
    done
end script

script
 test -f /etc/default/locale && . /etc/default/locale || true
 LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user mythtv --daemon
end script

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.