Re: [users@httpd] When suexec won't log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/7/06, reader@xxxxxxxxxxx <reader@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux