It appears that the effective user of the script does not have permission to open the log file
that the suexec call requires.
- fopen reported "permission denied", presumably on the logfile
- suexec, receiving the fopen "permission denied" error, reported "could not open log file"
These errors, in turn, seem to have prematurely terminated the script headers that you use in your
koukos.py script, causing the koukos.py script to fail. This caused apache to report (with a generic
and inappropriate error message) that the shtml file that invokes the script failed.
check the user, group, and permissions of the suexec log file, and adjust your script's owner
accordingly.
HTH
--
Lew Pitcher
"In Skills, We Trust"