Bug 7840 - apachectl: wrong dir for the httpd binary
Summary: apachectl: wrong dir for the httpd binary
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.0.35
Hardware: Other other
: P3 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
: 8413 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-08 14:46 UTC by Andreas Hasenack
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hasenack 2002-04-08 14:46:35 UTC
make install places "httpd" in $(sbindir), and apachectl expects to find it in
$(bindir):
--- httpd-2.0.35/support/apachectl.in.orig      2002-04-07 18:11:08.000000000 -0300
+++ httpd-2.0.35/support/apachectl.in   2002-04-07 18:11:23.000000000 -0300
@@ -29,7 +29,7 @@
 PIDFILE=@exp_runtimedir@/@progname@.pid
 #
 # the path to your httpd binary, including options if necessary
-HTTPD='@exp_bindir@/@progname@'
+HTTPD='@exp_sbindir@/@progname@'
 #
 # pick up any necessary environment variables
 if test -f @exp_bindir@/envvars; then
Comment 1 Justin Erenkrantz 2002-04-15 00:47:27 UTC
Fixed in revision 1.12 of support/apachectl.in.

This will be included in the next release of Apache httpd-2.0.

Thanks for using Apache!
Comment 2 Justin Erenkrantz 2002-04-23 17:21:07 UTC
*** Bug 8413 has been marked as a duplicate of this bug. ***