To All, When I and a customer of mine attempt to create a List in Mailman under SLES10 in the Mailman Web admin UI, we get the below error. I have look at Google and mailman-users list archives and cannot find a solution yet. NOTE: If I go to /usr/lib/mailman/bin/ and execute the command ./newlist <newListNameToCreate> IT WORKS FINE , but not under the web console..... I have Sendmail working with Mailman. Postfix is not an option. NOTE: the below info, under the Error is the Mailman error log : /var/lib/mailmain/logs/error log during the attempt to create any list from the Mailman Webpage I see the error in the log with the list name I try to create ("list1", etc) admin(10317): OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/list1.mbox' So looks like a permission problem. I ran ./check_perms and then check_db - Did not help.
I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in mailman. Did not do this. I see that the user "mailman" in the "mailman group is the owner of the mailman files and directories, but after running the ./check_perms now "root" is the owner of the "mailman" group, however he is not a part of the group, so I made him a member - Same problem, even after restaring mailman with ./mailmanctl restart I noticed that /var/lib/mailman/archives/private was owned by the "mailman" owner, so I did a chown -R for the owner "root" that is a member of the "mailman" group, still same error. Thanks for your assistance,Bob Perez (bpe...@novell.com) >>>>>>>>>>>>>>>>>>>>>>>>> ERROR <<<<<<<<<<<<<<<<<<<<<<<<<<< Bug in Mailman version 2.1.7 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. <<<<<<<<<<<<<<<<<<<<< End Error >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Mailman Error log called "error" <<<<<<<<<<<<<<<<<<<<<<<< Jun 22 12:54:38 2012 admin(10317): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(10317): [----- Mailman Version: 2.1.7 -----] admin(10317): [----- Traceback ------] admin(10317): Traceback (most recent call last): admin(10317): File "/usr/lib/mailman/scripts/driver", line 101, in run_main admin(10317): main() admin(10317): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in main admin(10317): process_request(doc, cgidata) admin(10317): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 190, in process_request admin(10317): mlist.Create(listname, owner, pw, langs, emailhost) admin(10317): File "/usr/lib/mailman/Mailman/MailList.py", line 491, in Create admin(10317): self.InitVars(name, admin, crypted_password) admin(10317): File "/usr/lib/mailman/Mailman/MailList.py", line 402, in InitVars admin(10317): baseclass.InitVars(self) admin(10317): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars admin(10317): os.mkdir(self.archive_dir()+'.mbox', 02775) admin(10317): OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/list1.mbox' admin(10317): [----- Python Information -----] admin(10317): sys.version = 2.4.2 (#1, May 6 2011, 13:26:21) [GCC 4.1.2 20070115 (SUSE Linux)] admin(10317): sys.executable = /usr/bin/python admin(10317): sys.prefix = /usr admin(10317): sys.exec_prefix = /usr admin(10317): sys.path = /usr admin(10317): sys.platform = linux2 admin(10317): [----- Environment Variables -----] admin(10317): HTTP_COOKIE: mailman+admin=280200000069f4bce44f732800000062643461386231656464376339616138636339626463396363323732386139393963333030316633; ZNPCQ003-38343200=cec434a7 admin(10317): SERVER_SOFTWARE: Apache/2.2.3 (Linux/SUSE) admin(10317): SCRIPT_NAME: /mailman/create admin(10317): SERVER_SIGNATURE: <address>Apache/2.2.3 (Linux/SUSE) Server at bperez12.lab.novell.com Port 80</address> admin(10317): admin(10317): REQUEST_METHOD: POST admin(10317): SERVER_PROTOCOL: HTTP/1.1 admin(10317): QUERY_STRING: admin(10317): CONTENT_LENGTH: 150 admin(10317): HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 admin(10317): HTTP_CONNECTION: keep-alive admin(10317): HTTP_REFERER: http://bperez12.lab.novell.com/mailman/create admin(10317): SERVER_NAME: bperez12.lab.novell.com admin(10317): REMOTE_ADDR: 151.155.215.15 admin(10317): SERVER_PORT: 80 admin(10317): SERVER_ADDR: 151.155.215.12 admin(10317): DOCUMENT_ROOT: /srv/www/htdocs admin(10317): PYTHONPATH: /usr/lib/mailman admin(10317): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/create admin(10317): SERVER_ADMIN: [no address given] admin(10317): HTTP_HOST: bperez12.lab.novell.com admin(10317): REQUEST_URI: /mailman/create admin(10317): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 admin(10317): GATEWAY_INTERFACE: CGI/1.1 admin(10317): REMOTE_PORT: 51614 admin(10317): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(10317): CONTENT_TYPE: application/x-www-form-urlencoded admin(10317): HTTP_ACCEPT_ENCODING: gzip, deflate Jun 22 13:06:29 2012 mailmanctl(10820): Primary start-up and shutdown script for Mailman's qrunner daemon. This script starts, stops, and restarts the main Mailman queue runners, making sure that the various long-running qrunners are still alive and kicking. It does this by forking and exec'ing the qrunners and waiting on their pids. When it detects a subprocess has exited, it may restart it. The qrunners respond to SIGINT, SIGTERM, and SIGHUP. SIGINT and SIGTERM both cause the qrunners to exit cleanly, but the master will only restart qrunners that have exited due to a SIGINT. SIGHUP causes the master and the qrunners to close their log files, and reopen then upon the next printed message. The master also responds to SIGINT, SIGTERM, and SIGHUP, which it simply passes on to the qrunners (note that the master will close and reopen its own log files on receipt of a SIGHUP). The master also leaves its own process id in the file data/master-qrunner.pid but you normally don't need to use this pid directly. The `start', `stop', `restart', and `reopen' commands handle everything for you. Usage: ./mailmanctl [options] [ start | stop | restart | reopen ] Options: -n/--no-restart Don't restart the qrunners when they exit because of an error or a SIGINT. They are never restarted if they exit in response to a SIGTERM. Use this only for debugging. Only useful if the `start' command is given. -u/--run-as-user Normally, this script will refuse to run if the user id and group id are not set to the `mailman' user and group (as defined when you configured Mailman). If run as root, this script will change to this user and group before the check is made. This can be inconvenient for testing and debugging purposes, so the -u flag means that the step that sets and checks the uid/gid is skipped, and the program is run as the current user and group. This flag is not recommended for normal production environments. Note though, that if you run with -u and are not in the mailman group, you may have permission problems, such as begin unable to delete a list's archives through the web. Tough luck! -s/--stale-lock-cleanup If mailmanctl finds an existing master lock, it will normally exit with an error message. With this option, mailmanctl will perform an extra level of checking. If a process matching the host/pid described in the lock file is running, mailmanctl will still exit, but if no matching process is found, mailmanctl will remove the apparently stale lock and make another attempt to claim the master lock. -q/--quiet Don't print status messages. Error messages are still printed to standard error. -h/--help Print this message and exit. Commands: start - Start the master daemon and all qrunners. Prints a message and exits if the master daemon is already running. stop - Stops the master daemon and all qrunners. After stopping, no more messages will be processed. restart - Restarts the qrunners, but not the master process. Use this whenever you upgrade or update Mailman so that the qrunners will use the newly installed code. reopen - This will close all log files, causing them to be re-opened the next time a message is written to them Jun 22 13:06:29 2012 mailmanctl(10820): Jun 22 13:06:29 2012 mailmanctl(10820): No command given. Jun 22 13:29:56 2012 (10942) admin.py access for non-existent list: create Jun 22 13:30:37 2012 admin(10975): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(10975): [----- Mailman Version: 2.1.7 -----] admin(10975): [----- Traceback ------] admin(10975): Traceback (most recent call last): admin(10975): File "/usr/lib/mailman/scripts/driver", line 101, in run_main admin(10975): main() admin(10975): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in main admin(10975): process_request(doc, cgidata) admin(10975): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 190, in process_request admin(10975): mlist.Create(listname, owner, pw, langs, emailhost) admin(10975): File "/usr/lib/mailman/Mailman/MailList.py", line 491, in Create admin(10975): self.InitVars(name, admin, crypted_password) admin(10975): File "/usr/lib/mailman/Mailman/MailList.py", line 402, in InitVars admin(10975): baseclass.InitVars(self) admin(10975): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars admin(10975): os.mkdir(self.archive_dir()+'.mbox', 02775) admin(10975): OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/list2.mbox' admin(10975): [----- Python Information -----] admin(10975): sys.version = 2.4.2 (#1, May 6 2011, 13:26:21) [GCC 4.1.2 20070115 (SUSE Linux)] admin(10975): sys.executable = /usr/bin/python admin(10975): sys.prefix = /usr admin(10975): sys.exec_prefix = /usr admin(10975): sys.path = /usr admin(10975): sys.platform = linux2 admin(10975): [----- Environment Variables -----] admin(10975): HTTP_COOKIE: ZNPCQ003-38343200=cec434a7 admin(10975): SERVER_SOFTWARE: Apache/2.2.3 (Linux/SUSE) admin(10975): SCRIPT_NAME: /mailman/create admin(10975): SERVER_SIGNATURE: <address>Apache/2.2.3 (Linux/SUSE) Server at bperez12.lab.novell.com Port 80</address> admin(10975): admin(10975): REQUEST_METHOD: POST admin(10975): SERVER_PROTOCOL: HTTP/1.1 admin(10975): QUERY_STRING: admin(10975): CONTENT_LENGTH: 150 admin(10975): HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 admin(10975): HTTP_CONNECTION: keep-alive admin(10975): HTTP_REFERER: http://bperez12.lab.novell.com/mailman/create admin(10975): SERVER_NAME: bperez12.lab.novell.com admin(10975): REMOTE_ADDR: 151.155.215.15 admin(10975): SERVER_PORT: 80 admin(10975): SERVER_ADDR: 151.155.215.12 admin(10975): DOCUMENT_ROOT: /srv/www/htdocs admin(10975): PYTHONPATH: /usr/lib/mailman admin(10975): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/create admin(10975): SERVER_ADMIN: [no address given] admin(10975): HTTP_HOST: bperez12.lab.novell.com admin(10975): REQUEST_URI: /mailman/create admin(10975): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 admin(10975): GATEWAY_INTERFACE: CGI/1.1 admin(10975): REMOTE_PORT: 51812 admin(10975): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(10975): CONTENT_TYPE: application/x-www-form-urlencoded admin(10975): HTTP_ACCEPT_ENCODING: gzip, deflate Jun 22 13:33:52 2012 admin(11043): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(11043): [----- Mailman Version: 2.1.7 -----] admin(11043): [----- Traceback ------] admin(11043): Traceback (most recent call last): admin(11043): File "/usr/lib/mailman/scripts/driver", line 101, in run_main admin(11043): main() admin(11043): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in main admin(11043): process_request(doc, cgidata) admin(11043): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 190, in process_request admin(11043): mlist.Create(listname, owner, pw, langs, emailhost) admin(11043): File "/usr/lib/mailman/Mailman/MailList.py", line 491, in Create admin(11043): self.InitVars(name, admin, crypted_password) admin(11043): File "/usr/lib/mailman/Mailman/MailList.py", line 402, in InitVars admin(11043): baseclass.InitVars(self) admin(11043): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars admin(11043): os.mkdir(self.archive_dir()+'.mbox', 02775) admin(11043): OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/list2.mbox' admin(11043): [----- Python Information -----] admin(11043): sys.version = 2.4.2 (#1, May 6 2011, 13:26:21) [GCC 4.1.2 20070115 (SUSE Linux)] admin(11043): sys.executable = /usr/bin/python admin(11043): sys.prefix = /usr admin(11043): sys.exec_prefix = /usr admin(11043): sys.path = /usr admin(11043): sys.platform = linux2 admin(11043): [----- Environment Variables -----] admin(11043): HTTP_COOKIE: ZNPCQ003-38343200=cec434a7 admin(11043): SERVER_SOFTWARE: Apache/2.2.3 (Linux/SUSE) admin(11043): SCRIPT_NAME: /mailman/create admin(11043): SERVER_SIGNATURE: <address>Apache/2.2.3 (Linux/SUSE) Server at bperez12.lab.novell.com Port 80</address> admin(11043): admin(11043): REQUEST_METHOD: POST admin(11043): SERVER_PROTOCOL: HTTP/1.1 admin(11043): QUERY_STRING: admin(11043): CONTENT_LENGTH: 150 admin(11043): HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 admin(11043): HTTP_CONNECTION: keep-alive admin(11043): HTTP_REFERER: http://bperez12.lab.novell.com/mailman/create admin(11043): SERVER_NAME: bperez12.lab.novell.com admin(11043): REMOTE_ADDR: 151.155.215.15 admin(11043): SERVER_PORT: 80 admin(11043): SERVER_ADDR: 151.155.215.12 admin(11043): DOCUMENT_ROOT: /srv/www/htdocs admin(11043): PYTHONPATH: /usr/lib/mailman admin(11043): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/create admin(11043): SERVER_ADMIN: [no address given] admin(11043): HTTP_HOST: bperez12.lab.novell.com admin(11043): REQUEST_URI: /mailman/create admin(11043): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 admin(11043): GATEWAY_INTERFACE: CGI/1.1 admin(11043): REMOTE_PORT: 51819 admin(11043): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(11043): CONTENT_TYPE: application/x-www-form-urlencoded admin(11043): HTTP_ACCEPT_ENCODING: gzip, deflate
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org