Mailing List Archive

Frontend on another computer
I am trying to set up a mythfrontend on my PC but cannot connect to the
database.

I have run (on the backend)

mysql -u root -p mythconverg

grant all on mythconverg.* to mythtv@"192.168.10.%" identified by "mythtv";
flush privileges;

but when I run "mythfrontend"
it goes through the setup screens then goes back to my command screen.

should I use something like
grant all on mythconverg.* to robert@"192.168.10.%" identified by "robert";

or (because our MythTV box is set to log in as root)
grant all on mythconverg.* to root@"192.168.10.%" identified by "root";

Any ideas?

--
Regards, Robert

--------------------------------------------------------------
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
FishNet Computer & Electrical Services
www.fisher.net.nz
Phone: 03 383 5807
Mobile: 027 477 3356


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
>I am trying to set up a mythfrontend on my PC but cannot connect to the
>database.
>
>I have run (on the backend)
>
>mysql -u root -p mythconverg
>
>grant all on mythconverg.* to mythtv@"192.168.10.%" identified by "mythtv";
>flush privileges;
>
>but when I run "mythfrontend"
>it goes through the setup screens then goes back to my command screen.
>
>should I use something like
>grant all on mythconverg.* to robert@"192.168.10.%" identified by "robert";
>
>or (because our MythTV box is set to log in as root)
>grant all on mythconverg.* to root@"192.168.10.%" identified by "root";
>
>Any ideas?
>
>--
>Regards, Robert
>

Is there a firewall running on the mysql box? Port 3306 needs to be
open if it is.

What happens if you try "mysql -h hostipaddress -u username -p
mythconverg" from the new frontend?

- Wade

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 4:52 pm, Wade Maxfield wrote:
> >I am trying to set up a mythfrontend on my PC but cannot connect to the
> >database.
> >
> >I have run (on the backend)
> >
> >mysql -u root -p mythconverg
> >
> >grant all on mythconverg.* to mythtv@"192.168.10.%" identified by
> > "mythtv"; flush privileges;
> >
> >but when I run "mythfrontend"
> >it goes through the setup screens then goes back to my command screen.
> >
> >should I use something like
> >grant all on mythconverg.* to robert@"192.168.10.%" identified by
> > "robert";
> >
> >or (because our MythTV box is set to log in as root)
> >grant all on mythconverg.* to root@"192.168.10.%" identified by "root";
> >
> >Any ideas?
> >
> >--
> >Regards, Robert
>
> Is there a firewall running on the mysql box? Port 3306 needs to be
> open if it is.

No, there is no firewall running.
>
> What happens if you try "mysql -h hostipaddress -u username -p
> mythconverg" from the new frontend?

mysql -h 192.168.10.27 -u root -p
gives
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.27' (111)

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
>On Thu, 12 Jan 2006 4:52 pm, Wade Maxfield wrote:
>> >I am trying to set up a mythfrontend on my PC but cannot connect to the
>> >database.
>> >
>> >I have run (on the backend)
>> >
>> >mysql -u root -p mythconverg
>> >
>> >grant all on mythconverg.* to mythtv@"192.168.10.%" identified by
>> > "mythtv"; flush privileges;
>> >
>> >but when I run "mythfrontend"
>> >it goes through the setup screens then goes back to my command screen.
>> >
>> >should I use something like
>> >grant all on mythconverg.* to robert@"192.168.10.%" identified by
>> > "robert";
>> >
>> >or (because our MythTV box is set to log in as root)
>> >grant all on mythconverg.* to root@"192.168.10.%" identified by "root";
>> >
>> >Any ideas?
>> >
>> >--
>> >Regards, Robert
>>
>> Is there a firewall running on the mysql box? Port 3306 needs to be
>> open if it is.
>
>No, there is no firewall running.
>>
>> What happens if you try "mysql -h hostipaddress -u username -p
>> mythconverg" from the new frontend?
>
>mysql -h 192.168.10.27 -u root -p
>gives
>ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.27' (111)
>

That looks similar to the error I get when I try to connect to a
machine that has no MySQL running on it.

What's the IP address of the backend? And what's the IP address of
the new frontend?

