I came across this one... It has to do with $HOME not being defined.
My fix was to put at the start of the script:

HOME=/home/mythtv

and then it all started working. Nasty gotcha

Andrew



On 15/12/05, Adam Egger <[EMAIL PROTECTED]> wrote:
> On 12/13/05, Marius Schrecker <[EMAIL PROTECTED]> wrote:
>
> > Thanks everyone who answered this. My backend now starts as I want it.
>
> So what is actually the solution for this "Failed to init
> MythContext"? There are very often people asking why the init script
> doesn't start for them on debian with the default init script from
> Matt Zimmerman:
>
> 2005-12-15 09:07:39.327 Using runtime prefix = /usr
> 2005-12-15 09:07:39.646 Unable to read configuration file mysql.txt
> 2005-12-15 09:07:39.745 Trying to create a basic mysql.txt file
> 2005-12-15 09:07:39.824 Could not create //.mythtv
> 2005-12-15 09:07:39.939 Failed to init MythContext, exiting.
>
> Adam
> _______________________________________________
> mythtv-users mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to