[Mailman-Users] more 2.0beta6 problems

Dan Mick Dan.Mick at west.sun.com
Thu Sep 28 23:03:23 CEST 2000


So my *guess* is that request.db, set to rw-r--r--, can't be written by the
admin script, because the admin script is not running as "mailman",
nor as group "mailman", most-likely, because it's running from your
Web server as a CGI script.

My request.db is rw-rw-r--, and "nobody/mailman" for owner/group.
I don't know how it got that way, but it seems to work that way.
I'll bet if you change it, it works for you too ('nobody' is who the CGI
user is on my system).

I'll see if I can't find out how that file gets created for a new list.

Chris Hedemark wrote:
> 
> Sure did.  Several times, in fact (with the "-f" flag until it came clean).

Sorry for implying that you didn't, but you didn't say so, so I had no way to 
know that you had.

> Check this out:
> 
> [root at gilligan nbo]# /home/mailman/bin/check_perms
> No problems found
> [root at gilligan nbo]# pwd
> /home/mailman/lists/nbo
> [root at gilligan nbo]# ls -l
> total 60
> -rw-r--r--    1 mailman  mailman      1098 Sep 25 16:26 admindbpreamble.html
> -rw-rw----    1 nobody   mailman      4683 Sep 28 14:51 config.db
> -rw-rw----    1 nobody   mailman      4683 Sep 28 14:51 config.db.last
> -rw-r--r--    1 mailman  mailman       189 Sep 25 16:26 handle_opts.html
> -rw-r--r--    1 mailman  mailman      3136 Sep 25 16:26 listinfo.html
> -rw-rw-r--    1 mailman  mailman      4121 Sep 28 14:07 next-digest
> -rw-rw-r--    1 mailman  mailman       105 Sep 28 14:07 next-digest-topics
> -rw-r--r--    1 mailman  mailman      4106 Sep 25 16:26 options.html
> -rw-r--r--    1 mailman  mailman       675 Sep 27 17:00 request.db
> -rw-r--r--    1 mailman  mailman      1169 Sep 25 16:26 roster.html
> -rw-r--r--    1 mailman  mailman       185 Sep 25 16:26 subscribe.html
> [root at gilligan nbo]#
> 
> -----Original Message-----
> From: Dan Mick [mailto:Dan.Mick at west.sun.com]
> Sent: Thursday, September 28, 2000 4:34 PM
> To: Chris Hedemark; mailman-users at python.org
> Subject: Re: [Mailman-Users] more 2.0beta6 problems
> 
> Did you run check_perms after the upgrade?  Try it now..
> 
> If it seems to work, do ls -l on /home/mailman/lists/nbo/request.db
> 
> > Chris Hedemark wrote:
> >
> > The following problem was hit when I tried to do admin work on one of my
> mailing lists.  This didn't happen until the
> > upgrade from 2.0Beta2 to 2.0beta6.
> >
> > Bug in Mailman version 2.0beta6
> >
> > We're sorry, we hit a bug!
> >
> > If you would like to help us identify the problem, please email a copy of
> this page to the webmaster for this site
> > with a description of what happened. Thanks!
> >
> > Traceback:
> >
> > Traceback (innermost last):
> >   File "/home/mailman/scripts/driver", line 96, in run_main
> >     main()
> >   File "/home/mailman/Mailman/Cgi/admindb.py", line 97, in main
> >     mlist.Save()
> >   File "/home/mailman/Mailman/MailList.py", line 845, in Save
> >     self.SaveRequestsDb()
> >   File "/home/mailman/Mailman/ListAdmin.py", line 93, in SaveRequestsDb
> >     self.__closedb()
> >   File "/home/mailman/Mailman/ListAdmin.py", line 80, in __closedb
> >     fp = open(self.__filename, 'w')
> > IOError: [Errno 13] Permission denied:
> '/home/mailman/lists/nbo/request.db'
> >
> >
> ----------------------------------------------------------------------------
> ------------------------------------------
> >
> > Python information:
> >
> >     Variable                                      Value
> >  sys.version    1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66
> 19990314/Linux (egcs-
> >  sys.executable /usr/bin/python
> >  sys.prefix     /usr
> >  sys.exec_prefix/usr
> >  sys.path       /usr
> >  sys.platform   linux-i386
> >
> >
> ----------------------------------------------------------------------------
> ------------------------------------------
> >
> > Environment variables:
> >
> >        Variable
> Value
> >  DOCUMENT_ROOT       /home/httpd/cgi-bin
> >  SERVER_ADDR         207.59.44.131
> >  HTTP_ACCEPT_ENCODINGgzip, deflate
> >  SERVER_PORT         80
> >  PATH_TRANSLATED     /home/httpd/cgi-bin/nbo
> >  REMOTE_ADDR         207.59.44.251
> >  HTTP_ACCEPT_LANGUAGEen-us
> >  GATEWAY_INTERFACE   CGI/1.1
> >  SERVER_NAME         lists.bops.com
> >  HTTP_CONNECTION     Keep-Alive
> >  HTTP_USER_AGENT     Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
> >
> >  HTTP_ACCEPT         application/vnd.ms-powerpoint,
> application/vnd.ms-excel, application/msword, image/gif, image/x-xbitmap,
> image/jpeg,
> >                      image/pjpeg, */*
> >  REQUEST_URI         /mailman/admindb/nbo
> >  PATH                /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> >  QUERY_STRING
> >  SCRIPT_FILENAME     /home/mailman/cgi-bin/admindb
> >  PATH_INFO           /nbo
> >  HTTP_HOST           lists.bops.com
> >  REQUEST_METHOD      GET
> >  SERVER_SIGNATURE    Apache/1.3.12 Server at lists.bops.com Port 80
> >  SCRIPT_NAME         /mailman/admindb
> >  SERVER_ADMIN        webmaster at bops.com
> >  SERVER_SOFTWARE     Apache/1.3.12 (Unix) (Red Hat/Linux)
> >  PYTHONPATH          /home/mailman
> >  HTTP_COOKIE
> nbo:admin=2802000000694493d3397328000000656535336461366530336433356165366161
> 65663961386162653836366131616262363664643239
> >  SERVER_PROTOCOL     HTTP/1.1
> >  REMOTE_PORT         15165
> >  HTTP_REFERER        http://lists.bops.com/mailman/admin/nbo
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users




More information about the Mailman-Users mailing list