[mythtv-users] Brand new install - Mythbackend doesn't start
Mark Perkins
perkins1724 at hotmail.com
Wed Aug 2 04:10:13 UTC 2017
On 2 August 2017 1:17:13 pm Ashu Desai <ashu.desai at gmail.com> wrote:
> On Tue, Aug 1, 2017 at 8:45 PM, Hika van den Hoven <hikavdh at gmail.com>
> wrote:
>
>> Did you check on mysql/mariadb responding to the external ip (check
>> the wiki on how to do this.
>>
>> The frontend/backend are on the same box - and there isn't any external
> IP. i am testing everything all from home network.
> Here's what I did find though:
>
> ---------------
> Aug 1 22:27:32 mythmaster systemd: Started MythTV backend service.
> Aug 1 22:27:32 mythmaster systemd: Starting MythTV backend service...
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.824647 C
> mythbackend version: fixes/0.28 [v28.0-35-g812ec08] www.mythtv.org<http://www.mythtv.org>
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.824669 C Qt
> version: compile: 5.6.1, runtime: 5.6.1
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.824671 N
> Enabled verbose msgs: general
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.824938 N
> Setting Log Level to LOG_INFO
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.837289 I Added
> logging to the console
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838125 I Setup
> Interrupt handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838131 I Setup
> Terminated handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838136 I Setup
> Segmentation fault handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838138 I Setup
> Aborted handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838142 I Setup
> Bus error handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838150 I Setup
> Floating point exception handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838152 I Setup
> Illegal instruction handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838160 I Setup
> Real-time signal 0 handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838165 I Setup
> Hangup handler
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838198 N Read
> conf dir = /etc/mythtv
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838229 N Using
> runtime prefix = /usr
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838231 N Using
> configuration directory = /etc/mythtv
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838288 I
> Assumed character encoding: en_US.UTF-8
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838604 E Error
> parsing: /etc/mythtv/config.xml at line: 1 column: 1
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838607 E Error
> Msg: unexpected end of file
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838666 E
> DBHostName is not set in config.xml
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838674 E
> DBHostName is not set in config.xml
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838687 N Empty
> LocalHostName.
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.838693 I Using
> localhost value of mythmaster.localdomain
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.848276 N
> Setting QT default locale to en_US
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.848287 I
> Current locale en_US
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.848497 N
> Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.852404 I
> Loading en_us translation for module mythfrontend
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.858057 I
> Current MythTV Schema Version (DBSchemaVer): 1344
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.858296 I
> Loading en_us translation for module mythfrontend
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.860040 N
> MythBackend: Starting up as the master server.
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.860795 W
> MythBackend: No valid capture cards are defined in the database.
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.861100 E
> Scheduler: No capture cards are defined in the database.
> Aug 1 22:27:32 mythmaster mythbackend: Perhaps you should re-read the
> installation instructions?
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.861186 E Error
> parsing: /etc/mythtv/config.xml at line: 1 column: 1
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.861188 E Error
> Msg: unexpected end of file
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.940295 I Added
> logging to /var/log/mythtv/mythbackend.20170802032732.23638.log
> Aug 1 22:27:32 mythmaster mythbackend: 2017-08-01 22:27:32.945104 I
> Removed logging to /var/log/mythtv/mythbackend.20170802032732.23638.log
> Aug 1 22:27:32 mythmaster systemd: mythbackend.service: main process
> exited, code=exited, status=1/FAILURE
> Aug 1 22:27:32 mythmaster systemd: Unit mythbackend.service entered failed
> state.
> Aug 1 22:27:32 mythmaster systemd: mythbackend.service failed.
>
> --------------
>
> I am running this as root - so i thought the dir should show /root/.mythtv/
> Looking at the dir, there is no "config.xml" under /etc/mythtv
>
> Maybe because I never ran this as anything but root?
>
>
> [root at mythmaster ~]# ls -ahl /etc/mythtv/
> total 32K
> drwxr-xr-x. 6 mythtv mythtv 4.0K Aug 1 22:27 .
> drwxr-xr-x. 140 root root 12K Aug 1 22:23 ..
> drwxr-xr-x. 2 mythtv mythtv 4.0K Aug 1 20:00 3rdParty
> drwxr-xr-x. 2 mythtv mythtv 4.0K Aug 1 20:00 channels
> -rw-r--r--. 1 mythtv mythtv 0 Aug 1 22:27 config.xml
> drwxr-xr-x. 2 mythtv mythtv 4.0K Aug 1 20:00 themes
> drwxr-xr-x. 3 mythtv mythtv 4.0K Aug 1 20:00 tmp
>
> I looked into the config file - it was empty. So i created a link (ln -s)
> from /root/.mythtv/config.xml to /etc/mythtv
>
> That didn't work either.
>
>
>> Also, try to bottom post, this to keep the thread readable for future
>> readers. Check the etiquettes.
>>
>>
> Apologies.
>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
>
>
> ----------
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Are you sure the BE is running as root? Are you using systemd? What is in your service file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170802/79022b1f/attachment.html>
More information about the mythtv-users
mailing list