- Wade

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 5:10 pm, Wade Maxfield wrote:
> >On Thu, 12 Jan 2006 4:52 pm, Wade Maxfield wrote:
> >> >I am trying to set up a mythfrontend on my PC but cannot connect to
> >> > the database.
> >> >
> >> >I have run (on the backend)
> >> >
> >> >mysql -u root -p mythconverg
> >> >
> >> >grant all on mythconverg.* to mythtv@"192.168.10.%" identified by
> >> > "mythtv"; flush privileges;
> >> >
> >> >but when I run "mythfrontend"
> >> >it goes through the setup screens then goes back to my command screen.
> >> >
> >> >should I use something like
> >> >grant all on mythconverg.* to robert@"192.168.10.%" identified by
> >> > "robert";
> >> >
> >> >or (because our MythTV box is set to log in as root)
> >> >grant all on mythconverg.* to root@"192.168.10.%" identified by
> >> > "root";
> >> >
> >> >Any ideas?
> >> >
> >> >--
> >> >Regards, Robert
> >>
> >> Is there a firewall running on the mysql box? Port 3306 needs to be
> >> open if it is.
> >
> >No, there is no firewall running.
> >
> >> What happens if you try "mysql -h hostipaddress -u username -p
> >> mythconverg" from the new frontend?
> >
> >mysql -h 192.168.10.27 -u root -p
> >gives
> >ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.27' (111)
>
> That looks similar to the error I get when I try to connect to a
> machine that has no MySQL running on it.

It must be running though as the frontend works on that machine.
>
> What's the IP address of the backend?
192.168.10.27
> And what's the IP address of
> the new frontend?
192.168.10.3
>

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
Have you got bind-address set properly in /etc/mysql/my.cnf? If that's
set to localhost you won't be able to connect from any other machine.

Steve

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 5:22 pm, Steve Hodge wrote:
> Have you got bind-address set properly in /etc/mysql/my.cnf? If that's
> set to localhost you won't be able to connect from any other machine.

Thanks, that now gets me in with:-

mysql -h 192.168.10.27 -u mythtv -p

Now to play more with the priveledges

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 5:22 pm, Steve Hodge wrote:
> Have you got bind-address set properly in /etc/mysql/my.cnf? If that's
> set to localhost you won't be able to connect from any other machine.
>
Well I can now get the MythTV GUI on my PC (from the MythTV machine)

I can do :-
robert@beast ~ $ mysql -h 192.168.10.27 -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.1.14-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

....but when I do mythfrontend I get:- (as stated, the GUI opens OK though)

robert@beast ~ $ mythfrontend
2006-01-12 18:04:06.418 New DB connection, total: 1
Total desktop width=1280, height=1024, numscreens=1
2006-01-12 18:04:06.428 Using screen 0, 1280x1024 at 0,0
2006-01-12 18:04:06.433 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
2006-01-12 18:04:06.433 Enabled verbose msgs : important general
2006-01-12 18:04:06.660 Switching to square mode (G.A.N.T.)
2006-01-12 18:04:07.099 Registering Internal as a media playback plugin.
2006-01-12 18:04:11.945 New DB connection, total: 2
2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543 (try 1 of
5)
Connection timed out.
You probably should modify the Master Server settings
in the setup program and set the proper IP address.
2006-01-12 18:04:12.781 Changing from None to None
2006-01-12 18:04:16.822 Connecting to backend server: 127.0.0.1:6543 (try 1 of
5)
Connection timed out.
You probably should modify the Master Server settings
in the setup program and set the proper IP address.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On 1/12/06, Robert Fisher <robert@fisher.net.nz> wrote:
> 2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543 (try 1 of
> 5)
> Connection timed out.
> You probably should modify the Master Server settings
> in the setup program and set the proper IP address.

This pretty much tells you - it's trying to connect to 127.0.0.1 (i.e.
the frontend machine). Go to setup->general in the frontend and change
the server address if it's incorrect.

Also make sure that in the mythsetup program, general page you've got
the master server address set correctly (so the mythtv backend binds
to the LAN address).

Steve

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
Have you enabled networking for mysql? You need to enable networking for
MySQL on the backend system. All this entails is commenting out a line that
reads 'skip-networking' in the /etc/mysql/my.cnf file on the backend system,
and restarting MySQL (/etc/init.d/mysql restart).



Nick


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 10/01/2006


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 6:24 pm, Steve Hodge wrote:
> On 1/12/06, Robert Fisher <robert@fisher.net.nz> wrote:
> > 2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543 (try
> > 1 of 5)
> > Connection timed out.
> > You probably should modify the Master Server settings
> > in the setup program and set the proper IP address.
>
> This pretty much tells you - it's trying to connect to 127.0.0.1 (i.e.
> the frontend machine). Go to setup->general in the frontend and change
> the server address if it's incorrect.

