Portal Home > Knowledgebase > Articles Database > urgent help pls
urgent help pls
Posted by crzy, 01-02-2008, 05:38 PM |
i did run root@server3 [/var]# rm -rf tmp *
this command accidently now i get database error and more problems what can i do please help
|
Posted by Lees Mark, 01-02-2008, 05:46 PM |
You've issued a command that delete all folders under /var directory. There are a lot of things you need to fix/recover beside database problem.
|
Posted by crzy, 01-02-2008, 05:51 PM |
did i delete mysql database with that command
|
Posted by Sam Robertson, 01-02-2008, 05:56 PM |
Yes you deleted alot of MySQL stuff and other important files Because you deleted the contents of /var
|
Posted by Lees Mark, 01-02-2008, 05:56 PM |
I think the answer could be "Yes!". You can check if your MySQL databases are still exist or not here /var/lib/mysql.
|
Posted by Joe Mattos, 01-02-2008, 05:57 PM |
You just deleted half of your server are you able to do a full system restore?
|
Posted by crzy, 01-02-2008, 05:57 PM |
root@server3 [/var/lib/mysql]# dir
./ ../
root@server3 [/var/lib/mysql]#
are they gone (((((((
|
Posted by crzy, 01-02-2008, 05:59 PM |
i haven't got backups softlayer can't login to server but im currently logon can i get them back thanks for your help
|
Posted by Lees Mark, 01-02-2008, 06:01 PM |
Yes, they are now gone. Do you have any backup of your database? Also, I think it's not an easy task for you to restore everything back in normal.
|
Posted by Joe Mattos, 01-02-2008, 06:05 PM |
You should call softlayer tech support and ask them since they setup the server they would be able to tell you everything installed in /var
|
Posted by crzy, 01-02-2008, 06:15 PM |
this is 150gb hd and there is a 5 6 websites and one of this website has got 4 5gb database another websites are verysmall so is there anyway my database somewhere else located it is very important for me got 3 million messege in it
|
Posted by Sam Robertson, 01-02-2008, 06:31 PM |
Only way to get the files back is restoring from a backup (if you have one)
If you don't have a backup, then you are going to have to tell your clients that you deleted their databases
|
Posted by crzy, 01-02-2008, 07:11 PM |
i wish i had a customer to tell but it is all mine thanks for helping guys im muckedup
|
Posted by HD Fanatic, 01-02-2008, 07:41 PM |
What is the proper commmand to accomplish what the OP wanted to do. I assume he/she wants to remove everything in the /tmp partition?
|
Posted by crzy, 01-02-2008, 07:48 PM |
what u talking about
|
Posted by Lees Mark, 01-02-2008, 08:25 PM |
He means you wanted to delete everything inside /tmp directory.
|
Posted by Joe Mattos, 01-02-2008, 09:00 PM |
What do you have cpanel backup set to? and what did softlayer say?
|
Add to Favourites Print this Article
Also Read