[mythtv-users] ATRPMs upgrade issue.
Shawn Flynn
sflynn1 at rogers.com
Mon Feb 25 20:12:55 UTC 2008
>Roy Lofthouse schreef op 25-2-2008 14:03:
>> On 25/02/2008, Jos Hoekstra <joshoekstra at gmx.net> wrote:
>>> Roy Lofthouse schreef op 25-2-2008 12:31:
>>>
>>>> On 25/02/2008, Jos Hoekstra <joshoekstra at gmx.net> wrote:
>>> >> Roy Lofthouse schreef op 25-2-2008 11:51:
>>> >>
>>> >>> Just updated my backend to the latest ATRPM's version and now I
can't
>>> >> > start the backend.
>>> >> >
>>> >> > I keep getting the following error:
>>> >> >
>>> >> > /Mythtv/Recordings/nfslockfile.lock: Permission denied
>>> >> >
>>> >> > I've not changed any permissions and I've had to set the
permissions
>>> >> > on the recordings directory so the mythtv group has write access.
>>> >> >
>>> >> > Has the user changed in the startup scripts at some point?
>>> >>
>>> >>
>>> >> Same here, since the version 0.20.2-174.fc8 I upgraded to this
morning.
>>> >> Reverting tot 173 seems to have solved it.
>>> >>
>>> >> Regards,
>>> >>
>>> >>
>>> >> Jos Hoekstra
>>> >
>>> > Can you check your /etc/init.d/mythbackend file for the following
>>> > lines (on .173):
>>> >
>>> > # Does not work on Red Hat, do to to missing audio/video groups.
>>> > daemon --user mythtv $binary $OPTIONS
>>> > daemon $binary $OPTIONS
>>> >
>>> > what is your --user set to?
>>>
>>>
>>> At .173 it is:
>>>
>>>
>>> # Does not work on Red Hat, do to to missing audio/video groups.
>>>
>>> # cd $MYTHTV_HOME && daemon --user mythtv $binary $OPTIONS
>>> cd $MYTHTV_HOME && daemon $binary $OPTIONS
>>>
>>>
>>> So the user isn't set there...
>>> at .174 it is?
>>>
>>>
>> it may default to root if it's not set? Would explain the issue.
>
>Affirmative.
Commenting out the ' cd $MYTHTV_HOME && daemon --user mythtv $binary
$OPTIONS ' line worked for my master backend machine, but the slave backends
still could not connect to the master. My machines used to grab their mysql
settings from /.mythtv/mysql.txt but they now appear to be defaulting to
/var/lib/mythtv/.mythtv/mysql.txt
I had to edit the /etc/sysconfig/mythbackend file on each of my backends to
point $MYTHTV_HOME to the correct location for the mysql.txt file.
Shawn Flynn
More information about the mythtv-users
mailing list