Received: (qmail 11965 invoked by uid 2012); 27 Feb 1998 01:53:17 -0000 Message-Id: <19980227015317.11964.qmail@hyperreal.org> Date: 27 Feb 1998 01:53:17 -0000 From: Steven Heicher Reply-To: hierchy@dec.burghcom.com To: apbugs@hyperreal.org Subject: suexec will not run X-Send-Pr-Version: 3.2 >Number: 1881 >Category: suexec >Synopsis: suexec will not run >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Thu Feb 26 19:10:00 PST 1998 >Last-Modified: Thu May 28 13:03:48 PDT 1998 >Originator: hierchy@dec.burghcom.com >Organization: >Release: 1.2.5 >Environment: Linux dec.burghcom.com 2.0.33 #1 Wed Dec 17 14:27:30 EST 1997 i686 unknown GCC/CC compilers >Description: I've run several scripts that are better off with the username/groupname being the same as the user (i.e. my file upload utility or my polling program). I've noticed that for some reason userid and groupid on each file created by the script is nobody instead of mine. We've also got two new virtual hosts running and it says suexec wrapper is required. I checked the httpd.h and the suexec.h files and they are set correctly. I've also recompiled it with new *.h files and set them all correctly. Still no cigar. I've even disabled the user and group for the virtualhosts. >How-To-Repeat: I really have no idea. If you had access to my server, I'd be able to help you out. Let me know if you need a special account created and I can do it, and I can give you something that will allow you to try it out for yourself. >Fix: non >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Thu Feb 26 19:13:34 PST 1998 State-Changed-Why: Are you getting a message in your error log when you start Apache saying suexec is enabled? If not, you don't have it in the right place or with the right permissions. What uid do you think they should run as? How are you setting that? Give an example URL that you think suexec should be invoked for. Are you sure the ownership of the files isn't left over from before suexec? Did you try running something that just runs id or something to see what uid they are running as? From: Marc Slemko To: Steven Heicher Cc: Apache bugs database Subject: Re: suexec/1881: suexec will not run Date: Fri, 27 Feb 1998 07:55:33 -0700 (MST) On Fri, 27 Feb 1998, Steven Heicher wrote: > This is what appears when I kill -9 and restart it. > > [Fri Feb 27 06:24:59 1998] created shared memory segment #1152 > [Fri Feb 27 06:24:59 1998] Server configured -- resuming normal operations If it doesn't tell you it is configured for suexec, it isn't. You had better double check where you have your suexec binary, that it is readable, executable, root owned, and setuid, and that it agrees with the location defined for it in the binary. State-Changed-From-To: analyzed-closed State-Changed-By: coar State-Changed-When: Thu May 28 13:03:48 PDT 1998 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]