Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default Apache Fails and Service httpd restart does not start SSL

    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. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by mmkassem
    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:
    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. #3
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by ciphervendor
    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:
    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. #4
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by mmkassem
    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:
    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. #5
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by ciphervendor
    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:
    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. #6
    Member
    Join Date
    May 2003
    Posts
    613

    Default Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by mmkassem
    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.
    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)?


    Last edited by goodmove; 07-21-2003 at 01:14 PM.

  7. #7
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by goodmove
    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)?
    It was not a Cpanel/Apache problem

    cPanel.net Support Ticket Number:

  8. #8
    Member tomnikz's Avatar
    Join Date
    Sep 2003
    Location
    India
    Posts
    16

    Default Re: Re: Re: Re: Re: Apache Fails and Service httpd restart does not start SSL

    Originally posted by mmkassem
    It was not a Cpanel/Apache problem

    cPanel.net Support Ticket Number:
    Then what was it ? I get apache restarts every now and then with the same error..
    Regards,
    Tomnikz.

  9. #9
    Member
    Join Date
    Oct 2003
    Posts
    92

    Default

    This same problem happens here and I have nothing despise cpanel pure install with mailscanner on it.

Similar Threads & Tags
Similar threads

  1. httpd restart fails
    By Sander-Rob in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-23-2009, 11:54 PM
  2. I cannt start apache with SSL or /scripts/restartsrv httpd
    By konrath in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-08-2009, 08:33 AM
  3. Apache update and httpd fails on restart
    By claude in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-05-2006, 02:51 PM
  4. httpd fails to restart after install ssl certificate
    By fcitrolo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-01-2006, 09:57 PM
  5. SSL Install & httpd.conf. Apache Doesnt Start!
    By vinc_dc43 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-06-2003, 02:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube