3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Ref: Premature en...
FromSent OnAttachments
DieuMay 27, 2006 7:53 am 
Bernd WurstMay 27, 2006 8:08 am 
Jérôme BlionMay 27, 2006 8:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Ref: Premature end of script headersActions...
From:Jérôme Blion (jero@free.fr)
Date:May 27, 2006 8:17:45 am
List:net.sourceforge.lists.courier-users

Dieu a écrit :

Hello everybody,

I am a newbie in courier-mta and Linux community.

These 2 days, after very hard, I installed the courier-mta in my fedora linux box.

However, I could not access to webadmin from Apache webserver. The display on the web page was "Internal server error" and log file as below:

[root@test2 httpd]# tail /var/log/httpd/ssl_error_log

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] Premature end of script headers: webadmin

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] failed to open log file

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] fopen: Permission denied

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] Premature end of script headers: webadmin

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] failed to open log file

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] fopen: Permission denied

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] Premature end of script headers: webadmin

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] failed to open log file

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] fopen: Permission denied

[Sat May 27 21:33:59 2006] [error] [client 192.168.1.130] Premature end of script headers: webadmin

Searching on internet about "Premature end of script headers" was no help to me.

Does anyone know what is the reason cause this error ?

Due to a newbie, configure from web access is my easy way to run linux soft. I appreciate any help from any good person.

Nice weekend,

Dieu Quan

Hello, Did you made good cp for the 2 cgi binaries ? For example, on my box: serveur:/usr/lib/courier/libexec/courier/webmail# cp -p * /usr/local/apache2/cgi-bin/

HTH/. Jerome Blion.