MythTV complains it can't find the backend server

Asked by pyrix

Hi guys, im new to the whole linux though - i installed ubuntu 7.04 on my second computer the other day, and so far I'm very impressed. My second computer is a media centre, and using the standard applications it's doing everything the old MCE2005 system could do after i installed a whole bunch of third party stuff, which crippled my computer.

Anywho, the system is a Celeron D 2.8, with an ATI X1550XT, 512mb of ram, A Gigabyte GA-81945GMF mainboard, and a Leadtek DTV2000H HD tuner card.

Essentially, i installed mythtv, ran all the back end setup, but when i launch the frontend bit on the same machine it says it cant find the backend server. I checked the IP configurations, which i had initially left at default, and changed them to the address assigned my the dhcp. then i tried the computers name, jackson, localhost. No luck.

What am I doing wrong?

Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
laga (laga) said :
#1

In mythtv-setup, you need to enter two ip addresses. For a master backend, both IP addresses need to be set to the same value.

If you're using dhcp, it might be a good idea to statically assign an IP to the backend in your dhcp config.

Also, is it complaining that it can't find the backend or that it can't find the database?

Revision history for this message
pyrix (mokeeffe) said :
#2

The exact error message is this: Could not connect to the master backend server -- is it running? Is the IP address set for it in the setup program correct?

There doesn't appear to be a problem with the database, and while I have now assigned the computer a static DHCP, if that was the problem wouldn't it have worked when it was just localhost?

Thanks.

Revision history for this message
Simon Jenkinson (sjenks) said :
#3

Hi Pyrix

Its been a while since I setup MythTV but from memory I to installed everything but then had problems connecting to it both on localhost and remotely, I found the problem to be that I had to manually enter the server details and port details etc into inetd.conf ...

If you use inetd.conf add the following line to /etc/inetd.conf

mythwake stream tcp nowait mythtv /usr/sbin/tcpd /usr/local/bin/mythwake

Try

sudo /etc/init.d/mythtv-backend start
mythtv-frontend

Revision history for this message
laga (laga) said :
#4

Simon,

there's no file called /usr/local/bin/mythwake in any of the mythtv packages shipped in Ubuntu. It's most likely a custom script.

Anyways, I doubt that manually entering "the server details and port details etc into inetd.conf" will be of any benefit. MythTV does not care about inetd.conf in its default configuration.

pyrix,

> and while I have now assigned the computer a static DHCP, if that was the problem wouldn't it have worked when it was just localhost?

Yes, it should have worked. Please make sure that you do NOT have set LocalHostName= in any of the mysql.txt files available on your system. Use "locate mysql.txt" to find them. /home/mythtv/.mythtv/mysql.txt is of most interest, AFAIK.

Revision history for this message
pyrix (mokeeffe) said :
#5

Localhostname= is not present in any of the 5 mysql documents.

the only inetd.conf file on the computer is located in /etc/inetd.conf - near as i can tell it's blank and read only.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.