-   Linux - Newbie (
-   -   accidentally deleted some files and I don't know what I need to do to get them back (

Michele 06-25-2004 06:36 PM

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.

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

Starting sshd:

rc: starting ssh: failed

Error parsing attribute group- disabling service [line 14]

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

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

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

Any help would really be appreciated.



btmiller 06-25-2004 10:11 PM

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.

Vlad-A 06-26-2004 06:42 AM

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

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:

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

All times are GMT -5. The time now is 06:15 PM.