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: Sun Feb 25, 2007 9:54 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
I came home today to a locked up frontend. After a reboot, the frontend wouldn't come back up and I saw that /dev/hda1 filled itself up. I deleted some logs to clear a little space, rebooted, but still no dice...I received a bunch of unable to connect to database messages, specifically

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

Figuring the db was dead, I did a mythrestore to try to fix the issue. That ended with a message "Warning, table lists are not identical! The restore failed or was already modified!"

Does anyone know what I can try next to get this thing back up and running?

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Last edited by ed3120 on Mon Feb 26, 2007 5:29 pm, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 25, 2007 10:39 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
- Fix the "logrotate" problem. I just posted a link to the old posting on this earleir in the weekend so searching for that keyword should find it within minutes.

- Repair your database. See Cecil's sticky posting under hints and tips.

- Make sure that nothing is accessing the DB before doing the restore. If the the front end is running, and you have logging to the DB enabled, and the only difference shown is the "mythlog" table having a couple extra entries you can ignore it.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 26, 2007 8:25 am 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
Thanks, I'll do some searches and try to repair.

If mythrestore failed, then is my db now completely corrupted or in the same state as it was before I ran mythrestore?

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 26, 2007 5:09 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
Unfortunately, Cecil's repair post didn't help. myisamchk didn't even find any error, which is strange considering I can't start /etc/init.d/mysql - it just fails.

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 26, 2007 8:42 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I'd DL a new ISO, check the md5sum, burn a new CD on different media at low speed, boot with the testcd option, and retry the upgrade. Sounds like something funky happened on the way to the installer.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2007 3:19 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
I did a KM upgrade of R5E50 again to wipe the slate clean. I did a mythrestore afterwards and although it said the restored had failed, I ended up with a usable, albeit old, version of my database so I didn't have to start from scratch.

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2007 8:39 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
An upgrade already does a restore as part of the process. All you need to do is have a valid set of backup files available in /myth/backup before you enter the password to complete the phase2 setup.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 02, 2007 8:26 am 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
Understood, but for some reason I had to do it manually that time around. There must have been an error or something that I overlooked.

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 02, 2007 8:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Did you happen to note what the errors were? There are a couple common ones which are more or less harmless. The checks done after a restore are mostly looking to see that all the files which it extracts from the backup are there., and if the record counts in the DB tables match. Sometimes when the mythbackend server is restarted it cleans out some old stuff...


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 14 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