[Mailman-Users] making a replica

Dave Stern - Former Rocket Scientist dave at umiacs.umd.edu
Wed Jul 14 21:53:23 CEST 2004

I've  got a mm2.0.12 running just fine on a sol8 host with sendmail8.12.10

The software, aliases file and web tree are all automounted from elsewhere.
I've replicated the above as well as mount points onto another machine
for the purpose of testing migration (I Know, just update over the original
but we don't do things that way around here. Otherwise, we wouldn't be so
far behind the curve ;).

In any case, before I play around with it, I gotta get the replica working
with the old version. The only change to the local httpd.conf is the server
name (it already has ScriptAliases   etc). In the webroot, I have a redirect
in both to the mailman tree ie from http://hostname to 
http://hostname/mailman/admin    and this part is obviously working as when
I got to http://hostname, I am redirected but then get:

Bug in Mailman version 2.0.12

We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly
inhibited, but the webmaster can find this information in the Mailman error logs.

The mailman error log is somewhat more informative but I still can't make
heads or tails of it. It appears to claim there's a permission prob on a list
(3dpvt) But I doublechecked that.  I even re-ran check_perms -f

Jul 14 15:39:10 2004 admin(18426): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(18426): [----- Mailman Version: 2.0.12 -----]
admin(18426): [----- Traceback ------]
admin(18426): Traceback (most recent call last):
admin(18426):   File "/fs/mailman/scripts/driver", line 96, in run_main
admin(18426):     main()
admin(18426):   File "/fs/mailman/Mailman/Cgi/admin.py", line 63, in main
admin(18426):     FormatAdminOverview()
admin(18426):   File "/fs/mailman/Mailman/Cgi/admin.py", line 201, in FormatAdminOverview
admin(18426):     l = MailList.MailList(n, lock=0)
admin(18426):   File "/fs/mailman/Mailman/MailList.py", line 79, in __init__
admin(18426):     self.Load()
admin(18426):   File "/fs/mailman/Mailman/MailList.py", line 892, in Load
admin(18426):     dict, e = self.__load(dbfile)
admin(18426):   File "/fs/mailman/Mailman/MailList.py", line 869, in __load
admin(18426):     fp = open(dbfile)
admin(18426): IOError: [Errno 13] Permission denied: '/fs/mailman/lists/3dpvt/config.db'
admin(18426): [----- Python Information -----]
admin(18426): sys.version    = 2.1.2 (#1, Feb  5 2002, 12:02:08) 
[GCC 2.95.3 20010315 (release)]
admin(18426): sys.executable = /usr/local/bin/python
admin(18426): sys.prefix     = /usr/local/bin/../stow/python
admin(18426): sys.exec_prefix= /usr/local/bin/../stow/python
admin(18426): sys.path       = /usr/local/bin/../stow/python
admin(18426): sys.platform   = sunos5
admin(18426): [----- Environment Variables -----]
admin(18426):   DOCUMENT_ROOT: /fs/lists/htdocs
admin(18426):   SERVER_ADDR:
admin(18426):   HTTP_ACCEPT_ENCODING: gzip
admin(18426):   SERVER_PORT: 80
admin(18426):   PATH_TRANSLATED: /fs/lists/htdocs/
admin(18426):   HTTP_CONNECTION: Keep-Alive
admin(18426):   GATEWAY_INTERFACE: CGI/1.1
admin(18426):   HTTP_ACCEPT_LANGUAGE: en
admin(18426):   REMOTE_ADDR:
admin(18426):   SERVER_NAME: ronco.umiacs.umd.edu
admin(18426):   TZ: US/Eastern
admin(18426):   HTTP_USER_AGENT: Mozilla/4.76 [en] (X11; U; SunOS 5.8 sun4u)
admin(18426):   HTTP_ACCEPT_CHARSET: iso-8859-1,*,utf-8
admin(18426):   HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
admin(18426):   REQUEST_URI: /mailman/admin/
admin(18426):   QUERY_STRING: 
admin(18426):   SCRIPT_FILENAME: /fs/mailman/cgi-bin//admin
admin(18426):   PATH_INFO: /
admin(18426):   HTTP_HOST: ronco.umiacs.umd.edu
admin(18426):   REQUEST_METHOD: GET
admin(18426):   SERVER_SIGNATURE: <ADDRESS>Apache/1.3.26 Server at ronco.umiacs.umd.edu Port 80</ADDRESS>

admin(18426):   SCRIPT_NAME: /mailman/admin
admin(18426):   SERVER_ADMIN: dave at umiacs.umd.edu
admin(18426):   SERVER_SOFTWARE: Apache/1.3.26 (Unix) mod_ssl/2.8.10 OpenSSL/0.9.6g
admin(18426):   PYTHONPATH: /fs/mailman
admin(18426):   SERVER_PROTOCOL: HTTP/1.0
admin(18426):   REMOTE_PORT: 48343
% ls -l /fs/mailman/lists/3dpvt2004/config.db
-rw-rw----   1 mailman  mailman   1150076 Jul 14 03:53 /fs/mailman/lists/3dpvt/config.db

I can't imagine what dependancy between the two hosts I forgot. I did turn 
off the mailman crontabs on the new host so the lists wont conflict with the 
live lists in sending out updates but it shouldn't need qrunner to just view 
the mailman webpage, right.



  =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
  David Stern                                            University of Maryland
                 Institute for Advanced Computer Studies

More information about the Mailman-Users mailing list