[Mailman-Users] error

Kris 'dJOEk' Vandecruys theduke at pandora.be
Thu Feb 1 23:39:31 CET 2001


On Thu, 1 Feb 2001, Dan Mick wrote:

> 
> > hi,
> > i did a by-the-README/INSTALL install of mailman 2.0.1 and i get this
> > error in my www.elog
> > 
> > [Thu Feb  1 14:18:02 2001] [error] (1)Operation not permitted: exec of
> > /opt/home/mailman/cgi-bin/admin failed
> 
> So, the completely-obvious questions are:
> 
> is it executable?  Is it executable by the user your web server runs
> CGIs as?
> 
> 


drwxrwsr-x    2 mailman  mailman      4096 Feb  1 22:58 .
drwxrwsr-x   18 mailman  mailman      4096 Feb  1 22:58 ..
-rwxr-sr-x    1 mailman  mailman     30794 Feb  1 22:58 admin
and the same for the other cgis

apache runs em as nobody, and i ./configured mailman with the
correct mail-gid and cgi-gid (got them out of sendmail.cf and httpd.conf
as described)

Everything works, except the web frontend... 

I get a server error 500

this is the error in my elog:
[Thu Feb  1 23:08:29 2001] [error] (1)Operation not permitted: exec of
/opt/home/mailman/cgi-bin/listinfo failed
[Thu Feb  1 23:08:29 2001] [error] [client 213.224.83.70] Premature end of
script headers: /opt/home/mailman/cgi-bin/listinfo

i tried taking the s-bit off the cgis, and then i get a different error:
(so that the scripts are run as nobody, not as mailman)
the page gives me 
1. Bug in mailman blah blah
from .elog -> can't write to error
changes perms of logs/error to 777 (temporary) 
2. Bug in mailman blah bla
from logs/errors -> can't read write config.db
course not, the thing runs as nobody and config.db is 
-rw-rw----    1 mailman  mailman      2931 Feb  1 23:13 config.db

I got it sorta running after a lot of shifting perms, but then the mail
part doesn't work anymore...

i thought about setting apache's gid to mailman but that would break the
other cgis, right ?

frankly i'm at a loss...
it's probably something silly that i'm overlooking, but a couple of
friends which also know what they are doing can't figure it out either

any suggestions are highly appreciated 

bye,
Kris







More information about the Mailman-Users mailing list