View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 16, 2006 3:12 pm 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
Hi, Everyone,

I tried following the instructions posted at the KM Wiki here:

http://knoppmythwiki.org/index.php?page=FrontendOnlyInstall

...but I still can't get a new frontend to connect to my backend box.

I did not perform the db update items listed at the bottom, as I have no clue just what that will do the local database... would a Backup from the main menu completely back up my MySQL db in case running those instructions damages something?

So far, I've:

1) Changed the frontend's "Master Server IP" setting from the setup menu to the IP of the BE.
2) Remmed out the "skip-networking" comment in the BE's /etc/mysql/my.cnf file .
3) On the FE: changed the /usr/share/mythtv/mysql.txt "DBHostname" from "localhost" to the IP of the BE.

Is there anything else I'm missing here?

Here is some of the output from the FE, /home/mythtv/.xsession-errors :
(why is it still referring to localhost?)

2006-11-16 16:00:20.885 Connecting to backend server: localhost:6543 (try 1 of 5)
2006-11-16 16:00:20.886 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2006-11-16 16:00:21.903 TV: Attempting to change from None to None
2006-11-16 16:00:37.116 Connecting to backend server: localhost:6543 (try 1 of 5)
2006-11-16 16:00:37.117 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2006-11-16 16:00:37.321 Connecting to backend server: localhost:6543 (try 1 of 5)
2006-11-16 16:00:37.322 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
root@mythfe1:/home/mythtv#


Thanks in advance for any insight. I'd love to get this up and running for the week-end.


strick1226

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 12:58 am 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
Quote:
Change both instances of IP numbers from the loopback address (127.0.0.1) to the actual IP number of the backend. If you are setting this up after you have had a working backend system, remember to restart mythbackend (/etc/init.d/mythtv-backend restart)


Did you make the changes above on the BE as per the instructions?

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 3:52 am 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
Yes, I changed both of those in the menus and rebooted. I've checked and re-checked, but I can't figure out what might be wrong.

Do I need to apply the MySQL fix for remote access as discussed at the end of the Wiki entry? This is R5D1, so I wasn't sure if it was needed...

Thanks!

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 9:29 am 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
The changes I made to the IP address references were on the graphical menus in KnoppMyth - General Setup while the BE was running. I think I might have changed similar settings in the mythtv-setup program's options there as well on the BE.

Is there a text file I have to modify on the BE as well, or should this cover it?

I never could get the frontend option of the R5D1 CD to work, so that's why I went with the Wiki entry's info.

So close!!! :(

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 10:12 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
strick1226 wrote:
I think I might have changed similar settings in the mythtv-setup program's options there as well on the BE.(


You need to start up mythtv-setup and double-check that you indeed changed the loopback address to the actual IP number of the backend. As the wiki instructions state, this needs to be done in mythtv-setup, not in the MythTV frontend while the backend is running.

I think you need to stop the backend before running mythtv-setup, which isn't spelled out in the wiki article.

I think the fact that you couldn't get the remote frontend to work via booting from CD indicates that your backend isn't set up properly to talk to frontends.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 2:17 pm 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
Hi, ceenvee703,

I've checked the settings on the BE. Here's what I did:

1) /etc/init.d/mythtv-backend stop
2) mythtv-setup -> General, page 1
3) verified master server IP address and the local machine's IP both were set to the IP of the BE (in my case, 192.168.1.160)
4) saved settings
5) rebooted

Still can't connect from the frontend. Have you had a successful backed/frontend setup working?

The original database is from R5A22, which has been upgraded to R5A30.2, then R5D1, if I remember correctly. I wasn't sure if I needed to apply those changes listed at the bottom of the Wiki article to enable access to the mythconverg database from external machines?

Thanks for the assistance. I really appreciate it!!

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 4:45 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
strick1226 wrote:
I wasn't sure if I needed to apply those changes listed at the bottom of the Wiki article to enable access to the mythconverg database from external machines?


It's worth a try, particularly since it's been upgraded from A22... the problem data may have carried through your upgrades. Report back and let us know.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 2:18 pm 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
OK...

I performed a KnoppyMyth backup, then...

I applied the mysql changes as defined by the above-referenced Wiki page. The first one changed one table, the second did nothing.

I still receive "can't connect to master" errors from the frontend box.

Is this just not possible? Do I need to reinstall a KM R5D1 box from scratch, and manually copy over the database? Something's not working, and it's driving me nuts.

I have all three PVR-150's working fine in the backend now, but I'd really like to have a functional frontend as well... :(

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 3:10 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
strick1226 wrote:
Is this just not possible?


It's definitely possible, I have a remote frontend running and if I can do it, believe me, anyone can. :)

I'm still pretty sure that if you can't get a remote frontend working when using the frontend option from the KnoppMythCD, that something is misconfigured on the backend. There might be a hosts issue on the backend that could be messing things up. Have you upgraded your backend or did you start out with R5D1?

Hm, here's a thread I found that has things that you might be able to try... it could depend on the hostname you selected for your backend.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=6618

Note that changing hostnames during an upgrade is easy to do and screws things up badly:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=8048
http://mysettopbox.tv/phpBB2/viewtopic.php?t=11040


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 4:57 pm 
Offline
Joined: Thu Dec 15, 2005 12:20 pm
Posts: 102
Thanks for the tips and link, ceenvee703! Going to run through this tomorrow and will report back.

You've given me hope! :)

_________________
R5.5
p4/3.0 GHz
2GB PC3200
Abit IC7-G
3x Seagate 7200.10 SATA (raid1 /, raid5 /myth)
eVGA FX-5500 AGP
3x PVR-150 (model 1045)
MCEUSB2 remote w/Philips USB transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 9:04 am 
Offline
Joined: Tue Sep 05, 2006 7:42 am
Posts: 19
Location: UK London
Don't know if you've covered this, but do remember that if you change the IP address and use anything but the localhost name, you have to change the hostname in utilies>settings>general (from memory) to the IP address of the frontend, even if its the same as the backend in this case, and then edit /etc/mysql/my.cnf to place a # in front of the line "skip networking" so that addresses outside of localhost are connected to.
The frontend and backend on the same machine (with a network IP address) won't talk to each other unless you do this.
Hope this helps.
ps If you make any changes, I would reboot rather than /etc/init.d/mysql (start/stop/restart). Then you know it's permanent, and it's effective. (for a while, anyway!)

_________________
P4 2.8Ghz
512Mb
R5F1
PVR350, S-Video in from SKY STB
Tuner not used
nvidia MX4000, S-Video to TV


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu