[Ayuda] Premature end of scrip
Javier Delgado
javierd en paralax.com.mx
Vie Mayo 31 10:42:39 CDT 2002
At 09:29 p.m. 31/05/2002 -0500, you wrote:
>Estoy rpbando, presisamente OpenWebMail y me sale este error ya cheque y
>tengo todo lo que me pide el programa, y en mis logs me sale esto:
>
>[Fri May 31 08:22:01 2002] [error] [client 132.248.56.8] Premature end of
>script headers: /usr/local/apache/cgi-bin/openwebmail/checkmail.pl
>Can't do setuid
>
>no se porque me sale esto, tengo todos los permisos correctos.
En el faq dice que cuando recibes ese error deber checar estos arcchivos:
openwebmail.pl, openwebmail-main.pl,
openwebmail-read.pl, openwebmail-viewatt.pl,
openwebmail-send.pl, openwebmail-spell.pl,
openwebmail-prefs.pl, openwebmail-folder.pl and checkmail.pl
los permisos deben ser:
mode=4555
owner=root
group=mail
>Otros problemas son:
1. Please check you have installed a complete set of perl 5.005 or above.
And You uncompress the openwebmail-1.xx.tgz with proper parameter.
It should be "tar -zxvBpf openwebmail-1.xx.tgz"
3. Your perl may be compiled with suid ability disabled.
a. check if you have a executable of suidperl,
then 'chmod 4555 suidperl'
and change #!/usr/bin/perl to the path of this suidperl
b. Or recompile your perl with suid enabled
Here are the steps:
1. grab the perl source tar ball
2. sh Configure -de (de means default perl config)
3. edit config.sh and set this :
d_dosuid='define'
d_suidsafe='undef'
4. then make, make install (make suidperl if needed)
(thanks to Nemo Kaiser, nemoo.AT.users.sourceforge.net)
c. Or use uty/suidwrap.pl to generate C wrappers for all suid scripts.
Here are the steps:
1. cd cgi-bin/openwebmail
2. perl uty/wrapsuid.pl /fullpath/cgi-bin/openwebmail
All suid scripts will be renamed to .scriptname.pl and
the C wrapper will be generated and named as script.pl
(thanks to Chris Heegard, heegard.AT.NativeI.com)
4. The MIME::Base64 or CGI module on your system may be too old
a. install MIME-Base64-2.12.tar.gz
b. install CGI.pm-2.74.tar.gz
5. Please install the libnet-1.0901.tar.gz, this is required since
version 1.60.
ps: In most cases, you can run the './openwebmail.pl' in text terminal
to get more information about the error.
PPtros probaralax Multimedia
www.paralax.com.mx
Interactivos, kioscos, sites, web hosting, video 3d, animacion 3d, anaglifos
tel 5373 3620 y 5363 4953
Naucalpan de Juarez, Edo. Mex.
tambien visite:
http://www.kaliman.com.mx
http://www.paralax.com.mx/javier
_______________________________________________
Ayuda mailing list
Ayuda en linux.org.mx
Para salir de la lista: http://mail.linux.org.mx/mailman/listinfo/ayuda/
Más información sobre la lista de distribución Ayuda