Re[4]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-22 Thread ralph

Hi Richard and Tokio,

i tried executing admin from the shell as nobody and it did work.
(there was some html-ouput)

So there must be a problem with the apache configuration.

Here are my changes to httpd.conf:

VirtualHost x.x.x.x:80
ServerName xxx.xxx
SuexecUserGroup nobody nobody
DocumentRoot /usr/local/mailman/
ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
Alias /pipermail/ /usr/local/mailman/archives/public/
CustomLog /var/log/httpd/mailmanhttpd_access.log %h %l %u %t \%r\ %s %b 
\%{Referer}i\ \%{User-agent}i\
ErrorLog /var/log/httpd/mailmanhttpd_error.log
/VirtualHost

Are there any other settings which are important? i can't find
anything in the installation instructions..

Thanks again..
Ralph


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re[5]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-22 Thread ralph

i found this in the suexec-log (of apache):

uid: (99/nobody) gid: (99/99) cmd: admin
cannot run as forbidden uid (99/admin)

?! why is this uid forbidden? where to configure?



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-22 Thread Tokio Kikuchi

i tried executing admin from the shell as nobody and it did work.
(there was some html-ouput)
So there must be a problem with the apache configuration.
Here are my changes to httpd.conf:
VirtualHost x.x.x.x:80
ServerName xxx.xxx
SuexecUserGroup nobody nobody
You have suexec turned on. Mailman cgi is setgid but apache suexec
refuses to execute s[ug]id program. Googling by 'mailman suexec' hits
this page.
http://www.pookey.co.uk/suexec-mailman.xml
--
Tokio Kikuchi tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-21 Thread Tokio Kikuchi
Hi,
http://myserver/mailman/admin
Internal Server Error

The httpd-log says: Premature End of script headers: admin
What do you get if you cd prefix/cgi-bin ; ./admin ?
--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-20 Thread ralph

Hello everyone,

i noticed that other people have a similiar issue, but there was no
help yet.

I installed mailman and after doing the necessary changes to
httpd.conf i tried to check out if the cgi will work or not. and it does not.

http://myserver/mailman/admin

will give a

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time 
the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

The httpd-log says: Premature End of script headers: admin

apache runs the cgi-bin as user/group: nobody

where is the error? i followed the instructions..

seems that something's wrong with python?!!

thanks!

Ralph

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-20 Thread Richard Barrett
Anything logged in the Mailman error log ($prefix/logs/error)?
What OS? What version of MM? How installed?
On 20 Aug 2004, at 17:52, [EMAIL PROTECTED] wrote:
Hello everyone,
i noticed that other people have a similiar issue, but there was no
help yet.
I installed mailman and after doing the necessary changes to
httpd.conf i tried to check out if the cgi will work or not. and it 
does not.

http://myserver/mailman/admin
will give a
Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform 
them of the time the error occurred, and anything you might have done 
that may have caused the error.
More information about this error may be available in the server error 
log.

The httpd-log says: Premature End of script headers: admin
apache runs the cgi-bin as user/group: nobody
where is the error? i followed the instructions..
seems that something's wrong with python?!!
thanks!
Ralph
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 
http://www.mail-archive.com/mailman-users%40python.org/

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re[2]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers

2004-08-20 Thread ralph

Hi Richard!

There's no log in $prefix/logs/error.. does that mean apache doesn't
even start the cgi?

My versions:

RedHat 9
Apache 2.0.48
Python 2.3.4
Mailman 2.1.5

I installed following the INSTALL-Instructions..
(compiling etc. i arrived at httpd.conf and did the changes..)

I just upgraded to Python 2.3.4 and recompiled mailman but the
error still occurs.


 Anything logged in the Mailman error log ($prefix/logs/error)?
 What OS? What version of MM? How installed?


 Hello everyone,

 i noticed that other people have a similiar issue, but there was no
 help yet.

 I installed mailman and after doing the necessary changes to
 httpd.conf i tried to check out if the cgi will work or not. and it
 does not.

 http://myserver/mailman/admin

 will give a

 Internal Server Error
 The server encountered an internal error or misconfiguration and was
 unable to complete your request.
 Please contact the server administrator, [EMAIL PROTECTED] and inform 
 them of the time the error occurred, and anything you might have done
 that may have caused the error.
 More information about this error may be available in the server error
 log.

 The httpd-log says: Premature End of script headers: admin

 apache runs the cgi-bin as user/group: nobody

 where is the error? i followed the instructions..

 seems that something's wrong with python?!!

 thanks!



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/