View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 43 posts ] 
Go to page 1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Dec 25, 2005 8:21 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Hi there. I waited a month, then decided to upgrade rom R5a16 to R5a26. Because I have LVM (250GB + 300GB) I was careful to following instructions here:

http://knoppmythwiki.org/index.php?page ... adeWithLVM

Everything seemed to be working, but then, as the setup begins to run, it boots you out. Error:

Failed to init MythContext, exiting.

Does this mean the backend isn't running? I restarted the backend then tried again to no avail.

Perhaps some corruption in my database?

How should I best proceed?

Thanks much for your time.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 1:21 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
TPIL(B?), the MythContext class is the first thing that is initialised when the frontend starts up. It depends on things like a database connection, theme files, access to the mythtv library, enough memory, et c.

Could you try this in an xterm and tell us what is reported:
Code:
mythfrontend -v all

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 1:59 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Thank you for your response and help.

I've truncated the very long output, and if you need more of it please let me know. Here are the first few lines and the last line?

2005-12-26 11:41:33.983 New DB connection, total: 1
2005-12-26 11:41:33.984 Unable to connect to database!
2005-12-26 11:41:33.984 Driver error was [1/2003]:
QMYSQL3: Unable to connect
Database error was:
Con't connect to MySQL server on '192.168.0.80' (111)

2005-12-26 11:41:33.986 Database not open whhile trying to load setting;
GuiVidModeHeight

----

2005-12-26 11:41:38.988 Failed to init MythContext, exiting.



thanks again.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 2:10 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Is MySQL running?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 2:27 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
According to 'top':

3947 root 24 0 2688 1328 1076 S 0.0 .03 0:00.01 mysqld_safe
3983 mysql 11 -5 67556 17m 2976 S 0.0 3.4 0:18.95 mysqld

so it does appear to be running.

Thanks for your input.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 3:03 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Did you accidentally or intentionally change the IP address or hostname during your upgrade?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 4:55 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
The IP, router, DNS and machine name settings are all the same as before.

Thanks for your help.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 5:44 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Have you tried running mythtv-setup?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 5:52 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Yes, and the result is the same.

Thanks for your ideas.

Assuming there's some corruption that mimics the scenario in which I'd changed the machine's name or IP, what would be the further steps to take?

Thanks again.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 7:28 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Check mysql.txt and ensure the information is valid.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 8:32 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
I see what you mean. Yes, that was a problem. During the new setup, I'd gotten a prompt requesting a set a good password for mysql, and so I gave it a different one.

I corrected /home/mythtv/.mythtv/mysql.txt rebooted, then ran mythtv-setup. Same result.

Runing mythfrontend -v all results with the same errors.

Should I assume that the problem stemmed from entering a new mysql password? If so, is the best course to redo the upgrade and this time use the old password?

Thanks to y'all.[/code]

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 8:51 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Asked for a mysql password during setup?! KnoppMyth has never asked for a mysql password. You must mean password for MythWeb? Check /usr/share/mythtv/mysql.txt.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 9:03 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
In that file, it simply has:

DBHostName=localhost
DBUserName=mythtv
DBName=mythconverg

I guess I could be wrong, but I felt certain that is what asked for this password. Since setting the txt file with both passwords, didn't work what is twhe best way for me to proceed? Thanks.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 11:14 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
That fiel should contain more information.... There is a lot of text that is commented. But the most important thing that you are missing is:
DBPassword=mythtv

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 11:25 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
I'm sorry, you're correct. At the very end is the password, and I changed it and rebooted.

Unfortunately, I get the same result and the same output from mythfrontend -v all.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ] 
Go to page 1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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