Marc Slemko wrote:
>
> On Thu, 26 Jul 2001, Greg Ames wrote:
>
> > maybe not. bugs.apache.org/suexec was working on yesterday's build
> > until 08:09 daedalus time, then abruptly quit. About a minute before
> > that I deleted a couple of install directories we aren't using any
> > more. hmmmm....
>
> maybe it is trying to execute suexec from the wrong place, that no longer
> exists?
>
> truss/ktrace it and see if it is getting as far as trying to exec
> suexec and, if so, what path.
>
> and maybe try restarting httpd, if no one has, to see if it says anything
> about suexec at startup now, after the directories were removed...
Mark,
u da man!
Mystery nearly solved. It's a build problem.
Thanks much!
Greg
----------------------------------------------------------------------------
gory details:
as a matter of fact, whenever I try starting httpd from yesterday's
build, I now get:
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
on the console, and (at least on the production config) a bunch of times
in the error log. I like your suggestions...
(types in truss)
stat("/usr/local/apache2.0.22-dev/sbin/suexec",0xbfbff9b8) ERR#2 'No
such file or directory'
bingo! that's one of the directories I wiped out right before
bugs.apache.org quit working. hmmm...
[gregames@daedalus httpd-2.0.22-dev]$ strings httpd | grep apache2
-D HTTPD_ROOT="/usr/local/apache2.0.22-dev2"
-D SUEXEC_BIN="/usr/local/apache2.0.22-dev2/sbin/suexec"
/usr/local/apache2.0.22-dev2
/usr/local/apache2.0.22-dev2/htdocs
/usr/local/apache2.0.22-dev/sbin/suexec <===== wrong!
[gregames@daedalus httpd-2.0.22-dev]$ grep -r "apache2.0.22-dev\/" .
Binary file ./os/unix/unixd.o matches
Binary file ./os/unix/.libs/libos.a matches
./srclib/apr/shmem/unix/mm/.libs/libmm.lai:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr/shmem/unix/mm/.libs/libmm.la:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr/shmem/unix/mm/libmm.la:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr/.libs/libapr.lai:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr/.libs/libapr.la:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr/libapr.la:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr-util/.libs/libaprutil.lai:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr-util/.libs/libaprutil.la:libdir='/usr/local/apache2.0.22-dev/lib'
./srclib/apr-util/libaprutil.la:libdir='/usr/local/apache2.0.22-dev/lib'
Binary file ./httpd matches
I don't know where the libdir junk comes from, but it looks wrong. I
cp'ed my source tree from the previous build, then did a "cvs up". Then
I think I did a "make distclean" and "./buildconf" because of Cliff's
changes to apr's configure.in. So either "make distclean" isn't as
clean as I thought, or I forgot to do it.
In any case, a fresh cvs checkout will cure it in the future if I need
to do something similar.
Greg