send the output of the following command: ps aux|grep httpd
> Date: Tue, 4 Jun 2013 03:56:19 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > root@nikos [/home/nikos/www/cgi-bin]# chmod 755 /var/log/httpd/suexec.log > > root@nikos [/home/nikos/www/cgi-bin]# ls -l /var/log/httpd/suexec.log > -rwxr-xr-x 1 root apache 0 Jun 1 02:52 /var/log/httpd/suexec.log* > > root@nikos [/home/nikos/www/cgi-bin]# chmod 755 > /usr/local/apache/logs/error_log > > root@nikos [/home/nikos/www/cgi-bin]# ls -l /usr/local/apache/logs/error_log > -rwxr-xr-x 1 root root 32414017 Jun 4 13:51 /usr/local/apache/logs/error_log* > > root@nikos [/home/nikos/www/cgi-bin]# chown root:apache > /usr/local/apache/logs/error_log > root@nikos [/home/nikos/www/cgi-bin]# ls -l /usr/local/apache/logs/error_log > > -rwxr-xr-x 1 root apache 32414017 Jun 4 13:51 > /usr/local/apache/logs/error_log* > root@nikos [/home/nikos/www/cgi-bin]# > > > Now the error i get whn trying to run my scgi script via browser is > > 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 > [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] fopen: Permission > denied > [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] Premature end of > script headers: koukos.py > [Tue Jun 04 13:55:26 2013] [error] [client 46.12.95.59] File does not exist: > /home/nikos/public_html/500.shtml > > > I just don't get it..... > I chmod'ed > i chown'ed > > Why still doesn't work? > -- > http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list