[Mailman-Users] error

Tony Abbott tabbott at systemsfusion.com
Fri Feb 2 22:07:51 CET 2001


Sounds very much like permissions to me. check permissions further up the
tree. Make sure that all the parent directorys are at least o+x. If you're 
running redhat and used useradd to create your mailman user I'd start with 
   ls -lad /opt/home/mailman

-t


On Thu, Feb 01, 2001 at 11:39:31PM +0100, Kris 'dJOEk' Vandecruys wrote:
> 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
> 
> 
> 
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users

-- 

   Tony Abbott				tabbott at systemsfusion.com





More information about the Mailman-Users mailing list