Installation on Debian 9.5 "Stretch"

For discussion of topics specific to MythTV on linux
luker
Newcomer
Posts: 10
Joined: Sun May 27, 2018 1:13 pm
Germany

Re: Installation on Debian 9.5 "Stretch"

Post by luker »

Starting the backend didn't work. mythbackend.log has not been re-created.

Code: Select all

$ sudo service mythtv-backend start
Job for mythtv-backend.service failed because the control process exited with error code.
See "systemctl status mythtv-backend.service" and "journalctl -xe" for details.
$ systemctl status mythtv-backend.service 
● mythtv-backend.service - MythTV Backend
   Loaded: loaded (/lib/systemd/system/mythtv-backend.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-06-07 16:40:55 CEST; 2min 14s ago
     Docs: https://www.mythtv.org/wiki/Mythbackend
  Process: 1792 ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITIONAL_ARGS (code=exited, status=138)
 Main PID: 1792 (code=exited, status=138)
$ sudo journalctl -xe
Jun 07 16:42:25 michael sudo[2088]: pam_unix(sudo:session): session closed for user root
Jun 07 16:43:39 michael polkitd(authority=local)[394]: Registered Authentication Agent for unix-process:2291:21092 (system bus name :1.70 [/usr/bin/pkttyagent
Jun 07 16:43:43 michael polkitd(authority=local)[394]: Operator of unix-session:2 successfully authenticated as unix-user:luker to gain TEMPORARY authorizatio
Jun 07 16:43:43 michael systemd[1]: mythtv-backend.service: Start request repeated too quickly.
Jun 07 16:43:43 michael systemd[1]: Failed to start MythTV Backend.
-- Subject: Unit mythtv-backend.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit mythtv-backend.service has failed.
-- 
-- The result is failed.
Jun 07 16:43:43 michael systemd[1]: mythtv-backend.service: Failed with result 'exit-code'.
Jun 07 16:43:43 michael polkitd(authority=local)[394]: Unregistered Authentication Agent for unix-process:2291:21092 (system bus name :1.70, object path /org/
Jun 07 16:45:16 michael anacron[318]: Job `cron.daily' started
Jun 07 16:45:16 michael anacron[2422]: Updated timestamp for job `cron.daily' to 2018-06-07
Jun 07 16:45:17 michael liblogging-stdlog[316]:  [origin software="rsyslogd" swVersion="8.24.0" x-pid="316" x-info="http://www.rsyslog.com"] rsyslogd was HUPe
Jun 07 16:45:18 michael anacron[318]: Job `cron.daily' terminated
Jun 07 16:45:49 michael sudo[2526]:    luker : TTY=pts/2 ; PWD=/var/log/mythtv ; USER=root ; COMMAND=/bin/journalctl -xe
Jun 07 16:45:49 michael sudo[2526]: pam_unix(sudo:session): session opened for user root by (uid=0)
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Installation on Debian 9.5 "Stretch"

Post by bill6502 »

OK, I'd verify that it's still stopped (probably the case) and then start it from
the command line.

Code: Select all

sudo /usr/bin/mythbackend --user mythtv --loglevel debug
The output of:

Code: Select all

systemctl cat mythtv-backend
would be nice to see too.

Exit code 138 suggests setup issues:

Code: Select all

#define GENERIC_EXIT_SETUP_ERROR        138 ///< Incorrectly setup system
but let's see if there's more info available from the above.
Post Reply