[mythtv-users] mythbackend keeps crashing

Karl Dietz dekarl at spaetfruehstuecken.org
Sun Mar 9 20:03:35 UTC 2014


On 09.03.2014 20:36, Gabe Rubin wrote:
> I am in the process of replacing a bad system drive.  Fortunately, I was
> able to recover my database backups and have most of the system restored.
>
> However, mythbackend keeps crashing.  This is what I see in my logs and
> google is not yielding any helpful results.  I was hoping someone could
> help:

It appears as if you lost your config.xml that your packager put into 
/etc/mythtv. Either give the mythtv user write access there then 
mythtv-setup can replace the broken config.xml file. Or you can also 
manually put a file with good values (like the connection to the 
database) there.

> (InitializeMythDirs) - Read conf dir = /etc/mythtv
> 2014-03-09 12:31:01.218392 N [1643/1643] thread_unknown mythdirs.cpp:68
> (InitializeMythDirs) - Using configuration directory = /etc/mythtv

> 2014-03-09 12:31:01.219347 E [1643/1643] CoreContext
> configuration.cpp:67 (Load) - Error parsing: /etc/mythtv/config.xml at
> line: 1  column: 1

> 2014-03-09 12:31:01.244786 E [1643/1643] CoreContext
> configuration.cpp:117 (Save) - Could not open settings file
> /etc/mythtv/config.xml.new for writing

> 2014-03-09 12:31:01.261787 E [1643/1651] MythSocketThread(-1)
> mythsocket.cpp:661 (ConnectToHostReal) - MythSocket(1c7d7a0:-1): Failed
> to connect to (127.0.0.1:6543 <http://127.0.0.1:6543>) Connection refused
> 2014-03-09 12:31:01.262909 N [1643/1643] CoreContext
> main_helpers.cpp:586 (run_backend) - MythBackend: Running as a slave
> backend.
> 2014-03-09 12:31:01.263131 W [1643/1643] CoreContext
> main_helpers.cpp:214 (setupTVs) - MythBackend: No valid capture cards
> are defined in the database.

The backend isn't finding any configuration.

Regards,
Karl


More information about the mythtv-users mailing list