View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 19, 2007 3:18 pm 
Offline
Joined: Mon Oct 09, 2006 11:11 pm
Posts: 32
I've changed the IP on my knoppmyth server box to a static IP from a dynamic IP. Now mythtv-setup, mythbackend, and mythfilldatabase (and I'm sure others) seem to be looking at the old IP for a mysql server.

This is causing big problems. I thought I'd be able to fix it in mythtv-setup, but that program will not start correctly, as it is still looking at the old address for the mysql data it needs.

*UPDATE*

This seems to only be a problem when I am logged into the box as root. The user 'mythtv' seems to have the settings correct. I looked for /home/root/.mythtv/mysql.txt, but /home/root does not exist. Where would this information be for root?


Last edited by skypilot on Mon Feb 19, 2007 4:48 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 3:56 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Hint, hint. Sounds like mysql may not be running for whatever reason...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:32 pm 
Offline
Joined: Mon Oct 09, 2006 11:11 pm
Posts: 32
Mysql is running, but when mythtv-setup and the other programs are looking for it at the old IP address, they don't know that.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:40 pm 
Offline
Joined: Mon May 29, 2006 2:16 pm
Posts: 52
Location: Lincoln, Nebraska
Try looking in

/home/mythtv/.mythtv/mysql.txt

_________________
Wouldn't it be really cool if Harley-Davidson made computers too?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:43 pm 
Offline
Joined: Mon Oct 09, 2006 11:11 pm
Posts: 32
[quote="Dak48"]Try looking in

/home/mythtv/.mythtv/mysql.txt[/quote]

No go.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:56 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
I changed my IP for SCALE last weekend and all I had to do was change the IP under General in mythtv-setup and restart the backend. From my experience, if something won't communicate w/ MySQL it is because MySQL isn't running. You may also want to check /usr/share/mythtv/mysql.txt.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 5:11 pm 
Offline
Joined: Mon Oct 09, 2006 11:11 pm
Posts: 32
Checked all of that, no go. I repeat, this only happens when logged in as root.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 6:01 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Then, why are you running as root?! It is never a good idea to run something as root that doesn't need to run as root.


Top
 Profile  
 
PostPosted: Wed Feb 21, 2007 10:12 pm 
Offline
Joined: Sat Feb 11, 2006 10:08 pm
Posts: 25
skypilot wrote:
This seems to only be a problem when I am logged into the box as root. The user 'mythtv' seems to have the settings correct. I looked for /home/root/.mythtv/mysql.txt, but /home/root does not exist. Where would this information be for root?


/root/.mythtv/mysql.txt


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 27 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu