From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fo8xY-00064x-2r for garchives@archives.gentoo.org; Thu, 08 Jun 2006 01:05:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5813mN6014125; Thu, 8 Jun 2006 01:03:48 GMT Received: from manticore.garjasp.com (manticore.garjasp.com [69.56.173.64]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k580uCgQ019045 for ; Thu, 8 Jun 2006 00:56:12 GMT Received: from [67.185.3.45] (c-67-185-3-45.hsd1.wa.comcast.net [67.185.3.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by manticore.garjasp.com (Postfix) with ESMTP id 052515802B for ; Wed, 7 Jun 2006 17:56:08 -0700 (PDT) Message-ID: <44877586.3020403@gentoo.org> Date: Wed, 07 Jun 2006 17:55:34 -0700 From: "Michael Stewart (vericgar)" User-Agent: Thunderbird 1.5.0.2 (X11/20060524) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] apache2 and suEXEC errors References: <87fyihva01.fsf@newsguy.com> In-Reply-To: <87fyihva01.fsf@newsguy.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEB3DB5C9CB14CC53E5B2EADA" X-Archives-Salt: 1de9f6ca-d5e3-4191-9070-23cc3d7697d1 X-Archives-Hash: 6849f0a9b1aea1b624519a4dd5de928a This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEB3DB5C9CB14CC53E5B2EADA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable reader@newsguy.com wrote: > Running: > single user machine for experimentation >=20 > I have apache setup to allow user public_html and allow cgi execution > anywhere inside public_html. >=20 > The rub is that another cgi script causes a server error (posted > further along) >=20 > I have apache2 set to loglevel debug, I have ran the problem cgi > manually from cmdline and received no errors.=20 >=20 > It appears somethign isn't configured to allow suExec but I can't tell > what. I've made all settings that appeared to be related. The cgi is > chmod 755. >=20 > The log output seems too skimpy to see how to further debug this: >=20 > From /var/log/apache2/error_log > =3D=3D=3D=3D > [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] (13)Permission de= nied: exec of '/usr/sbin/suexec2' failed > [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] Premature end of = script headers: index.cgi >=20 >=20 The details of the error should be in /var/log/apache2/suexec_log Also, the permission denied error for suexec2 itself is strange. What are the permissions on suexec? They should be: -rws--x--- 1 root apache 15107 Jun 6 16:51 /usr/sbin/suexec2 --=20 Michael Stewart vericgar@gentoo.org Gentoo Developer http://dev.gentoo.org/~vericgar GnuPG Key ID 0x08614788 available on http://pgp.mit.edu -- --------------enigEB3DB5C9CB14CC53E5B2EADA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEh3WJ3v7BtghhR4gRAuiKAJ9d/Nd9bOjBSYqxGqXL5meUeHioMACfYSmt Z5BOLzqnSRQYI115UeFHjRY= =LCcQ -----END PGP SIGNATURE----- --------------enigEB3DB5C9CB14CC53E5B2EADA-- -- gentoo-user@gentoo.org mailing list