That is already correct.
>
> Also make sure that in the mythsetup program, general page you've got
> the master server address set correctly (so the mythtv backend binds
> to the LAN address).

Ah!
mythtv-setup
gives more options than the setup from the MythTV screen.
I now seem to be connected to the MySQL database but it does not play
anything.
I am close though I think.

Thanks.
Rob

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
RE: Frontend on another computer [ In reply to ]
Your problem is

2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543

You need to run mythtv-setup (on the backend) and change the Backend IP
address from 127.0.0.1 to 192.168.10.27

It's set up only to look at the local machine (which is fine if the frontend
is on the same machine as the backend).

-----Original Message-----
From: mythtvnz-admin@lists.linuxnut.co.nz
[mailto:mythtvnz-admin@lists.linuxnut.co.nz] On Behalf Of Robert Fisher
Sent: Thursday, 12 January 2006 6:08 p.m.
To: mythtvnz@lists.linuxnut.co.nz
Subject: Re: [mythtvnz] Frontend on another computer

On Thu, 12 Jan 2006 5:22 pm, Steve Hodge wrote:
> Have you got bind-address set properly in /etc/mysql/my.cnf? If that's
> set to localhost you won't be able to connect from any other machine.
>
Well I can now get the MythTV GUI on my PC (from the MythTV machine)

I can do :-
robert@beast ~ $ mysql -h 192.168.10.27 -u root -p Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.1.14-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

....but when I do mythfrontend I get:- (as stated, the GUI opens OK though)

robert@beast ~ $ mythfrontend
2006-01-12 18:04:06.418 New DB connection, total: 1 Total desktop
width=1280, height=1024, numscreens=1
2006-01-12 18:04:06.428 Using screen 0, 1280x1024 at 0,0
2006-01-12 18:04:06.433 mythfrontend version: 0.18.1.20050510-1
www.mythtv.org
2006-01-12 18:04:06.433 Enabled verbose msgs : important general
2006-01-12 18:04:06.660 Switching to square mode (G.A.N.T.)
2006-01-12 18:04:07.099 Registering Internal as a media playback plugin.
2006-01-12 18:04:11.945 New DB connection, total: 2
2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543 (try 1
of
5)
Connection timed out.
You probably should modify the Master Server settings in the setup program
and set the proper IP address.
2006-01-12 18:04:12.781 Changing from None to None
2006-01-12 18:04:16.822 Connecting to backend server: 127.0.0.1:6543 (try 1
of
5)
Connection timed out.
You probably should modify the Master Server settings in the setup program
and set the proper IP address.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 7:03 pm, Duncan Kennington wrote:
> Your problem is
>
> 2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543
>
> You need to run mythtv-setup (on the backend) and change the Backend IP
> address from 127.0.0.1 to 192.168.10.27
>
> It's set up only to look at the local machine (which is fine if the
> frontend is on the same machine as the backend).

Yes I have that sorted now but the next problem is that video does not play
and everything else seems extremely slow.
I get similar messages whatever I try......

robert@beast ~ $ mythfrontend
2006-01-12 19:17:00.727 New DB connection, total: 1
Total desktop width=1280, height=1024, numscreens=1
2006-01-12 19:17:00.735 Using screen 0, 1280x1024 at 0,0
2006-01-12 19:17:00.740 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
2006-01-12 19:17:00.740 Enabled verbose msgs : important general
2006-01-12 19:17:00.945 Switching to square mode (G.A.N.T.)
2006-01-12 19:17:01.387 Registering Internal as a media playback plugin.
2006-01-12 19:17:17.713 Connecting to backend server: 192.168.10.27:6543 (try
1 of 5)
2006-01-12 19:17:37.724 ReadStringList timeout (quick).
2006-01-12 19:17:37.725 Unexpected response to MYTH_PROTO_VERSION:
error querying master in ProgramList::FromScheduler
UIImageType::LoadImage() - Cannot find image: //.mythtv/channels/3.png
UIImageType::LoadImage() - Cannot find image: //.mythtv/channels/3.png
2006-01-12 19:17:38.147 Connecting to backend server: 192.168.10.27:6543 (try
1 of 5)
2006-01-12 19:17:58.156 ReadStringList timeout (quick).
2006-01-12 19:17:58.156 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:17:58.160 Connecting to backend server: 192.168.10.27:6543 (try
1 of 5)
2006-01-12 19:18:18.168 ReadStringList timeout (quick).
2006-01-12 19:18:18.168 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:18:18.172 Connecting to backend server: 192.168.10.27:6543 (try
1 of 5)
2006-01-12 19:18:38.179 ReadStringList timeout (quick).
2006-01-12 19:18:38.179 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:18:38.183 Connecting to backend server: 192.168.10.27:6543 (try
1 of 5)

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
RE: Frontend on another computer [ In reply to ]
This suggests you're running a different version of the frontend than you
have on the backend. If you have mythweb running, check the Backend Status
page - the title for this (at least used to before they overhauled mythweb
in the current SVN) show the backend version, it should be

