DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30247>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30247

apachectl script does not take -k argument

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-07-22 02:24 -------
Put it like this:

Start Apache via "apachectl -k start" or "apachectl start".  Do both work?  If
not, there is a problem.

Then stop Apache via "apachectl -k stop" or "apachectl stop".  Do both work?  If
not, there is a problem.

Example:

[EMAIL PROTECTED] built]$ bin/apachectl start
[EMAIL PROTECTED] built]$ bin/apachectl stop
[EMAIL PROTECTED] built]$ bin/apachectl -k start
[EMAIL PROTECTED] built]$ bin/apachectl -k stop

A very small tutorial on reading shell scripts:

The line from apachectl which you pointed out which passes the -k to httpd
("$HTTPD -k $ARGV") does not execute in the testcase you described because when
you run "apachectl -k stop" then $ARGV will not match any of
"start|stop|restart|graceful".  Instead, "apachectl -k stop" will pass right
over that logic and go on to the default for that case statement:

*)
    $HTTPD $ARGV
    ERROR=$?

$ARGV will be "-k stop" so "-k stop" with only one "-k" will be passed to httpd.
Put some echo statements in there to show flow of control and to display $ARGV
for different invocations of apachectl.

--/--

meta: My prior update to this PR was not at all rude and I am disturbed that you
would not take it in good faith and restrict your response to further study of
the issue but instead make a comment such as "the closer did *NOT* pay attention
to what I reported."

http://www.apache.org/~trawick/patience.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to