Apache Fails and Service httpd restart does not start SSL

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
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:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,052
0
166
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:
 

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
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:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,052
0
166
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:
 

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
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:
 

goodmove

Well-Known Member
May 12, 2003
628
1
168
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:

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
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:
 

tomnikz

Member
Sep 4, 2003
16
0
151
India
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.. :(