PDA

View Full Version : Unistalled but can't run apache2 on Ubuntu 5.0.4


chloe
21st October 2005, 01:40
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

falko
21st October 2005, 09:49
Do you see error messages in the logs in /var/log/apache/?
To completely uninstall Apache, I'd run
apt-get remove apache2
and the move the configuration files under /etc/apache2 somewhere else.
Then do apt-get install apache2

But I haven't tested this, do this at your own risk!

chloe
21st October 2005, 14:00
Do you see error messages in the logs in /var/log/apache/?
To completely uninstall Apache, I'd run
apt-get remove apache2
and the move the configuration files under /etc/apache2 somewhere else.
Then do 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. I’m 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

falko
21st October 2005, 15:10
How can I remove all ISPConfig configuration files & directory from my machine?

As I said:
and the move the configuration files under /etc/apache2 somewhere else.

I think ISPConfig firewall might be interfering with my system.

Can you post the output of iptables -L?

chloe
21st October 2005, 19:18
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

falko
22nd October 2005, 15:05
Ok, your firewall is off, so it's not interfering.

chloe
23rd October 2005, 14:35
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.