httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30247] - apachectl script does not take -k argument
Date Thu, 22 Jul 2004 02:24:54 GMT
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

trawick@apache.org changed:

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



------- Additional Comments From trawick@apache.org  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:

[trawick@aplinux built]$ bin/apachectl start
[trawick@aplinux built]$ bin/apachectl stop
[trawick@aplinux built]$ bin/apachectl -k start
[trawick@aplinux 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message