apachectl restart problem...

2002-07-31 Thread Sean M Alderman

Greetings all,
  I'm curious if anyone has come across issues with starting apache
using -
# $APACHE_HOME/bin/apachectl startssl
and then having apache hang when issuing this -
# $APACHE_HOME/bin/apachectl restart

I'm running 1.3.26 with the latest mod_ssl on Solaris 8.  I don't get
any error messages in the logs, and apachectl says that it restarts just
fine, but when you point a browser back to the server it does not
respond.  I can fix it with an apachectl stop;apachectl startssl, but
I'm just curious about not being able to do the restart.
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: apachectl restart problem...

2002-07-31 Thread Boyle Owen

From: Sean M Alderman [mailto:[EMAIL PROTECTED]]

Greetings all,
  I'm curious if anyone has come across issues with starting apache
using -
# $APACHE_HOME/bin/apachectl startssl
and then having apache hang when issuing this -
# $APACHE_HOME/bin/apachectl restart

I'm running 1.3.26 with the latest mod_ssl on Solaris 8.  I don't get
any error messages in the logs, and apachectl says that it 
restarts just
fine, but when you point a browser back to the server it does not
respond.  I can fix it with an apachectl stop;apachectl startssl, but
I'm just curious about not being able to do the restart.

Restart sends a HUP to apache. I've found that this is sometimes insufficiently 
forceful to make apache reload certain SSL parameters (e.g. if you change the 
certificate). However, it should be sufficient for non-SSL edits.

Rgds,
Owen Boyle
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: apachectl restart problem...

2002-07-31 Thread Sean M Alderman

I thought it might be something like that, but typically when I've run
into this, I've made a change to a http virtual host, and all the other
virtual hosts ssl or not, are then not accessible.  Maybe apache needs a
better way to reload configs for virtual hosts (such that it doesn't
bother anything else)...but that's not a topic for this list.  :) 
Thanks for the response.

On Wed, 2002-07-31 at 09:48, Boyle Owen wrote:
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 
 Greetings all,
   I'm curious if anyone has come across issues with starting apache
 using -
 # $APACHE_HOME/bin/apachectl startssl
 and then having apache hang when issuing this -
 # $APACHE_HOME/bin/apachectl restart
 
 I'm running 1.3.26 with the latest mod_ssl on Solaris 8.  I don't get
 any error messages in the logs, and apachectl says that it 
 restarts just
 fine, but when you point a browser back to the server it does not
 respond.  I can fix it with an apachectl stop;apachectl startssl, but
 I'm just curious about not being able to do the restart.
 
 Restart sends a HUP to apache. I've found that this is sometimes insufficiently 
forceful to make apache reload certain SSL parameters (e.g. if you change the 
certificate). However, it should be sufficient for non-SSL edits.
 
 Rgds,
 Owen Boyle
 __
 Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
 User Support Mailing List  [EMAIL PROTECTED]
 Automated List Manager[EMAIL PROTECTED]
 
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: apachectl restart problem...

2002-07-31 Thread Peter Viertel

reloads dont work if your keys are encrypted - is this the case here?

i have happliy sent a sig USR1 to an ssl apache setup each night for two 
years - and never a problem - only goes awry if a cert or key changes.

Sean M Alderman wrote:

I thought it might be something like that, but typically when I've run
into this, I've made a change to a http virtual host, and all the other
virtual hosts ssl or not, are then not accessible.  Maybe apache needs a
better way to reload configs for virtual hosts (such that it doesn't
bother anything else)...but that's not a topic for this list.  :) 
Thanks for the response.

On Wed, 2002-07-31 at 09:48, Boyle Owen wrote:
  

From: Sean M Alderman [mailto:[EMAIL PROTECTED]]

Greetings all,
 I'm curious if anyone has come across issues with starting apache
using -
# $APACHE_HOME/bin/apachectl startssl
and then having apache hang when issuing this -
# $APACHE_HOME/bin/apachectl restart

I'm running 1.3.26 with the latest mod_ssl on Solaris 8.  I don't get
any error messages in the logs, and apachectl says that it 
restarts just
fine, but when you point a browser back to the server it does not
respond.  I can fix it with an apachectl stop;apachectl startssl, but
I'm just curious about not being able to do the restart.
  

Restart sends a HUP to apache. I've found that this is sometimes insufficiently 
forceful to make apache reload certain SSL parameters (e.g. if you change the 
certificate). However, it should be sufficient for non-SSL edits.

Rgds,
Owen Boyle
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]





__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



[BugDB] apachectl restart problem (PR#409)

2000-07-10 Thread modssl-bugdb

Full_Name: Tom Emmel
Version: 2.6.5-1.3.12
OS: linux
Submission from: (NULL) (198.76.172.200)


Running "apachectl restart" causes the apache servers to stop when apache is
running with mod_ssl enabled (startssl).

Configuration:

linux 6.0
apache-1.3.12
mod_ssl-2.6.5-1.3.12
openssl-0.9.4

Steps to reproduce the problem:

./apachectl startssl
./apachectl restart

Although the restart appears to succeed and the script exits with 0, the servers
stop.

web1.root sh -x ./apachectl restart
+ PIDFILE=/usr/local/apache/logs/httpd.pid
+ HTTPD=/usr/local/apache/bin/httpd
+ LYNX=lynx -dump
+ STATUSURL=http://localhost/server-status
+ ERROR=0
+ ARGV=restart
+ [ xrestart = x ]
+ [ -f /usr/local/apache/logs/httpd.pid ]
++ cat /usr/local/apache/logs/httpd.pid
+ PID=12804
+ [ x12804 != x ]
+ kill -0 12804
+ STATUS=httpd (pid 12804) running
+ RUNNING=1
+ [ 1 -eq 0 ]
+ /usr/local/apache/bin/httpd -t
+ kill -HUP 12804
+ echo ./apachectl restart: httpd restarted
./apachectl restart: httpd restarted
+ exit 0

This problem does not occur under mod_ssl-2.6.3-1.3.12.

Thanks,
Tom

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]