<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>send the output of the following command:<br><br>ps aux|grep httpd<br><br><br><div>> Date: Tue, 4 Jun 2013 03:56:19 -0700<br>> Subject: Re: Apache and suexec issue that wont let me run my python script<br>> From: nikos.gr33k@gmail.com<br>> To: python-list@python.org<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# chmod 755 /var/log/httpd/suexec.log<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# ls -l /var/log/httpd/suexec.log<br>> -rwxr-xr-x 1 root apache 0 Jun  1 02:52 /var/log/httpd/suexec.log*<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# chmod 755 /usr/local/apache/logs/error_log<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# ls -l /usr/local/apache/logs/error_log<br>> -rwxr-xr-x 1 root root 32414017 Jun  4 13:51 /usr/local/apache/logs/error_log*<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# chown root:apache /usr/local/apache/logs/error_log<br>> root@nikos [/home/nikos/www/cgi-bin]# ls -l /usr/local/apache/logs/error_log<br>> <br>> -rwxr-xr-x 1 root apache 32414017 Jun  4 13:51 /usr/local/apache/logs/error_log*<br>> root@nikos [/home/nikos/www/cgi-bin]#<br>> <br>> <br>> Now the error i get whn trying to run my scgi script via browser is<br>> <br>> root@nikos [/home/nikos/www/cgi-bin]# [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] suexec failure: could not open log file<br>> [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] fopen: Permission denied<br>> [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] Premature end of script headers: koukos.py<br>> [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml<br>> <br>> <br>> I just don't get it.....<br>> I chmod'ed<br>> i chown'ed<br>> <br>> Why still doesn't work?<br>> -- <br>> http://mail.python.org/mailman/listinfo/python-list<br></div>                                          </div></body>
</html>