[mythtvnz] Mythbackend breaks after upgrade
Craig Blaikie
craig at gregor.co.nz
Mon May 24 11:55:37 BST 2010
On Mon, May 24, 2010 at 12:52 PM, Graeme Woollett <g.woollett at irl.cri.nz>
wrote:
> On 24/05/10 09:02, Solor Vox wrote:
>> I assume you've tried to verify that the user has a good $HOME set?
>> Running as that user, run "echo $HOME"
>>
>> If not, check that /etc/passwd has the correct directory and it's
>> permissions/ownership is valid for that user.
>>
>> sV
>>
> As mythtv - echo $HOME gives /home/mythtv logging in as mythtv and
> running mythbackend from the command prompt works fine, but starting
> it at boot up or using /etc/init.d/mythtv-backend fails.
>
> Thanks
>
>this is dealt with in the mythtvusers mailing list, search recent archives,
sorry I can't remember the subject >line of the thread or I would give you a
link...
>
>Something to do with backend being started by root, and looking in
/.mythtv/ rather than /root/.mythtv
Hi, suffered what seems to be the same problem during my upgrade to 0.23,
backend couldn't connect to the database when auto started from init.d, but
would work if run from root or normal logon user.
For me the fix was to modify the /etc/default/mythtv-backend file and add
--user $USER to the args statement.
i.e. ARGS="--user $USER --logfile /var/log/mythtv/mythbackend.log"
Full write up here anyway.
http://craigosaurous.blogspot.com/2010/05/myth-023-upgrade-woes.html
Hope it helps,
Craig
More information about the mythtvnz
mailing list