LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2004, 06:36 PM   #1
Michele
Member
 
Registered: Feb 2001
Location: Detroit
Posts: 31

Rep: Reputation: 15
Exclamation accidentally deleted some files and I don't know what I need to do to get them back


Hi: If there is anyone out there that can help me sort this out I would really appreciate it.

I accidentally deleted some files and now I'm not sure how to proceed to get things back up and running. All I can do is provide the error messages and hopefully someone can provide some interpretation.

#1
Ouch! ap_mm_create (1048576, "var/apache-mm/mm.1347") failed Error: MM: mm: core: failed to open semaphore file no such file or directory httpd: httpd startup failed

#2
Starting sshd:

failed
rc: starting ssh: failed

#3
Error parsing attribute group- disabling service [line 14]

#4
START: saslauthd 2.1.12
FATAL: chdir (/var/lib/sas12)
saslauthd: saslauthd: /var/lib/sas12 No such file or directory
saslauthd: saslauthd startup failed

#5
Ignoring font path element /usr/X11R6/lib/X11/fonts/drakfont/type1 (unreadable)
" /ttf
" " /:unscaled (unreadable)

#6
Resolved address "xml: read only: /etc/gconf/gconf.xml.mandatory


Any help would really be appreciated.

Thanks

Michele
 
Old 06-25-2004, 10:11 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If you deleted the files using rm from the command line, you may be out of luck. Linux does not have a "recycle bin" or anything like that. You may want to simply reinstall the affected package(s). If there is personal data you deleted, it may be recoverable if the disk blocks haven't actually been wiped. You'll need some sor tof recovery tool -- this isn't my area of expertise so I'll defer to someone else on that.

If you deleted them through a GUI like Gnome or KDE it may have a recycle bin, but you'd probably see it straight off.
 
Old 06-26-2004, 06:42 AM   #3
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
If you are using ext2 Filesystem there is a way how you *probably* can
undelete files delted with rm from command line. Important: The
blocks of the deleted file shall not be overwritten.

Thre is a tool called
e2recover

This is a PERL script which invokes some low level ext2 functions.

You will find more information in the HOWTO "Ext2fs-Undeletion"
Here also the copy of the document in Web:
http://www.tldp.org/HOWTO/Ext2fs-Undeletion.html

For other FS (e.g. RaiserFS, XFS) I am not aware of any way to undelet files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie deleted some files accidentally twysm Red Hat 2 04-08-2005 06:00 PM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 07:11 PM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 04:39 AM
accidentally deleted files--need help restoring on reiserfs darksarin Linux - General 4 11-23-2003 08:13 PM
undeleting accidentally deleted files darksarin Linux - Newbie 3 11-21-2003 09:08 AM


All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration