You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jana Nguyen <ja...@gmail.com> on 2007/04/06 23:43:48 UTC

Re: [users@httpd] Re: apache Permission denied: exec

Hi Paul,

> >
> > [Wed Apr 04 20:47:58 2007] [error] [client 192.168.200.111]
> > (13)Permission denied: exec of
> > '/usr/local/openra/httpd/cgi-bin/ra/RAServer' failed

Fedora enabled selinux with force mode as default, after making it
permissive I no longer get the "Permission denied" exec of.

But my error of "Premature end of script headers: RAServer" still exist:
[Fri Apr 06 13:06:37 2007] [error] [client 127.0.0.1] Premature end of
script headers: RAServer.

Although, RAServer is owned and run by apache, not sure why I'm having
this problem, could it be with suEXEC?  So would it be wise to disable
suExec for the time being?

Thanks.

---------------------------------------------------------------------
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


[users@httpd] Re: apache Permission denied: exec

Posted by paul <pa...@subsignal.org>.
Jana Nguyen schrieb:
> Hi Paul,
> 
>> >
>> > [Wed Apr 04 20:47:58 2007] [error] [client 192.168.200.111]
>> > (13)Permission denied: exec of
>> > '/usr/local/openra/httpd/cgi-bin/ra/RAServer' failed
> 
> Fedora enabled selinux with force mode as default, after making it
> permissive I no longer get the "Permission denied" exec of.
> 
> But my error of "Premature end of script headers: RAServer" still exist:
> [Fri Apr 06 13:06:37 2007] [error] [client 127.0.0.1] Premature end of
> script headers: RAServer.
> 
> Although, RAServer is owned and run by apache, not sure why I'm having
> this problem, could it be with suEXEC?  So would it be wise to disable
> suExec for the time being?
Honestly, I don't know. "Premature end of script headers" usually means
the script has syntax errors or does otherwise generate invalid output.
If the error is related to suEXEC apache would tell you with apropriate
error level set. Maybe running RAServer from the command line (with sudo
as user apache) would help to trac down the error but you would need to
recreate the CGI environment somehow...

cheers
 Paul


---------------------------------------------------------------------
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