Ubuntu Servers :: Recover Mysql From A Crashed Hard Disk ?

Aug 2, 2010

My server got crashed due to some power glitch i am somehow able to get the access to the /var folder i have copied all my webpages to a new system from /var/www folder, and i have install LAMP server but still i am not able to access the database from phpmyadmin.

I have copied the database to /var/lib/mysql..in phpmyadmin it has initially given there is no data base when i replaced the mysql folder but now after a restart it is giving me #2002 cannot log in to the mysql server even undoing the things is giving me the same error...

View 1 Replies


ADVERTISEMENT

General :: Recover Files In Hard Disk?

May 15, 2011

All my important files is already gone because I accidentally reformatted my 160GB hard disk. What software should I use to recover my files?

View 4 Replies View Related

Ubuntu Servers :: Crashed - None Of The Sites Were Responding - Sounded Like It Was Thrashing The Hard Drive

Aug 2, 2011

I have a ubuntu 11.04 LAMP server at home.

Its runnign a few small sites on a drupal CMS.

This morning I found none of the sites were responding. The server itself sounded like it was thrashing the hard drive.

It wasnt responding to the FTP client or SSH connections. Web pages just sat there like they were loading very slowly but never actually loaded.

How can I find out what went wrong. I dont have a massive amount of experience with linux, particularly the server variant.

Its worried me a little that the drupal report shows several page not found errors like someone (a bot maybe) was trying to see what php setup files they could access.

View 5 Replies View Related

Server :: Recover MySQL Innodb From /var/lib/mysql/ Backup?

Jan 30, 2011

