[mythtvnz] New Backend / Existing Frontends
Nick Rout
nick.rout at gmail.com
Thu Feb 11 00:00:37 GMT 2010
On Thu, Feb 11, 2010 at 12:36 PM, Tortise <tortise at paradise.net.nz> wrote:
> Replying to all posters, (thank you)
>
> I replaced the FE/BE box HDD with a new 1.5TB, so only thing new is the HDD and software. Rest is known working hardware.
>
> Running MCC from a FE shows the mySQL connection is failing to connect.
>
> Running
> sudo dpkg-reconfigure mythtv-database
> sudo dpkg-reconfigure mythtv-common (Replaced localhost with FE/BE IP)did not help.I'd earlier overwritten localhost in the
> General setup and that IP remained correct.running this gives:~$ sudo iptables -L[sudo] password for user:Chain INPUT (policy
> ACCEPT)target prot opt source destinationChain FORWARD (policy ACCEPT)target prot opt source
> destinationChain OUTPUT (policy ACCEPT)target prot opt source destinationI presume this means its running in a
> default config, I've never changed the mythbuntu settings for this and there is remote access to the machine, e.g. mythweb ssh and
> VNC.
>
> I've decided to just run the install up again as I think what I might have done worng was not check the allow other users to connect
> box when it asked me during the faulty install and it seems hard to fix that now. I think the fix might lie in the MySQL however
> that's not a good place for me to muck around.
>
> I do find the users a little confusing, as it seems, by default, there are two users, "mythtv" and your nominated logon say
> "mylogon". Remote FE seem to want to connect as mythtv however it seems one run the FE/BE as "mylogon"
You are confusing the mysql user name to log into the database
(mythtv) and the system user who runs mythfrontend (mylogon).
This is how mythbuntu is set up.
> It seems using
> tv_grab_nz-py that one needs to configure both /home/mythtv/.mythtv and also /home/mylogon/.mythtv to get universal access. Can
> anyone clarify this further? Would using "mythtv" as the logon be better?
I suggest you don't!! I don't know what will break in mythbuntu if you do so!
However you may have run into this bug, which I thought had been fixed
in later versions:
mythbuntu runs the backend as user mythtv and the frontend as the
user you create on installation (in my case 'nick'). When you set up
the grabber in mythtv-setup, it puts the config file in
/home/nick/.mythtv/Freeview.xmltv (where nick is the user and Freeview
is the video source name you allocated). The trouble is that the
backend running as mythtv does not look in nick's home directory, it
looks in its own, ending up with an error 512 (FAILED: xmltv returned
error code 512.) when mythfilldatabase is run.
I fixed it with a link, ie:
nick at media:~$ ls -l /home/mythtv/.mythtv/Freeview.xmltv
lrwxrwxrwx 1 mythtv root 33 2008-05-29 22:34
/home/mythtv/.mythtv/Freeview.xmltv ->
/home/nick/.mythtv/Freeview.xmltv
But as I say I thought this problem had been sorted a while ago.
> Perhaps there are good reasons not to do this?
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
More information about the mythtvnz
mailing list