0.18.1.20050510-1



-----Original Message-----
From: mythtvnz-admin@lists.linuxnut.co.nz
[mailto:mythtvnz-admin@lists.linuxnut.co.nz] On Behalf Of Robert Fisher
Sent: Thursday, 12 January 2006 7:22 p.m.
To: mythtvnz@lists.linuxnut.co.nz
Subject: Re: [mythtvnz] Frontend on another computer

On Thu, 12 Jan 2006 7:03 pm, Duncan Kennington wrote:
> Your problem is
>
> 2006-01-12 18:04:11.977 Connecting to backend server: 127.0.0.1:6543
>
> You need to run mythtv-setup (on the backend) and change the Backend
> IP address from 127.0.0.1 to 192.168.10.27
>
> It's set up only to look at the local machine (which is fine if the
> frontend is on the same machine as the backend).

Yes I have that sorted now but the next problem is that video does not play
and everything else seems extremely slow.
I get similar messages whatever I try......

robert@beast ~ $ mythfrontend
2006-01-12 19:17:00.727 New DB connection, total: 1 Total desktop
width=1280, height=1024, numscreens=1
2006-01-12 19:17:00.735 Using screen 0, 1280x1024 at 0,0
2006-01-12 19:17:00.740 mythfrontend version: 0.18.1.20050510-1
www.mythtv.org
2006-01-12 19:17:00.740 Enabled verbose msgs : important general
2006-01-12 19:17:00.945 Switching to square mode (G.A.N.T.)
2006-01-12 19:17:01.387 Registering Internal as a media playback plugin.
2006-01-12 19:17:17.713 Connecting to backend server: 192.168.10.27:6543
(try
1 of 5)
2006-01-12 19:17:37.724 ReadStringList timeout (quick).
2006-01-12 19:17:37.725 Unexpected response to MYTH_PROTO_VERSION:
error querying master in ProgramList::FromScheduler
UIImageType::LoadImage() - Cannot find image: //.mythtv/channels/3.png
UIImageType::LoadImage() - Cannot find image: //.mythtv/channels/3.png
2006-01-12 19:17:38.147 Connecting to backend server: 192.168.10.27:6543
(try
1 of 5)
2006-01-12 19:17:58.156 ReadStringList timeout (quick).
2006-01-12 19:17:58.156 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:17:58.160 Connecting to backend server: 192.168.10.27:6543
(try
1 of 5)
2006-01-12 19:18:18.168 ReadStringList timeout (quick).
2006-01-12 19:18:18.168 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:18:18.172 Connecting to backend server: 192.168.10.27:6543
(try
1 of 5)
2006-01-12 19:18:38.179 ReadStringList timeout (quick).
2006-01-12 19:18:38.179 Unexpected response to MYTH_PROTO_VERSION:
2006-01-12 19:18:38.183 Connecting to backend server: 192.168.10.27:6543
(try
1 of 5)

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 12 Jan 2006 7:27 pm, Duncan Kennington wrote:
> This suggests you're running a different version of the frontend than you
> have on the backend. If you have mythweb running, check the Backend
> Status page - the title for this (at least used to before they overhauled
> mythweb in the current SVN) show the backend version, it should be
>
> 0.18.1.20050510-1

No, actually after several hours of hair pulling and suspecting that I had
really stuffed things up (I was getting the same errors on my main MythTV
box) I found a post on the Gentoo Forums which got me going on the main
machine again.

Excerpt below.......

Apparently, MythTV likes to have both options for IP addresses set to the same
in the general setup, and it doesn't like to host a mythfrontend on the same
machine if you change the ip to an externally accessible one. Here's why I
figure this:

