Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default Apache won't start with no errors when running configtest

    Apache will not start on one of my servers. I had to make a change to the httpd.conf for a client then it just stopped working after I restarted Apache a second time. I deleted the rewrite script that I added and when I run configtest I get 0 errors (just a bunch of virtual host warnings and a segmentation fault).

    Can someone tell me what I need to do to figure out what the problem is? I also tried rebooting the entire server but it didn't help.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If apache is seg faulting with a clean httpd.conf, then you might want to try rebuilding apache. What exactly do you get in /etc/httpd/logs/error_log when you attempt to start httpd?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    Jonathan,

    This is what I get when restarting Apache:

    Code:
    [Wed Dec 22 14:14:46 2004] [notice] Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.9 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7d configured -- resuming normal operations
    [Wed Dec 22 14:14:46 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Dec 22 14:14:46 2004] [notice] Accept mutex: flock (Default: flock)
    The solution to last nights problem was to run this: /usr/local/apache/bin/apachectl startssl. For some reason clicking the Apache link in WHM would not start it as it needed "startssl". Any ideas why it won't start without using this method?

    Also, a month ago I was getting segmenatation fault errors after restarting and you had said it was because I was missing - in my su - root command. That fixed the problem then, but I thought I would mention this just in case. (i'm using - now)

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Have you setup an SSL site with a certificate recently? If so, then to restart apache you do need to use the following from now on:

    http start startssl

    Or the command that you quoted.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    Yes, there's a few SSL sites on the server. Wouldn't it start the regular http (not https) if I just typed restart instead of restartssl? It's weird that it just started doing this.

    Do you know how to fix the link to restart Apache in WHM so it won't say it failed each time?

Similar Threads & Tags
Similar threads

  1. cPanel, email, etc won't start, giving weird PERL errors.
    By cyberwisdom in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 07-23-2010, 12:02 PM
  2. Apache update succed but Apache won't start
    By markhard in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-20-2006, 07:10 AM
  3. Apache Won't Start - No Errors
    By AJStiles in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 10-20-2006, 04:14 AM
  4. Apache won't start - httpd configtest won't run as root??
    By linearfusion in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-04-2006, 04:44 PM
  5. Apache Won't Start - No Errors
    By AJStiles in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-11-2006, 11:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube