Unistalled but can't run apache2 on Ubuntu 5.0.4

Discussion in 'Installation/Configuration' started by chloe, Oct 21, 2005.

  1. chloe

    chloe New Member

    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: Oct 21, 2005
  2. falko

    falko Super Moderator Howtoforge Staff

    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!
     
  3. chloe

    chloe New Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

    As I said:
    Can you post the output of
    Code:
    iptables -L
    ?
     
  5. chloe

    chloe New Member

    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
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Ok, your firewall is off, so it's not interfering.
     
  7. chloe

    chloe New Member


    Hi Falko,

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

    Regards,

    Chloe.
     

Share This Page