I originally had it setup as 127.0.0.1 for both IPs (master backend, and
backend IP)

Then, since I wanted to run a front end on my desktop machine upstairs, I had
to change the IP's to the externally accessible IPs (192.168.50.10).
When they are set this way, Myth Frontend on the machine running the backend
has trouble connecting to itself. However, if I changed the backend IP to
127.0.0.1 (the bottom option in the mythtv-setup menu), it timed out and
couldn't connect. On the other hand, if both IPs were 127.0.0.1, it seemed to
work.

--
Regards, Robert

--------------------------------------------------------------
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
FishNet Computer & Electrical Services
www.fisher.net.nz
Phone: 03 383 5807
Mobile: 027 477 3356


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
Check your settings table in the database -

SELECT * FROM settings WHERE value IN ('BackendServerIP', 'MasterServerIP')

BackendServerIP 192.168.0.90 frontend1
BackendServerIP 192.168.0.90 frontend2
MasterServerIP 192.168.0.90 NULL

The MasterServer IP is global - the hostname is NULL. Each Frontend should have
an entry corresponding to the backend (including the frontend running on the
backend).

Good luck!

Quoting Robert Fisher <robert@fisher.net.nz>:

> On Thu, 12 Jan 2006 7:27 pm, Duncan Kennington wrote:
> > This suggests you're running a different version of the frontend than
> you
> > have on the backend. If you have mythweb running, check the Backend
> > Status page - the title for this (at least used to before they
> overhauled
> > mythweb in the current SVN) show the backend version, it should be
> >
> > 0.18.1.20050510-1
>
> No, actually after several hours of hair pulling and suspecting that I
> had
> really stuffed things up (I was getting the same errors on my main
> MythTV
> box) I found a post on the Gentoo Forums which got me going on the main
>
> machine again.
>
> Excerpt below.......
>
> Apparently, MythTV likes to have both options for IP addresses set to
> the same
> in the general setup, and it doesn't like to host a mythfrontend on the
> same
> machine if you change the ip to an externally accessible one. Here's why
> I
> figure this:
>
> I originally had it setup as 127.0.0.1 for both IPs (master backend, and
>
> backend IP)
>
> Then, since I wanted to run a front end on my desktop machine upstairs,
> I had
> to change the IP's to the externally accessible IPs (192.168.50.10).
> When they are set this way, Myth Frontend on the machine running the
> backend
> has trouble connecting to itself. However, if I changed the backend IP
> to
> 127.0.0.1 (the bottom option in the mythtv-setup menu), it timed out and
>
> couldn't connect. On the other hand, if both IPs were 127.0.0.1, it
> seemed to
> work.
>
> --
> Regards, Robert
>
> --------------------------------------------------------------
> Robert Fisher
> (aka - Rob, Bob, Robbie, Robbo, Fish)
> FishNet Computer & Electrical Services
> www.fisher.net.nz
> Phone: 03 383 5807
> Mobile: 027 477 3356
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Fri, 13 Jan 2006 8:53 am, Duncan Kennington wrote:
> Check your settings table in the database -
>
> SELECT * FROM settings WHERE value IN ('BackendServerIP', 'MasterServerIP')
>
> BackendServerIP 192.168.0.90 frontend1
> BackendServerIP 192.168.0.90 frontend2
> MasterServerIP 192.168.0.90 NULL
>
> The MasterServer IP is global - the hostname is NULL. Each Frontend should
> have an entry corresponding to the backend (including the frontend running
> on the backend).
>
> Good luck!

Thanks.

At the moment mine looks like this.....


+-----------------+--------------+----------+
| value | data | hostname |
+-----------------+--------------+----------+
| BackendServerIP | 192.168.10.3 | beast |
| BackendServerIP | 127.0.0.1 | mythtv |
| MasterServerIP | 127.0.0.1 | NULL |
+-----------------+--------------+----------+

Should I change it to be..............


+-----------------+--------------+----------+
| value | data | hostname |
+-----------------+--------------+----------+
| BackendServerIP | 192.168.10.27 | mythtv |
| BackendServerIP | 192.168.10.3 | beast |
| MasterServerIP | 192.168.10.27 | NULL |
+-----------------+--------------+----------+

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On 1/15/06, Robert Fisher <robert@fisher.net.nz> wrote:
> Should I change it to be..............
>
> +-----------------+--------------+----------+
> | value | data | hostname |
> +-----------------+--------------+----------+
> | BackendServerIP | 192.168.10.27 | mythtv |
> | BackendServerIP | 192.168.10.3 | beast |
> | MasterServerIP | 192.168.10.27 | NULL |
> +-----------------+--------------+----------+

