LinHES Forums http://forum.linhes.org/ |
|
Frontend Configuration Questions http://forum.linhes.org/viewtopic.php?f=17&t=12611 |
Page 1 of 1 |
Author: | strick1226 [ Thu Nov 16, 2006 3:12 pm ] |
Post subject: | Frontend Configuration Questions |
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 |
Author: | sanger440 [ Fri Nov 17, 2006 12:58 am ] |
Post subject: | |
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? |
Author: | strick1226 [ Fri Nov 17, 2006 3:52 am ] |
Post subject: | |
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! |
Author: | strick1226 [ Fri Nov 17, 2006 9:29 am ] |
Post subject: | |
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!!! ![]() |
Author: | ceenvee703 [ Fri Nov 17, 2006 10:12 am ] |
Post subject: | |
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. |
Author: | strick1226 [ Fri Nov 17, 2006 2:17 pm ] |
Post subject: | |
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!! |
Author: | ceenvee703 [ Fri Nov 17, 2006 4:45 pm ] |
Post subject: | |
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. |
Author: | strick1226 [ Sat Nov 25, 2006 2:18 pm ] |
Post subject: | |
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... ![]() |
Author: | ceenvee703 [ Sat Nov 25, 2006 3:10 pm ] |
Post subject: | |
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 |
Author: | strick1226 [ Sat Nov 25, 2006 4:57 pm ] |
Post subject: | |
Thanks for the tips and link, ceenvee703! Going to run through this tomorrow and will report back. You've given me hope! ![]() |
Author: | steve909 [ Sun Nov 26, 2006 9:04 am ] |
Post subject: | |
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!) |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |