Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    44

    Default VirtualHosts Wiped Out

    A few hours ago I started to receive a bunch of httpd failing emails so I went to SSH to try to restart the service, a few virtualhosts/Ips errors came out so I ran:

    /usr/local/cpanel/bin/build_apache_conf

    And it only worsened the problem. Apache is now working fine but all virtualhosts are missing except one. Every site hosted (except one) are going to the default server page.

    Running again:

    /usr/local/cpanel/bin/build_apache_conf

    Didn't help so I went and recompiled apache. The recompiltarion was successful but but it didn't help, the problem was still there.

    So, I went to edit httpd.conf manually adding every virtualhost one by one. After restarting apache everything went back to normal so I ran:

    /usr/local/cpanel/bin/apache_conf_distiller --update

    As per recommendation inside httpd.conf, then I ran build_apache_conf again... well, the changes were not saved, thankfully I saved a copy of the manual entries so I just copy-pasted them again.

    Right now is working but now I'm just waiting for the next httpd.conf wipeout to take place on any cpanel update...

    Any clues?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I recommend letting our technical analysts take a look at your server. You can do this by submitting a support ticket.

Similar Threads & Tags
Similar threads

  1. No VirtualHosts
    By uneedawebsite in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-06-2008, 10:25 PM
  2. NameVirtualHost has no VirtualHosts
    By rockster in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-15-2006, 06:56 PM
  3. no VirtualHosts ???
    By nicklas in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-30-2005, 11:24 AM
  4. VirtualHosts not working?
    By mgdoyle in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 06-23-2004, 04:50 AM
  5. Custom Virtualhosts
    By freshstartup in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-13-2004, 08:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube