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.

Apache Fails and Service httpd restart does not start SSL

Discussion in 'EasyApache' started by mmkassem, Jul 21, 2003.

  1. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    After compiling Apache now it stops alone.

    Restarting using service httpd restart does not start SSL only:
    [Mon Jul 21 08:17:27 2003] [notice] Apache/1.3.28&
    nbsp;(Unix) mod_gzip/1.3.26.1a mod_log_bytes/1.2 mod_bwlimited/1.
    0 PHP/4.3.2 FrontPage/5.0.2.2634 configured -- resuming
    normal operations

    However using WHM it start SSL:

    Mon Jul 21 08:32:19 2003] [notice] Apache/1.3.28 (Unix) mod_gzip/1.3.26.1a mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b configured -- resuming normal operations


    Any help?

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Try killing off apache before you attempt to restart it:

    killall -9 httpd (do this 3 or 4 times)
    /usr/local/apache/bin/apachectl startssl

    Then tail your apache error log and report back all errors/warnings.

    cPanel.net Support Ticket Number:
     
  3. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    Re: Re: Apache Fails and Service httpd restart does not start SSL

    Thanks .. Only the unclean shutdown warn appears

    [Mon Jul 21 09:03:04 2003] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?


    Seems to be fixed now.

    Thanks again.

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Unclean shutdown is caused by the killall commands...I think perhaps you had some old processes kicking around that were causing you some headaches.

    cPanel.net Support Ticket Number:
     
  5. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    I think it's a bug in mmcache session.save_handler which makes it does not work with mod_ssl

    when:
    session.save_handler = mmcache

    Apache fails using the service restart.
    Then starts using service start without SSL
    using service restart after this will always start without SSL

    when:
    session.save_handler = files
    Apache restarts with SSL

    Do you think this is resonable?

    cPanel.net Support Ticket Number:
     
  6. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Was this problem and the SSL issue fixed with one of the updates today? What version was that?

    Does your apache fail when for example you set up a sub-domain in Cpanel (which restarts httpd)?
     
    #6 goodmove, Jul 21, 2003
    Last edited: Jul 21, 2003
  7. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    It was not a Cpanel/Apache problem :)

    cPanel.net Support Ticket Number:
     
  8. tomnikz

    tomnikz Member

    Joined:
    Sep 4, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Re: Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Then what was it ? I get apache restarts every now and then with the same error.. :(
     
  9. danielaugustus

    danielaugustus Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    This same problem happens here and I have nothing despise cpanel pure install with mailscanner on it.
     
Loading...

Share This Page