[ mailman-Bugs-1305881 ] Problem creating list via web

SourceForge.net noreply at sourceforge.net
Thu Jan 5 16:34:08 CET 2006


Bugs item #1305881, was opened at 2005-09-27 08:49
Message generated for change (Comment added) made by echoism
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1305881&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Jon (jontek)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem creating list via web

Initial Comment:
I tried to create a list via:

https://www.mydomain.dom/mailman/create.

When filled all data, it replies with this message:

-------------------------------------

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/listname.mbox'



Python information:

Variable	Value
sys.version	2.3.4 (#2, Aug 6 2004, 21:29:10) [GCC
2.95.4 20020320 [FreeBSD]]
sys.executable	/usr/local/bin/python
sys.prefix	/usr/local
sys.exec_prefix	/usr/local
sys.path	/usr/local
sys.platform	freebsd4

Environment variables:

Variable	Value
HTTP_REFERER 	https://www.mydomain.dom/mailman/create
SERVER_SOFTWARE 	Apache/1.3.31 (Unix) mod_perl/1.29
PHP/4.3.8 mod_ssl/2.8.19 OpenSSL/0.9.7d
SCRIPT_NAME 	/mailman/create
SERVER_SIGNATURE 	
Apache/1.3.31 Server at www.mydomain.dom Port 443
REQUEST_METHOD 	POST
HTTP_KEEP_ALIVE 	300
SERVER_PROTOCOL 	HTTP/1.1
QUERY_STRING 	
CONTENT_LENGTH 	145
HTTP_ACCEPT_CHARSET 	ISO-8859-15,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT 	Mozilla/5.0 (X11; U; Linux i686;
es-ES; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian
package 1.0.7-1)
HTTP_CONNECTION 	keep-alive
HTTP_COOKIE 
POSTNUKESID=4b502f13b908db42087f9b9753295c78;
PHPSESSID=f7592dbf314acec6d743601e8cc3487f
SERVER_NAME 	www.mydomain.dom
REMOTE_ADDR 	83.33.129.253
SERVER_PORT 	443
SERVER_ADDR 	207.228.236.31
DOCUMENT_ROOT 	/usr/local/www/data/www.mydomain.dom
PYTHONPATH 	/usr/local/mailman
SCRIPT_FILENAME 	/usr/local/mailman/cgi-bin/create
SERVER_ADMIN 	webmaster at mydomain.dom
HTTP_HOST 	www.mydomain.dom
HTTPS 	on
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 	3249
HTTP_ACCEPT_LANGUAGE 	eu,es-es;q=0.7,es;q=0.3
CONTENT_TYPE 	application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING 	gzip,deflate
UNIQUE_ID 	QzlLGc-k7B8AAR2b2MM


---------------------------


Thanks

JOn

----------------------------------------------------------------------

Comment By: echoism (echoism)
Date: 2006-01-05 10:34

Message:
Logged In: YES 
user_id=1420107

I had this same problem.  It is a permission issue, because
the webserver doesn't have access to create a file in
/usr/local/mailman/archives/private.  This directory has
permissions of 750, owned by the mailman user.

The webserver, however, runs cgi scripts as nobody, not
mailman.  You can confirm this, by checking your
/usr/local/mailman/lists directory, the list you tried to
create should have a directory there, owned by nobody (or,
whatever account your webserver uses), as the permissions
for the lists directory permit write access.

----------------------------------------------------------------------

Comment By: Jon (jontek)
Date: 2005-09-27 09:44

Message:
Logged In: YES 
user_id=1352490

#/usr/local/mailman>/usr/local/mailman/bin/check_perms
No problems found
#/usr/local/mailman>  

----------------------------------------------------------------------

Comment By: Jon (jontek)
Date: 2005-09-27 09:32

Message:
Logged In: YES 
user_id=1352490

Thanks but it doesn't still work.  
  
I have done:  
/usr/local/mailman/bin/check_perms -f   
and fixed all the problems, but it still doesn't work.  
 
:o( 

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2005-09-27 09:21

Message:
Logged In: YES 
user_id=12800

Run bin/check_perms

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1305881&group_id=103


More information about the Mailman-coders mailing list