LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2004, 09:00 PM   #1
fidlet
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Rep: Reputation: 0
screwed up apache and now server won't work


I'm currently running Debian, and had apache working perfectly...I upgraded to apache2 and then decided I didn't want it, so I uninstalled it. And here's where I did something really STUPID...it looked like apache2 was still booting up (along with apache1.whatever), so I erased ALL the apache2 related files off my system. And while apache still started when I rebooted, I couldn't access by page from my browser ("connection refused" error). I realized I f*&@!d up, so I tried reinstalling apache2. It reinstalled, but I guess it didn't reinstall all of those files I erased...and it doesn't work either (although it does START apache2 upon bootup).

I tried reinstalling apache1 AND 2, reconfiguring apache1 and 2, completely purging apache2 form my system, reinstalling it...then completely purging apache2, the reinstalling apache1...all to no avail...none of these worked.

I can't figure out a way to do a COMPLETE reinstall that intalls all of those files on the system that it did when it FIRST installed....I don't get it. (And I don't know why apache1 doesn't work after removing apache2 from the system).

I tried looking at the logs for both versions but honestly can't make heads or tails of them...I saw no errors or anything that I could make sense of.

Keep in mind...I'm a bit of a newbie and really have NO IDEA what I'm doing (obviously). I feel like a dumb-ass...but can anyone help?!
 
Old 08-10-2004, 02:44 AM   #2
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
have you looked at the config file?, httpd.conf? Try erasing the config directory and then reinstalling. Some installers will skip adding the config files if it finds them there. You may be using the wrong files for your current version of apache. Just a guess.
 
Old 08-10-2004, 05:39 AM   #3
fidlet
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Original Poster
Rep: Reputation: 0
That worked! I thought reconfiguring apache WOULD have replaced any relevant conf files...but I guess it didn't. Brilliant! Thanks!
 
Old 08-10-2004, 05:42 AM   #4
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
Talking

I'm gladd I could help
 
  


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
X Server screwed up for one user Tenover Linux - Newbie 3 01-31-2005 04:36 AM
How does one restore X backup for screwed up X server? theonlydrew Linux - Newbie 1 05-27-2004 05:54 PM
X server config sort of screwed up rob-n Linux - Newbie 11 04-11-2004 01:26 AM
Apache, I Can not get Name based Virtual Server to work kcasey Linux - Software 3 01-23-2004 11:09 PM
FAVICON with apache server at port 443 doesn't seem 2 work ganninu Linux - General 0 12-21-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 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
Open Source Consulting | Domain Registration