Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: WACOMalt on January 28, 2007, 07:37:21 AM
-
I need to get my server to 7.1.
the whole server is screwed up and I cannot pinpoint all of the problems
I checked though and all of my files for my website are still intact. I am not sure about my mysql tables, but if possible I need to back those up as well.
I do not know if an update to 7.1 is possible at this point, I don't know how to do that or of my server can do it with how screwed up it is.
the current error says the filesystem is corrupt, or something like that.
I just burned 7.1 to a cd, and will see what I can do there.
what is the easiest way to back up all of my files? and if possible back up my mysql databases as well.
any insite is helpful.
-
I need to get my server to 7.1.
the whole server is screwed up and I cannot pinpoint all of the problems
I checked though and all of my files for my website are still intact. I am not sure about my mysql tables, but if possible I need to back those up as well.
I do not know if an update to 7.1 is possible at this point, I don't know how to do that or of my server can do it with how screwed up it is.
the current error says the filesystem is corrupt, or something like that.
I just burned 7.1 to a cd, and will see what I can do there.
what is the easiest way to back up all of my files? and if possible back up my mysql databases as well.
any insite is helpful.
Normally you could make a disaster recovery, but the indication that yout filesystem is corrupt does not give much hope that you can run the server. On reboot are you prompted to press y for a disk check? Perhaps that might help. Otherwise you might be able to put in the 7.1 installer CD and try and upgrade to 7.1 and see if the system comes up again... fingers crossed!
-
well update is a no go. it says it cannot do it. I do get a file system thing and I can enter a repair command prompt, and through this I can see that my files are still there (all the one's from my old site's content and whatnot)
So I got a bright idea... put the hard drive in my windows PC as a slave, and copy the files I need, then do a fresh 7.1 install.
wellt he odd thing is, when I put it in my windows PC, windows spots the drive, but it does not show up in "My Computer" and has not been assigned a drive letter. if I go to device manager then I can clearly see the drive though, and it has the correct model number and whatnot.
any clue how to get it so it's useable in windows? or a tool I can use to get the data I need?
-
well update is a no go. it says it cannot do it. I do get a file system thing and I can enter a repair command prompt, and through this I can see that my files are still there (all the one's from my old site's content and whatnot)
So I got a bright idea... put the hard drive in my windows PC as a slave, and copy the files I need, then do a fresh 7.1 install.
wellt he odd thing is, when I put it in my windows PC, windows spots the drive, but it does not show up in "My Computer" and has not been assigned a drive letter. if I go to device manager then I can clearly see the drive though, and it has the correct model number and whatnot.
any clue how to get it so it's useable in windows? or a tool I can use to get the data I need?
As Linux uses a different partition scheme that Windows does not understand it cannot make your drive visible.
Use the CD to enter in rescue mode, do a database dump to a USB drive, and copy all data you need to keep to an USB drive. Reinstall SME Server and put back all data you have been able to save.
-
If your server running "linking sadly" but running maybe u can gain access to ibays from windowspc?
in that case u home free on web and file issues :-)
Email and other stuff still lost.
-
"linking sadly"?
anyways, I cannot access the ibays from my windows PC as I used to be able to.
any idea how I could get the files from the hard drive by putting it in my windows PC? it didnt want to work last time...
-
You can't do it from windows. Install vmware and some live linux distro. It should work then. Or use the SME recovery console.
-
sorry, would that be the vmware viewer only? or is a different version needed?
also, does it not matter what linux distro I use as long as it is a live one?
-
Use VMware Workstation.
Well you'll be able to see the partition on any live cd. And if you have a portable disk formati it to fat32 and then you'll be able to write to it from win and linux. Then just copy the files to portable disk (or usb if you don't have a lot of data) and transfer them back once you get your sistem up and running.
This is how i fix theese kind of problems.
-
thank you very much for the help.
is there any way to back up the mysql databases as well onto my portable drive?
any anything else I should back up that may make my life easier later on down the road when I start over?
-
(more than 2 days, so a bump)
is there any way to back up the mysql databases as well onto my portable drive?
any anything else I should back up that may make my life easier later on down the road when I start over?
-
WACOMalt
bump.... Do you read these forums ?
bump.... Do you know how to use the search feature ?
bump.... Are you too lazy to look for the answer yourself ?
mysql backup has been answered many times & as recently as one day ago.
Search on mysql & also for
signal-event pre-backup
You will need to manually copy the dump file from /home/e-smith/files/db/mysql (I think that's the location from memory).
-
sorry about the bump. I was kinda in a crappy mood when I wrote that.
I did a search and found what I needed.
thanks for the search terms (especially "signal-event pre-backup" I would have never figured that one out.)
-
Correct me if I'm wrong but....
SME Server uses LVM and RAID, so the only way to see files on these partitions is while the system is running.
Does VMWare allow you to read offline RAID volume(s)?
-
No it doesn't. You have to unplug one of the drives and then plug it into another computer runing linux or win with vmware and a linux distro. You would be able to read the data from linux partitions then.
-
well I found a useful solution to the not being able to read in windows thing.
its a program called "explore2fs"
it basically lets you explor and backup onto your windows any file on one of the linux filesystems (including whatever sme uses)
I made a backup of the WHOLE HARDDRIVE in a folder on my windows PC.
Now I have a new question (I DID do a search this time and couldnt find what I need)
I am restarting on my server. doing a fresh install. I put in the 7.1 install CD and fist off I have to know if my PC is i586 or not.. (I honestly don't remember.) either one of the options I choose though (pressing enter, sme then enter, or smei586 then enter) when it gets to
"running install
running /sbin/loader"
it freezes for a LONG time. then when it recovers I get a
kernel panic message
"Kernel panic - not synching: Fatal exception"
I then have to restart...
I was wondering if this might be due to the issues that might have caused the hard drive problems int he first place...
how could I go about completely reformatting the drive? I need to completely write 0's to it. any way to to this when I cant get anything to run on the drive?
-
WACOMalt
As pointed out by osiris9510 & bpivk if your server is not running then you obviously will not be able to use the pre-backup event & dump file.
In that case your only option will be to manually copy the mysql databases directly from /var/lib/mysql. Note you should only do this when the mysql service has been stopped.
-
It could be a bad burn. You could try a media test or re-download the ISO.
Otherwise, I would imagine that the hard drive is bad.
-
It could be a bad burn. You could try a media test or re-download the ISO.
Otherwise, I would imagine that the hard drive is bad.
I know I have done a media test before, but for some reason I cannot find the option now o_O where is it located?
and I do not think the hard drive is a lost cause. when I put it in my windows machine, "explore2fs" read the disk perfectly. and the WHOLE disk, as I did a complete dump of the whole disk. If anything is wrong with it, I personally think it is something that a reformat will fix.
thanks for the help btw everyone. And sorry for any attitude I might have had so far. (I don't actually know if I have or not, I just felt like thanking everyone and covering my butt if I have been mean or anything :P )
-
The option should be available when you install sme. Before installation you get an option to check cd before installing.
-
the old CD wasn;t even getting to the place where I could check the CD. a new burn works just fine (which is odd, the bad copy worked just last week)
I now have a new 7.1 on my server. I am having issues seeing the ibays on my local network though, but I'm searching on that one right now