The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Huge problem -- Need immediate help!!

Discussion in 'General Discussion' started by RHMike, Jun 8, 2004.

  1. RHMike

    RHMike Registered

    Joined:
    Apr 29, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Okay, I stepped away from the computer for a little while, I got back and 2 minutes later apache failed.

    I thought it was just a general fail, so I checked the sites. None of them worked.

    We rebuilt apache and that somewhat worked. Now only 1 account is showing on the account list, though all of the settings and reseller settings are still there.

    The origional error was:

    /usr/sbin/httpd graceful: httpd not running, trying to start
    Syntax error on line 1246 of /usr/local/apache/conf/httpd.conf:
    Missing </VirtualHost> directive at end-of-file
    /usr/sbin/httpd graceful: httpd could not be started

    Cpanel is not displaying any of the sites now accept the main one. All of the other sites go to "There is no site configured at this address blah blah".

    We are currently at the latest latest version fo cpanel (As we were told that would fix it, though it never).

    If someone could please help, that would be GREATLY appreciated. I need a responce asap please!

    Thank you VERY MUCH for all of your help (in advance).
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Not sure that this will help but have you looked at the line in httpd.conf? Perhaps if you post it someone can compare it or will more readily be able to analyze it.
    Just a thought.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Sounds like your httpd.conf file may need to be cleaned up. Look through all the account listings and make sure each one has opening and closing VirtualHost tags. If you modify it in any way, make a backup copy first.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    To help a little more - If you want to check that httpd.conf is correct after making changes and before restarting, you can use:

    /usr/local/apache/bin/httpd configtest
     
  5. RHMike

    RHMike Registered

    Joined:
    Apr 29, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Well, my problem has bee nthe most part resolved. Thanks for your help! I'm sorry I couldn't tell you how it was fixed ect, as I payed someone $125 to fix it, and they did it in two hours :P.

    My only problem now is many of the DNS entires don't seem to be working. I had an account which I terminated then re-added to the server, Now it is going to some wacko site one of my clients hosts. Suggestions/Ideas? I guess I couled make a new topic on this :P
     
  6. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator

    $125?? It sounds like all they had to do is add one simple line, like 5 minutes worth of work IF that...


    When you say the dns does not work what do you mean, it is not resolving? Have you looked in the edit dns zone and ensured that the domain is listed? If so you might try logging into ssh and running
    #dig domain.com @localhost
    to ensure the dns server is responding ok to the domain.
     
Loading...

Share This Page