[mythtv-users] mythbackend keeps crashing

Gabe Rubin gaberubin at gmail.com
Mon Mar 10 05:18:58 UTC 2014


On Sun, Mar 9, 2014 at 2:00 PM, Bill Meek <keemllib at gmail.com> wrote:

> On 03/09/2014 03:45 PM, Gabe Rubin wrote:
>
>> On Sun, Mar 9, 2014 at 1:03 PM, Karl Dietz <dekarl at spaetfruehstuecken.org
>> >wrote:
>>
>>  On 09.03.2014 20:36, Gabe Rubin wrote:
>>>
>>
> ...
>
>
>> Thanks.  I have two config.xml files.  One is in /home/mythtv/.mythtv and
>> the other is in /etc/mythtv
>>
>
> ...
>
>  Still having mythbackend crash:
>>
> ...
>
> The following says /etc/mythtv is the configuration directory being
> used:
>
>
>  2014-03-09 13:40:46.242326 N [4215/4215] thread_unknown mythdirs.cpp:61
>> (InitializeMythDirs) - Read conf dir = /etc/mythtv
>>
>
> ...
>


> A backend is known as a Slave Backend if the Local and Master IP addresses
> in mythtv-setup are not the same:


I fixed that by making sure they both had the same IP address (a static
address within the LAN my router assigns to it)



>
>
>  (run_backend) - MythBackend: Running as a slave backend.
>> 2014-03-09 13:40:46.292247 W [4215/4215] CoreContext main_helpers.cpp:214
>> (setupTVs) - MythBackend: No valid capture cards are defined in the
>> database.
>>
> ...


This was a separate issue I resolved


>
>  2014-03-09 13:41:17.334251 I [4215/4278] ProcessRequest
>> mainserver.cpp:1472
>> (HandleAnnounce) - adding: Mythbox as a slave backend server
>>
>

>
> These lines say that /etc/mythtv isn't writable by user mythtv:



I changed it with chmod -R 777 /etc/mythtv/,


>
>
>  2014-03-09 13:41:17.337791 I [4215/4283] ProcessRequest
>> mainserver.cpp:1422
>> (HandleAnnounce) - adding: Mythbox as a client (events: 1)
>> 2014-03-09 13:41:17.615003 E [4215/4283] ProcessRequest
>> storagegroup.cpp:85
>> (StaticInit) - SG() Error: Could not create builtinStorage Group directory
>> '/etc/mythtv/3rdParty' for '3rdParty'
>> 2014-03-09 13:41:17.615021 E [4215/4283] ProcessRequest
>> storagegroup.cpp:85
>> (StaticInit) - SG() Error: Could not create builtinStorage Group directory
>> '/etc/mythtv/channels' for 'ChannelIcons'
>> 2014-03-09 13:41:17.615035 E [4215/4283] ProcessRequest
>> storagegroup.cpp:85
>> (StaticInit) - SG() Error: Could not create builtinStorage Group directory
>> '/etc/mythtv/tmp/hls' for 'Streaming'
>> 2014-03-09 13:41:17.615058 E [4215/4283] ProcessRequest
>> storagegroup.cpp:85
>> (StaticInit) - SG() Error: Could not create builtinStorage Group directory
>> '/etc/mythtv/tmp' for 'Temp'
>> 2014-03-09 13:41:17.615075 E [4215/4283] ProcessRequest
>> storagegroup.cpp:85
>> (StaticInit) - SG() Error: Could not create builtinStorage Group directory
>> '/etc/mythtv/themes' for 'Themes'
>>
>
> --




A combination of correcting the IP addresses so it did not run as a slave
backend and making the /etc/mythtv/ directory writable by mythtv seemed to
fix the issue.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140309/acfd275e/attachment.html>


More information about the mythtv-users mailing list