I think all three should be 192.168.10.27. I.e. frontends on both
mythtv and beast should point to the same server.

Steve

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
RE: Frontend on another computer [ In reply to ]
Correct - unless Robert has multiple backends, MasterServerIP =
BackendServerIP = 192.168.10.27.

This means that no matter where you are, the system knows that 192.168.10.27
is the backend.

-----Original Message-----
From: mythtvnz-admin@lists.linuxnut.co.nz
[mailto:mythtvnz-admin@lists.linuxnut.co.nz] On Behalf Of Steve Hodge
Sent: Sunday, 15 January 2006 6:07 p.m.
To: mythtvnz@lists.linuxnut.co.nz
Subject: Re: [mythtvnz] Frontend on another computer

On 1/15/06, Robert Fisher <robert@fisher.net.nz> wrote:
> Should I change it to be..............
>
> +-----------------+--------------+----------+
> | value | data | hostname |
> +-----------------+--------------+----------+
> | BackendServerIP | 192.168.10.27 | mythtv |
> | BackendServerIP | 192.168.10.3 | beast |
> | MasterServerIP | 192.168.10.27 | NULL |
> +-----------------+--------------+----------+

I think all three should be 192.168.10.27. I.e. frontends on both mythtv and
beast should point to the same server.

Steve

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Sun, 15 Jan 2006 7:43 pm, Duncan Kennington wrote:
> Correct - unless Robert has multiple backends, MasterServerIP =
> BackendServerIP = 192.168.10.27.
>
> This means that no matter where you are, the system knows that
> 192.168.10.27 is the backend.
>
> -----Original Message-----
> From: mythtvnz-admin@lists.linuxnut.co.nz
> [mailto:mythtvnz-admin@lists.linuxnut.co.nz] On Behalf Of Steve Hodge
> Sent: Sunday, 15 January 2006 6:07 p.m.
> To: mythtvnz@lists.linuxnut.co.nz
> Subject: Re: [mythtvnz] Frontend on another computer
>
> On 1/15/06, Robert Fisher <robert@fisher.net.nz> wrote:
> > Should I change it to be..............
> >
> > +-----------------+--------------+----------+
> >
> > | value | data | hostname |
> >
> > +-----------------+--------------+----------+
> >
> > | BackendServerIP | 192.168.10.27 | mythtv |
> > | BackendServerIP | 192.168.10.3 | beast |
> > | MasterServerIP | 192.168.10.27 | NULL |
> >
> > +-----------------+--------------+----------+
>
> I think all three should be 192.168.10.27. I.e. frontends on both mythtv
> and beast should point to the same server.
>
> Steve

Well you guys were both right.
The problem seemed to be that I had used, in mythsetup on beast, the IP
address of beast where it asked for it when it actually wanted the IP address
of the backend.

My problem now is that my on board sound card seems to cause delays/pauses and
according to most forum posters the fix is probably a better sound card.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Thu, 19 Jan 2006 22:27:26 +1300
Robert Fisher wrote:

>
> My problem now is that my on board sound card seems to cause delays/pauses and
> according to most forum posters the fix is probably a better sound card.


Don't rush out for a new sound card. Take a look at this post and see if any of the suggestions help.

http://www.gossamer-threads.com/lists/mythtv/users/137852

If you can stand the traffic volume, try joining the mthtv-user mailing
list and post some of those error messages. You can get the full logging
by starting mythfrontend with -v [option]

Get a list of the options with mythfrontend --help. You can also put
the log into a file for further searching/grepping/cut&pasting etc.


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Frontend on another computer [ In reply to ]
On Fri, 20 Jan 2006 12:07 pm, Nick Rout wrote:
> On Thu, 19 Jan 2006 22:27:26 +1300
>
> Robert Fisher wrote:
> > My problem now is that my on board sound card seems to cause
> > delays/pauses and according to most forum posters the fix is probably a
> > better sound card.
>
> Don't rush out for a new sound card. Take a look at this post and see if
> any of the suggestions help.

None of those tips worked for me.
>
> http://www.gossamer-threads.com/lists/mythtv/users/137852

I have read so many posts this afternoon that I am ready to give up for a
while now.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/