Huge problem -- Need immediate help!!

RHMike

Registered
Apr 29, 2004
2
0
151
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).
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
8
168
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.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
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
 

RHMike

Registered
Apr 29, 2004
2
0
151
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
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
Originally posted by RHMike
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

$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.