How can I delete and reinstall ISPCONFIG3 or just Apache2 on CentOS 6.4

Discussion in 'Installation/Configuration' started by vestport, Apr 18, 2014.

  1. vestport

    vestport Member

    I am having an issue with Apache2 not working right with domains and would like to try to remove and reinstall it to see that resolves the problem first before also removing and reinstalling ISPCONFIG3. Can someone please give me the procedures or link that explains how to completely remove and then reinstall Apache2. Also a procedure on how to remove and reinstall ISPCONFIG3. I just don't want to have to reformat drives, create mirror partitions etc. as everything else is fine.

    Thanks in advance for any replies!


    Art
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    I don't recommend to completely remove & then reinstall apache or ISPConfig3.

    What error you are getting while using the apache?
    Please paste the error logs for apache.

    Br//
    Srijan
     
  3. vestport

    vestport Member

    I looked in the following 2 directories for clues to domain issues:

    Code:
    /etc/httpd/conf/sites-available
    
    and
    
    /etc/httpd/conf/sites-enabled


    There are only 3 domains on this server. The DNS server itself (ns1.mydomain.com) and 2 other domains. When creating new domains I was get the following error in the domain vhost files:

    Code:
    # Apache did not start after modifying this vhost file.
    # Please check file /etc/httpd/conf/sites-available/domain2.com.vhost.err for syntax errors.
    
    I forget how I eliminated it sorry.

    Tried restarting apache with errors for port 80 & 443 initially and also now there is no more https security now for the main site. Apache is screwed.

    I get the following warning error restarting apache currently:

    Code:
    Starting httpd: [Mon Apr 21 07:41:30 2014] [warn] NameVirtualHost *:443 has no VirtualHosts
    There are no more .vhost errors.

    and here is the end of the conf file that may be relevant:

    Code:
    #NameVirtualHost *:80
    NameVirtualHost *:443
    Include /etc/httpd/conf/sites-enabled/
    
    Art
     
  4. vestport

    vestport Member

    Can anyone tell me how to remove ISPCONFIG3 and reinstall?

    Need to reinstall ISPCONFIG3 and Apache without installing the whole OS. Can anyone help? System runs fine but too many issues with Apache and ISPCONFIG. Just want to start over.


    Thanks in advance for any replies!


    Art
     

Share This Page