I have an Apache instance with
mod_suexec
enabled. I'm trying to debug a problem and am starting Apache with strace
to try and see what's happening.
However, when I start Apache like this:
# strace -f -o /tmp/apache.strace /etc/init.d/apache2 start
I get this in the error log:
suexec failure: could not open log file
fopen: Permission denied
However, when I start Apache normally, everything works correctly.
I presume that some mechanism in use by mod_suexec
is being upset by the use of strace
, but I'm unclear as to what exactly is happening. Is there any way of using strace
and having mod_suexec
work correctly?
Asked by Flup
(8335 rep)
Jul 10, 2014, 01:36 PM
Last activity: Aug 10, 2016, 11:46 PM
Last activity: Aug 10, 2016, 11:46 PM