LinuxQuestions.org
Register a domain and help support LQ
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 08-31-2003, 09:02 PM   #1
jailles
LQ Newbie
 
Registered: May 2003
Posts: 9

Rep: Reputation: 0
HELP: Accidently rm * -rf in /etc/httpd/conf


Is there anyway to recover without a backup?

*sigh*
 
Old 08-31-2003, 09:18 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Which filesystem do you use?

ext2 has had some success in this area...

Be very careful not to do TOO much activity on that drive for a while, at least until you give up or succeed.

Cool
 
Old 08-31-2003, 09:24 PM   #3
jailles
LQ Newbie
 
Registered: May 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I'm not so sure.......... I know, it's bad... how can I tell?
 
Old 08-31-2003, 09:30 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
mount, df, cat /etc/fstab ...

All these commands should report your type of filesystem, simply type:
mount
And it should tell you

Cool
 
Old 08-31-2003, 09:31 PM   #5
jailles
LQ Newbie
 
Registered: May 2003
Posts: 9

Original Poster
Rep: Reputation: 0
*sigh* ext3
 
Old 08-31-2003, 09:36 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
No worries, still possibility, ext3 is simply ext2, journaled. Check these sources (dug them up for ya) and see if anything helps:
http://www.linux-backup.net/undel.gwif.html

http://www.linuxsecurity.com/feature...forensics.html

Hopefully one of them'll work

Good Luck!

Let us know how it goes.

Cool
 
Old 08-31-2003, 10:23 PM   #7
jailles
LQ Newbie
 
Registered: May 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your help. I was able to quickly recreate the files. Luckily I had the same distro loaded, and had not done much to the original stock configs, except for several VirtualHosts.

Thank you so much for your prompt reply! It's time for a beer.

 
Old 09-01-2003, 12:39 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes it sure is

Glad you got it fixed, either way

Cool
 
  


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
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 01:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 02:25 PM
httpd.conf bumfan Linux - Newbie 1 04-29-2004 06:39 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM


All times are GMT -5. The time now is 11:40 AM.

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