[mythtv-users] mythbackend startup problems
edward at copyweb.co.uk
Fri Feb 8 18:12:03 UTC 2008
aah that was it, sorted, thanks.
Turns out that the version of mysql.txt in /etc/mythtv/ was quite
different to the one in ~/.mythtv/ So I copied it over, and now it
works - but only after chowning the file nfslockfile.lock in the media
folder, which is owned by the last user to run the backend.
> Make sure that all your mysql.txt files have the correct user/pass and
> hostname for SQL.
> There should be one in /root/.mythtv/mysql.txt that you might not have
> And more than likely there will be one that was created by the init.d
> If it works like gentoo does this one is based off the folder that your
> conf.d config file tells your system to store your PID. And again, if it
> works like gentoo, this is deleted every time you reboot. Workaround for
> gentoo is to pick a folder other than a /var/run folder to store the PID
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Edward Barrow
> Sent: Friday, February 08, 2008 4:09 AM
> To: Discussion about mythtv
> Subject: [mythtv-users] mythbackend startup problems
> Running mythtv on a Debian lenny/sid system.
> From a console as a regular user edward, mythbackend starts fine.
> From a console as root, it fails.
> The startup script in /etc/init.d also fails, for the same reason, which
> is "MySQL access denied for user mythtv at localhost using password: Yes"
> MySQL is configured to give all privileges on mythconverg to user mythtv
> from localhost.
More information about the mythtv-users