[mythtv-users] Brand new install - Mythbackend doesn't start

Ashu Desai ashu.desai at gmail.com
Mon Jul 31 16:24:36 UTC 2017


On Sun, Jul 30, 2017 at 11:34 AM, Hika van den Hoven <hikavdh at gmail.com>
wrote:

> Hoi Ashu,
>
> Sunday, July 30, 2017, 6:21:24 PM, you wrote:
>
>
>
>
>
> > On Sat, Jul 29, 2017 at 7:12 PM, DryHeat122 . <dryheat122 at gmail.com>
> wrote:
>
> > IDK about a zero card backend, but I would investigate
>

i added the "test demo" card - didn't make a difference.


>
>
> > 170729 15:51:26 [Note] Hostname 'mythmaster.localdomain' does not
> resolve to '172.16.10.188'.
> > 170729 15:51:26 [Note] Hostname 'mythmaster.localdomain' has the
> following IP addresses:
> > 170729 15:51:26 [Note]  - ::1%1
>
>
> > Backend does not like IP address confusion.
>
>
>
> > That is exactly what I am trying to troubleshoot. I looked at the
> database,
>
>
> > Here's the output:
>
>
> > -----------------------
> > | ImageTransitionType               | 1                             |
> NULL                   |
> > | ImageTransitionTime               | 1000                          |
> NULL                   |
> > | BackendServerIP                   | 172.16.10.188                 |
> mythmaster.localdomain |
> > | AllowLinkLocal                    | 1                             |
> mythmaster.localdomain |
> > | BackendServerPort                 | 6543                          |
> mythmaster.localdomain |
> > | BackendStatusPort                 | 6544                          |
> mythmaster.localdomain |
> > | MasterServerIP                    | 172.16.10.188                 |
> NULL                   |
> > | MasterServerPort                  | 6543                          |
> NULL                   |
> > | MasterBackendOverride             | 1                             |
> NULL                   |
> > | DeletesFollowLinks                | 0                             |
> NULL                   |
> > | TruncateDeletesSlowly             | 0                             |
> mythmaster.localdomain |
> > | HDRingbufferSize                  | 9400                          |
> NULL                   |
> > | StorageScheduler                  | BalancedFreeSpace             |
> NULL                   |
> > | UPnP/WMPSource                    | 0                             |
> NULL                   |
> > | DisableAutomaticBackup            | 0                             |
> NULL                   |
> > | DisableFirewireReset              | 0                             |
> mythmaster.localdomain |
> > | EITTransportTimeout               | 5                             |
> NULL                   |
> > | EITCrawIdleStart                  | 60                            |
> NULL                   |
>
>
> > -----------------------
>
> > I don't see anywhere during mythtv-setup or on frontend setup
> > either where the IP is not given that would say 0.0.0.0
>
>
> > Personally I think this is what is causing it - but can't seem to figure
> out where to look for it.
>
>
>
>
> > Also check the log to find out which config.xml is being used. It
> > can exist in like three different places, but only one is actually
> > used. One on of my systems it's in /etc/mythtv and on another it's in
> /home/[username]/.mythtv
>
>
>
> > the /var/log/messages say it's using
>
>
> > ---------------------
> > Jul 30 11:16:50 mythmaster systemd: Started MythTV backend service.
> > Jul 30 11:16:50 mythmaster systemd: Starting MythTV backend service...
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.924896
> > C  mythbackend version: fixes/0.28 [v28.0-35-g812ec08] www.mythtv.org
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.924912
> > C  Qt version: compile: 5.6.1, runtime: 5.6.1
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.924914 N
>  Enabled verbose msgs:  general
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.924968 N
>  Setting Log Level to LOG_INFO
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.935825 I
>  Added logging to the console
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936057 I
>  Setup Interrupt handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936061 I
>  Setup Terminated handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936064
> > I  Setup Segmentation fault handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936066 I
>  Setup Aborted handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936069 I
>  Setup Bus error handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936073
> > I  Setup Floating point exception handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936075
> > I  Setup Illegal instruction handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936081
> > I  Setup Real-time signal 0 handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936084 I
>  Setup Hangup handler
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936107 N
>  Read conf dir = /etc/mythtv
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936131 N
>  Using runtime prefix = /usr
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936132
> > N  Using configuration directory = /etc/mythtv
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936175
> > I  Assumed character encoding: en_US.UTF-8
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936412 N
>  Empty LocalHostName.
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.936417
> > I  Using localhost value of mythmaster.localdomain
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.943621
> > N  Setting QT default locale to en_US
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.943628 I
>  Current locale en_US
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.943653
> > N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.947643
> > I  Loading en_us translation for module mythfrontend
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.953134
> > I  Current MythTV Schema Version (DBSchemaVer): 1344
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.953377
> > I  Loading en_us translation for module mythfrontend
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.954626
> > N  MythBackend: Starting up as the master server.
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.955318
> > W  MythBackend: No valid capture cards are defined in the database.
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:50.955618
> > E  Scheduler: No capture cards are defined in the database.
> > Jul 30 11:16:51 mythmaster mythbackend: Perhaps you should re-read the
> installation instructions?
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:51.036408
> > I  Added logging to
> > /var/log/mythtv/mythbackend.20170730161650.25258.log
> > Jul 30 11:16:51 mythmaster mythbackend: 2017-07-30 11:16:51.128501
> > I  Removed logging to
> > /var/log/mythtv/mythbackend.20170730161650.25258.log
> > Jul 30 11:16:51 mythmaster systemd: mythbackend.service: main
> > process exited, code=exited, status=1/FAILURE
> > Jul 30 11:16:51 mythmaster systemd: Unit mythbackend.service entered
> failed state.
> > Jul 30 11:16:51 mythmaster systemd: mythbackend.service failed.
>
>
> > ----------------------
>
>
>
> > Not sure what seems to be causing it.
>
>
> Try adding your ip-address/hostname to /etc/hosts.
>
> You probably there have:
>
> 127.0.0.1    localhost
> ::1          localhost
>
> Try adding:
>
> 172.16.10.188      mythmaster       mythmaster.localdomain
>

Added this - failed again.



>
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
>

Basically - mythbackend as a service is working when I reboot the server.
But after that - any changes in setup breaks it. Restarting doesn't help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170731/ae0c3077/attachment.html>


More information about the mythtv-users mailing list