httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] When suexec won't log
Date Wed, 07 Jun 2006 13:14:39 GMT
On 6/7/06, reader@newsguy.com <reader@newsguy.com> wrote:
> Running Gentoo Linux -kernel 2.6.16
> Apache/2.0.58
>
> I'm getting the dread 'Premature end of script headers: index.cgi'
> and another along with it saying suexec failed due to :
>   Permission denied: exec of '/usr/sbin/suexec2' failed
>
> I think I've checked all the items needed for suEXEC to work but
> apparently I'm missing something vital.
>
> All documentation on the subject suggest to read suexec log for
> guidance.   I'm not getting any logging from suexec.
>
> Compile time option show it should be loggging at:
>   -D AP_LOG_EXEC="/var/log/apache2/suexec_log"
>
> But it isn't logging there or anywhere else under /var/log.
>
> I do see the suexec enabled message on apache startup, in its logs.
>
> How can I debug further with no help from suexec2?

It is not the logging that is failing but the launch of suexec.  What
are the permissions on suexec2 and what user is apache being launched
as?  Are you running SELinux or something similar?

Some extra info on the config can be obtained from httpd -V and suexec
-V (run as root).

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message