I installed mediawiki the other day and went with the default innodb option. However a week later something went wrong. And since I have scripts that nightly backup /var/ I just copied the backup of /var/lib/mysql/wikidb/ (as I've done with MyISAM). Then when I connect the wikidb database. I can see the tables (via "show tables"), but when I do any query with them (check table X, select * from X) I get:

Code:

Table 'wikidb.X' doesn't exist I've since read that can can't just copy the database directory like MyISAM, and there appears to be no way that I can find to restore or fix Innodb, without a dump of the data. And I never got a chance to do a mysqldump of the data. So has anybody got any idea how I can at least view the "page" table from the files I've backed up in /var/lib/mysql/wikidb/ ?

View 1 Replies View Related

Ubuntu :: Can't Recover Files From A PC That Crashed And Wont Shut Down

Apr 10, 2011

My wife's Windows Vista laptop crashed and now will not boot. It is a Compaq and when we turn it on it loads into the HP recovery program. The only option is to format the drive and reinstall windows.

We can't do this however because we need to extract the files for my wife's college classes. I was told that you can use an Ubuntu Live CD to access these files so I burned a CD with 10.10 on it. It access's the computer and it appears to access the folders from the hard drive but all the folders are empty. Also the partition appears empty as well.

I found a thread on here that mentioned that the file system needs to be closed for it to be mounted but the computer had to be forced shut down so that isnt an option. Also i read something about chkdsk /f.

View 9 Replies View Related

Hardware :: Recover Data From Crashed System?

Sep 18, 2009

I was running CentOS 5 with VMware Server on top of it. The system died and I'm trying to recover the VM images. The system died with a 'end_request: I/O error, dev' type message. It looks to me like the 2nd partition is wonky - is that correct? The GRUB portion does boot. I pulled the drive out and plugged it into my Ubuntu box to see if could get to the files. I ran 'fdisk -l' and found:

--------------------------
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders

[code]....

To me this shows the GRUB boot partition and the system drive - correct? Next I created a mount point and tried 'mount /dev/sdb2 /mnt/recover' At that point I get a

mount: unknown filesystem type 'LVM2_member'

Here's where I'm a bit lost. I believe I need to add filesystem support to my Ubuntu box. I've been looking but have yet to find something that says the default filesystem of CentOS 5 is <blah>. After I do find that info, how do I install the filesytem support to read the drive?

View 8 Replies View Related

General :: Recover Windows If OS Has Crashed In A Dual Boot

Jun 7, 2010

I wanted to know the solution that if my linux crashes then can I recover my windows in adual boot env.

View 6 Replies View Related

Software :: Recover Evolution Mail From Crashed System?

Dec 1, 2010

My ubuntu 10.04 pc crashed (hardware). The hard drive from the old computer would not boot in the new machine.I am able to access the data on the old hard drive, and I was able to copy the .evolution folder from the old hard drive to the new one. How can I get the mail, and contacts from the old hard drive to appear in Evolution on the new pc running Ubuntu 10.10.

View 1 Replies View Related

Hardware :: Master Hard Disk Error After Installing Ubuntu 8.10 / Hard Disk Died

Apr 8, 2009

after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work

View 3 Replies View Related

Ubuntu Installation :: Copy Hard Disk Have 10.04 And Ext4 To 1000 Hard Disk?

Sep 23, 2010

I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000

View 2 Replies View Related

Ubuntu Servers :: Failed To Mount External Hard Disk

Sep 9, 2010

System: ubuntu server edition 10.10
Hardisk: a 160g usb external hard disk, formatted in win7 with NTFS format.
%fdisk -l
returns:
Device Boot .... System
/dev/sdg1 NPFS/NTFS
%sudo mount -t ntfs-3g /dev/sdg1 /media/external

returns:

fuse: failed to create temporary directory

Have anyone seen this before?

View 1 Replies View Related

Ubuntu Servers :: Hard Disk Filling Up \ Mount /var/log/data To New HDD?

Mar 16, 2011

I have a directory /var/log/data its about 80 GB,It filling up quit rapidly.I don't have much space left in the system them So i will attaching another External HDD.My question is that i need to mount /var/log/data to new HDD.So i have old data and pulse new coming up.I don't want to copy data from /var/log/data then mount new HDD to /var/log/data you know what i am taking about is there a simple way like linking or any other.

View 4 Replies View Related

Hardware :: Adding Second Hard Disk With Windows To Boot With Grub On First Hard Disk

Jul 7, 2009

I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.

View 3 Replies View Related

General :: Changing GRUB From An External Hard Disk To The Internal Hard Disk?

May 14, 2010

I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?

View 2 Replies View Related

Ubuntu Servers :: Hard Disk Half Full - System Says No Space Left

Jun 30, 2011

For our workgroup I set up a server which is basically 10.04.2 with kernel 2.6.32-32-server on a SSD and all the data on a RAID 5 consisting of 4 2TB hard disks, thus a maximum of 6TB space for data on the RAID. Having multiple users with different amounts of data from different scientific data source I set up an lvm on top of the RAID

--- Physical volume ---
PV Name /dev/sdb2
VG Name home-data
PV Size 5,45 TiB / not usable 3,00 MiB

[code]...

Here is the problem: The volume Genomes (or /genomes) is half full

sudo df -ah
/dev/mapper/home--data-Genomes
1,9T 850G 920G 49% /genomes

but the system states it as full whenever I try to add more data (tried cp and rsync). There is no quota set to the volume (I have quotas in place for users home folders. These are only for max amount of disk space, not max file number, and I am still able to move/add files elsewhere so there seems to be no interference).

View 9 Replies View Related

Hardware :: Check Hard Disk For Errors. Possible Hard Disk Failure?

Jun 21, 2011

I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:

Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:

[code]...

View 6 Replies View Related

Ubuntu Servers :: Samsung Spinpoint 1tb - HD103UJ - Has A Critical Error - Hard Disk Failure - Or Not ?

Jun 30, 2010

I have 10.04 desktop basically running xbmc sabnzbd and as a file server. the loads aren't too large as it is just for my house. But i moved from a server install to the desktop because of sound issues and running xbmc at start was a bit of a pain... so bit of background done.

My problem is that after installing 10.04 i got the disk utility pop-up saying one of samsung spinpoint 1tb (HD103UJ) has a critical error... now i didn't panic (although in the next couple of months i am intending to get another drive) but in the meantime i am simply wondering if this is a false flag? i've been getting this error for over 6 months now... pretty much from the last time i formatted the disk, i wiped it and then used dd to copy over a smaller partition, after which i used gparted to grow the partition to the whole drive. could this have created a false flag?

The 184 error is the only one, here is all the data i can glean from my system, attached is a screen of the relevent info from the disk utility, and this it from smartctl:

Code:

Selective self-test flags (0x0):

After scanning selected spans, do NOT read-scan remainder of disk.

If Selective self-test is pending on power-up, resume after 0 minute delay.

View 3 Replies View Related

Ubuntu :: Ubuntu Crashed - When Restarted - OpenOffice Tried To Recover Now My File Is Just #'s

Nov 30, 2010

I was working on a report, when my computer crashed, flashing caps lock, completely frozen. Had to power it off. I had saved my work, shortly before it froze.

When I restarted, I tried opening the file, and it asked if I wanted to recover, I though why not and it recoved the file as purely #'s, except the very end which read.

Quote:

I regularly saved the file. Is there are way I could get a previous version of the file. Is there any way I can get the last saved version of the file, before openoffice tried to recover it.

I did a bit of work on it with koffice, any chance that that has a backup of it?

Any change any of the text can be recovered from the file.

I will upload the corrupt file with this post.

If anyway can restore it I would be soo greatful. I have tried googling but I can't find any methods which work.

View 2 Replies View Related

General :: Use Hard Disk Image Like A Regular Hard Disk?

Apr 6, 2010

If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?

By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...

(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)

View 2 Replies View Related

Ubuntu :: Backing Up Hard Drive On Crashed Laptop?

Jan 26, 2010

I am having on trying to backup my crashed laptop with ubuntu 9.10 when i double click on my hard drive, it says "unable to mount location" and it says "unable to mount location" a job is pending on /dev/sda2 when i right click on my hard drive and select mount.

View 2 Replies View Related

Ubuntu :: Hard Drive Read Only After Backup Crashed

Mar 13, 2010

I was busy making backups to my external hard drive just now, but Ubuntu crashed 10 mins into the backups. After rebooting the affected folders are now Read only, and I cannot add or remove anything. This is extremely annoying, I already threw away two USB flash disks because the same thing happened to me in the past. I don't want to throw away the external because it's far more expensive and packed with backups.

Symptoms: I can write or delete a file to the hard drive, in any folder, accept the folders that was being accessed when the computer crashed. I have tried to change permissions, but I get an error. I tried opening a terminal and sudo rm -r that folder, but I get a input/output error. I'm running Karmic. Backups were made by Back-in-time.

View 4 Replies View Related

Server :: Recover A Compressed Mysql Backup?

Dec 6, 2009

I'm trying to recover a compressed mysql backup. As the backup is extremely large, I dont wanna decompress it before importing. How can I make a mysql variable take effect before I load this compressed file into the database.

View 7 Replies View Related

General :: Mount From The Old Hard Disk To The New Hard Disk

Jun 30, 2010

mount from the old hdd to the new hdd i mean (Hard disk)

View 2 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :

Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing

[code]....

View 4 Replies View Related

General :: Recover Deleted MySQL Database Files?

Sep 4, 2010

Some a$$ hack me MySQL and deleted all my databases, I have older copies on my system, but is there a way that Ubuntu server can recall or recover deleted MySQL database files ?

View 8 Replies View Related

Software :: MySQL Configuration Folder Deleted - Any Way To Recover

Dec 25, 2008

I was trying to delete mysql server and client and accidentally I deleted the configuration folder /etc/mysql. Is there a way to recover this folder??? I thought that only reinstalling it would solve the issue, but it didn't.

View 2 Replies View Related

General :: Install Ubuntu On A Hp Computer With A Crashed Hard Drive With Windows OS?

Dec 18, 2010

i can only boot to MSDOs with floppy msdos bootup on A:. I want to install ubuntu 10.10 and completely erase HDD but the ubuntu disc won't bootup even when bios is set for cd only. This is older HP pavillion that I have retired but HDD scans out good so I thought i would run Ubuntu only and maybe put MS out of business but not having any luck with install. When booting from HDD error is system 32hal dll is missing or corrupt but HDD C: is 0 anyway. I just want to install so I can play with Ubuntu.

View 14 Replies View Related

SUSE :: Computer Crashed Need Hard Drive Access

Jul 9, 2010

My macbook pro stopped booting yesterday due to some file system corruption in the hard drive. I am able to access this drive through a linux live cd which I am using now but when I go to some folders it says "Could not enter folder /media/Macintosh HD/..." My question is how do I give myself the permissions to be able to access these files and transfer them to a network drive?

View 1 Replies View Related

CentOS 5 :: Recovery From Crashed Hard Drive With No Backup?

Aug 4, 2010

Recently I built a web server for my clients to host in house. After talking with the web developer they informed me that i needed a CentOS computer with Drupal for them to design the website. This is my first Linux install and after spending hours upon hours configuring the server with FTP, SSH, and configuring our DD-WRT router with proper port forwarding we turned it over to the web designers to start work on the website.

A month goes by and the website is almost done, at this point we go to make a full backup of the hard drive. Due to a hardware problem it fried the circuit board of the hard drive. After attempting to recover the files myself we opted to send it to a HD data recovery facility to recover the information. We have received back a DVD containing the 2GB's worth of data from the CentOS hard drive. It contained 2 folders one for each of the partitions. I can view and see all the files on my windows machine and it appears that all of the data was recovered successfully. I harbored some hope that i could simply reinstall CentOS with the same account information and then just drop the recovered files on top of the new installation and have it start working.

I then reinstalled CentOS on another hard drive in the same computer and used the same credentials for installation. After i successfully booting into CentOS i turned off the machine and connected the hard drive it to my Windows bench machine. After booting into Windows i was unable to browse the hard drive. After doing more research and installing Ext2fsd i was able to see the 2 partitions CentOS had just created, but only able to access the Boot partition. After more research i discovered the default installation of CentOS creates a Raw file type for the 2nd partition and that is why i am having issues reading it inside of Windows.

I then downloaded a copy of Knoppix to see if this would allow me to write the old files over the new ones. After booting up the CD i could only browse to the /boot drive(and im not even sure if this is Knoppix's Virtual /boot or my CentOS /boot).

My question is what would be the best steps to recovery for my scenario? Can the files be placed to the drive and have everything restored? Is the only way to recovery thru reinstalling all applications and reconfiguring from scratch? How difficult is Drupal DB to recover in this type of scenario?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved