[mythtv-users] Changing IP wrecked it

Morten Rønseth morten.ronseth at webfx.no
Tue Mar 21 22:01:21 UTC 2006


Hi,


Carrison, Stuart wrote:
> Did you change the backend IP in mythtv-setup?
>   
Nope - still 127.0.0.1.

But I figured out what happened - the new router that the box now 
connects to has the name associated with the new address set to 
"MythBox" in the DHCP settings. Which of course became the box' new 
hostname, rather than "localhost", which it used to be...
So, I changed the hostname back, deleted all mythconverg.settings 
entries that had the hostname filed set to "MythBox" and Voila! We're back.

Phew!


Thanks anyways!




Cheers,



-Morten
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Morten Rønseth
> Sent: 21 March 2006 21:37
> To: Discussion about mythtv
> Subject: [mythtv-users] Changing IP wrecked it
>
> Hi all,
>
>
> I'v got MythTV running on my Mandriva 10.2 box and all's been great - up 
> to now.
> I put the box on another network and the IP therefore changed via DHCP.
> Now, when I reboot the machine, mythbackend refuses to start up.
> Nothing but the IP has changed (from 192.168.0.100 to 192.168.1.100) but 
> still it won't start.
>
> If I run mythbackend manually I get:
>
> 2006-03-21 22:28:22.175 Using runtime prefix = /usr/local
> 2006-03-21 22:28:22.193 New DB connection, total: 1
> 2006-03-21 22:28:22.204 Enabling Settings Cache.
> 2006-03-21 22:28:22.204 Clearing Settings Cache.
> 2006-03-21 22:28:22.207 Current Schema Version: 1128
> 2006-03-21 22:28:22.207 Newest Schema Version : 1120
> 2006-03-21 22:28:22.208 Setting Lock for Database Schema upgrade. If you 
> see a long pause here it means the Schema is already locked and is being 
> upgraded by another Myth process.
> 2006-03-21 22:28:22.208 Database Schema upgrade complete, unlocking.
> No setting found for this machine's BackendServerIP.
> Please run setup on this machine and modify the first page
> of the general settings.
>
> If I manually try to connect to mysql:
>
> mysql -h 127.0.0.1 -u mythtv --password=mythtv mythconverg
>
> or
>
> mysql -h localhost -u mythtv --password=mythtv mythconverg
>
> it works. I can connect.
>
> The .mythtv/mysql.txt file is unchanged. The Mysql database is 
> unchanged. But, the back end refuses to see my old database.... :-(
>
> Is there something I'm missing here? Shouldn't changing IP be 
> transparent to the back end server?
>
> Any and all pointers are welcome as I'm really banging my head against 
> the wall here.
>
> Oh, I also rebuilt mythtv from source - no difference.
>
> Cheers,
>
>
>
> -Morten
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   



More information about the mythtv-users mailing list