[Mailman-Users] Error when creating lists on the Web interface

Michael Thompson mike at thompsonmike.co.uk
Thu Jan 6 14:30:14 CET 2005


When I try to create a new list using the Web interface, i get the
following nasty looking error screen in the browser

Bug in Mailman version 2.1.5

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 (most recent call last):
  File "/usr/local/mailman/scripts/driver", line 87, in run_main
    main()
  File "/usr/local/mailman/Mailman/Cgi/create.py", line 55, in main
    process_request(doc, cgidata)
  File "/usr/local/mailman/Mailman/Cgi/create.py", line 187, in
process_request
    mlist.Create(listname, owner, pw, langs, emailhost)
  File "/usr/local/mailman/Mailman/MailList.py", line 457, in Create
    self.InitVars(name, admin, crypted_password)
  File "/usr/local/mailman/Mailman/MailList.py", line 372, in InitVars
    baseclass.InitVars(self)
  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 95, in
InitVars
    os.mkdir(self.archive_dir()+'.mbox', 02775)
OSError: [Errno 13] Permission denied:
'/usr/local/mailman/archives/private/announce.mbox'

Python information:

Variable	Value
sys.version	2.3.4 (#1, Oct 27 2004, 02:38:58) [GCC 3.3.4 20040623
(Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)]
sys.executable	/usr/bin/python
sys.prefix	/usr
sys.exec_prefix	/usr
sys.path	/usr
sys.platform	linux2

Environment variables:

Variable	Value
HTTP_COOKIE
phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D;
LastVisit=1105015650; evo_style=Variation; theme=XSilver; geeklog=2;
password=783504edcb122df28a56e94b32f778f1
SERVER_SOFTWARE 	Apache
SCRIPT_NAME 	/mailman/create
SERVER_SIGNATURE 	
Apache Server at www.thompsonmike.co.uk Port 80
REQUEST_METHOD 	POST
HTTP_KEEP_ALIVE 	300
SERVER_PROTOCOL 	HTTP/1.1
QUERY_STRING 	
CONTENT_LENGTH 	140
HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
rv:1.7.5) Gecko/20041110 Firefox/1.0
HTTP_CONNECTION 	keep-alive
HTTP_REFERER 	http://www.thompsonmike.co.uk/mailman/create
SERVER_NAME 	www.thompsonmike.co.uk
REMOTE_ADDR 	192.168.1.14
SERVER_PORT 	80
SERVER_ADDR 	192.168.1.1
DOCUMENT_ROOT 	/var/www/localhost/htdocs
PYTHONPATH 	/usr/local/mailman
SCRIPT_FILENAME 	/usr/local/mailman/cgi-bin/create
SERVER_ADMIN 	webmaster at thompsonmike.co.uk
HTTP_HOST 	www.thompsonmike.co.uk
REQUEST_URI 	/mailman/create
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
GATEWAY_INTERFACE 	CGI/1.1
REMOTE_PORT 	1306
HTTP_ACCEPT_LANGUAGE 	en-gb,en;q=0.5
CONTENT_TYPE 	application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING 	gzip,deflate
UNIQUE_ID 	@z7PxX8AAAEAABGKR1QAAAAB

Is this a simple as changing the permissions of the directory it is
complaing about, or something else?

The permissions of /usr/local/mailman/archives/private/ is:

root at polaris / # ls -all /usr/local/mailman/archives/private/
total 16
drwxr-x--x  4 mailman mailman 4096 Jan  6 10:08 .
drwxrwsr-x  4 mailman mailman 4096 Jan  6 10:06 ..
-rw-r--r--  1 mailman mailman    0 Jan  6 10:06 .keep
drwxrwxr-x  4 mailman mailman 4096 Jan  6 10:11 mailman
drwxrwxr-x  2 mailman mailman 4096 Jan  6 10:11 mailman.mbox

Every thing else in the web interface is fine, all works nicly.
I can create a list by :

bin/newlist

as the mailman user, it is purly the web interface.

Anyone got any ideas to help out a clueless newbie?

Many Thanks for your time!!

Mike....



More information about the Mailman-Users mailing list