[Mailman-Users] List Creation via web UI

Odhiambo Washington wash at wananchi.com
Thu Nov 2 18:29:18 CET 2006


* On 02/11/06 08:52 -0800, Mark Sapiro wrote:
| Odhiambo Washington wrote:
| 
| >I am trying, for the 1st time in my life with Mailman, to create a list 
| >via the web UI. I have read all the available doco, and I believe that
| >I have configured my setup properly.
| >`check_perms -f` says no error found,
| 
| 
| There may be a problem with check_perms. We won't know for sure until
| we find the immediate problem.

;-) It's the one that came with 2.1.9 (no local tweaks at all)


| >yet when I try to create a list,
| >the web UI says:
| >
| >"Bug in Mailman version 2.1.9 \
| >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"
| >
| >
| >Well the error itself from $Mailman_Home/logs/error is:
| >
| >Nov 02 19:07:39 2006 admin(69413): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
| >admin(69413): [----- Mailman Version: 2.1.9 -----]
| >admin(69413): [----- Traceback ------]
| >admin(69413): Traceback (most recent call last):
| >admin(69413):   File "/usr/local/mailman/scripts/driver", line 101, in run_main
| >admin(69413):     main()
| >admin(69413):   File "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main
| >admin(69413):     process_request(doc, cgidata)
| >admin(69413):   File "/usr/local/mailman/Mailman/Cgi/create.py", line 190, in process_request
| >admin(69413):     mlist.Create(listname, owner, pw, langs, emailhost)
| >admin(69413):   File "/usr/local/mailman/Mailman/MailList.py", line 493, in Create
| >admin(69413):     self.InitVars(name, admin, crypted_password)
| >admin(69413):   File "/usr/local/mailman/Mailman/MailList.py", line 404, in InitVars
| >admin(69413):     baseclass.InitVars(self)
| >admin(69413):   File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars
| >admin(69413):     os.mkdir(self.archive_dir()+'.mbox', 02775)
| >admin(69413): OSError: [Errno 13] Permission denied: '/usr/local/mailman/archives/private/potopoto.mbox'
| >admin(69413): [----- Python Information -----]
| 
| 
| Verify that the wrapper /usr/local/mailman/cgi-bin/create has
| permissions like
| 
| -rwxr-sr-x  1 root mailman
| 
| The critical things are the SETGID bit and group 'mailman'.

That was as expected.

| Then verify that the directories /usr/local/mailman/,
| /usr/local/mailman/archives/ and /usr/local/mailman/archives/private/
| are all group 'mailman' and group writeable.

/usr/local/mailman/archives/private/ was NOT group-writable. That was 
the problem.

Thank you so much. I am now 5 miles ahead.


        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington            		. WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com			. 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223			. # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121			. (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
						 --from a /. post



More information about the Mailman-Users mailing list