Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st October 2005, 01:40
chloe chloe is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unistalled but can't run apache2 on Ubuntu 5.0.4

Hi all,

I'm new to the forum.

I was intending to use ISPConfig and did a test install on my home machine.

Problem ISPConfig was a test and after I installed it and decided I wouldn't use it, I uninstalled it, only now I cant run my old webserver.
How can i get webserver back?
i have tried to unistall apache2 and reinstall but i get the same error message "The connection was refused when attempting to contact localhost."

Or How can i completely remove apache to do a fresh re-install?

Help plz

regards,

chloe

Last edited by chloe; 21st October 2005 at 01:45.
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2005, 09:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Do you see error messages in the logs in /var/log/apache/?
To completely uninstall Apache, I'd run
Code:
apt-get remove apache2
and the move the configuration files under /etc/apache2 somewhere else.
Then do
Code:
apt-get install apache2
But I haven't tested this, do this at your own risk!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st October 2005, 14:00
chloe chloe is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Do you see error messages in the logs in /var/log/apache/?
To completely uninstall Apache, I'd run
Code:
apt-get remove apache2
and the move the configuration files under /etc/apache2 somewhere else.
Then do
Code:
apt-get install apache2
But I haven't tested this, do this at your own risk!
There are lots of errors about connection, port and I think firewall. Im not at my machine at the moment.

If I can remove apache completely, I should be able to get back the web server.
But when I tried yesterday it kept on using existing configuration files.

How can I remove all ISPConfig configuration files & directory from my machine?
I think ISPConfig firewall might be interfering with my system.

Regards,

Chloe
Reply With Quote
  #4  
Old 21st October 2005, 15:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by chloe
How can I remove all ISPConfig configuration files & directory from my machine?
As I said:
Quote:
Originally Posted by falko
and the move the configuration files under /etc/apache2 somewhere else.
Quote:
Originally Posted by chloe
I think ISPConfig firewall might be interfering with my system.
Can you post the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st October 2005, 19:18
chloe chloe is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you post the output of
Code:

iptables -L

output: Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


regards;

chloe
Reply With Quote
  #6  
Old 22nd October 2005, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Ok, your firewall is off, so it's not interfering.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd October 2005, 14:35
chloe chloe is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
Ok, your firewall is off, so it's not interfering.

Hi Falko,

Thanks alot for all your help; i couldn't get my old server back so i re-install.

Regards,

Chloe.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to Start with Apache2? Vorlon Server Operation 2 20th October 2005 01:12


All times are GMT +2. The time now is 05:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.