FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Openwemail and speedy_suidperl peroblems
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



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.