Author: Vani
Date: 13-02-05 01:13
Hi,
I hope someone can help me this is driving me nuts. I have just installed a fresh copy of FreeBSD 5.3, and from the ports collection I installed perl5.8.6 and speedyCGI 2.221. Apache 2.053 with a working suexec is installed and working well.
When I open openwemail.pl in my brower I get an oh-so-vaugue "Internal Server Error". httpd-error.log reports:
[Sat Feb 12 17:04:30 2005] [error] [client 67.180.44.152] YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!, referer: http://webmail.arcosanti.org/openwebmail/redirect.html
[Sat Feb 12 17:04:30 2005] [error] [client 67.180.44.152] FIX YOUR KERNEL, PUT A C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP!, referer: http://webmail.arcosanti.org/openwebmail/redirect.html
[Sat Feb 12 17:04:30 2005] [error] [client 67.180.44.152] speedy_backend[61441]: perl_parse error, referer: http://webmail.arcosanti.org/openwebmail/redirect.html
[Sat Feb 12 17:04:31 2005] [error] [client 67.180.44.152] speedy[61439]: Cannot spawn backend process, referer: http://webmail.arcosanti.org/openwebmail/redirect.html
[Sat Feb 12 17:04:31 2005] [error] [client 67.180.44.152] Premature end of script headers: openwebmail.pl, referer: http://webmail.arcosanti.org/openwebmail/redirect.html
A simple perl test script from the same directory runs fine unless I use /usr/local/sbin/speedy_suid to run it. /usr/bin/perl works great.
In addition, if I run:
mail# /usr/local/bin/speedy_suidperl /usr/local/www/cgi-bin/openwebmail/openwebmail.pl
It outputs the HTML as it's supposed to. So everything works except apache isn't letting speedy_suidperl run for some reason.
Openwebmail requires speedyCGI though, correct? is there any way around this?!?!
Thanks in advance for any help,
-Vani
|
|