Hey all, I was creating a testlist via the web-admin thingy, when I got the following error after hitting the "create list" submit button. No message was sent to me about the new list, even though I requested it. I cross-tested this by using the bin/newlist command, which was successful (no errors) and sent me a message regarding the new list.
This seems to be a python permissions problem from the last line of the output. I'm running postfix on a redhat 7.3 box.
I'm more than comfortable adding all the lists via command line, but since this come up I guess someone else should know about it.
Kind Regards, Keith Mastin
============= Error:
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 "/web/mlib/data/mailman/scripts/driver", line 87, in run_main main() File "/web/mlib/data/mailman/Mailman/Cgi/create.py", line 55, in main process_request(doc, cgidata) File "/web/mlib/data/mailman/Mailman/Cgi/create.py", line 217, in process_request sys.modules[modname].create(mlist, cgi=1) File "/web/mlib/data/mailman/Mailman/MTA/Postfix.py", line 226, in create _update_maps() File "/web/mlib/data/mailman/Mailman/MTA/Postfix.py", line 47, in _update_maps raise RuntimeError, msg % (acmd, status, errstr) RuntimeError: command failed: /usr/sbin/postalias /web/mlib/data/mailman/data/aliases (status: 1, Operation not permitted)
Python information:
Variable Value sys.version 2.2.2 (#1, Nov 22 2002, 17:25:34) [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] sys.executable /usr/bin/python2 sys.prefix /usr sys.exec_prefix /usr sys.path /usr sys.platform linux2
Environment variables:
Variable Value HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 CONTENT_TYPE application/x-www-form-urlencoded HTTP_REFERER https://www.mcleodlakeindianband.com/mailman/create SERVER_SOFTWARE Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_auth_pam/1.1.1 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 PYTHONPATH /web/mlib/data/mailman SCRIPT_FILENAME /web/mlib/data/mailman/cgi-bin/create SERVER_ADMIN webmaster@mcleodlake.com SCRIPT_NAME /mailman/create SERVER_SIGNATURE REQUEST_METHOD POST HTTP_HOST www.mcleodlakeindianband.com HTTP_KEEP_ALIVE 300 HTTPS on SERVER_PROTOCOL HTTP/1.1 QUERY_STRING REQUEST_URI /mailman/create CONTENT_LENGTH 171 HTTP_ACCEPT_CHARSET ISO-8859-1, utf-8;q=0.66, *;q=0.66 HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 HTTP_CONNECTION keep-alive HTTP_COOKIE testlist+admin=280200000069fc623b3e732800000031656461623332376361316334663639313839313637336464616231326666616533663366666161; members+admin=28020000006994643b3e732800000037356534326339353866386137386363383064336439636430303838303462666331653666393138 SERVER_NAME www.mcleodlakeindianband.com REMOTE_ADDR 216.138.194.32 REMOTE_PORT 63243 HTTP_ACCEPT_LANGUAGE en-us, en;q=0.50 SERVER_PORT 443 GATEWAY_INTERFACE CGI/1.1 HTTP_ACCEPT_ENCODING gzip, deflate, compress;q=0.9 SERVER_ADDR 216.113.197.175 DOCUMENT_ROOT /web/mlib/html
- Keith Mastin (kmastin@beechtree.ca) wrote: [snip]
This seems to be a python permissions problem from the last line of the output. I'm running postfix on a redhat 7.3 box. [snip] RuntimeError: command failed: /usr/sbin/postalias /web/mlib/data/mailman/data/aliases (status: 1, Operation not permitted) [snip]
Your right. Check the permissions on /web/mlib/data/mailman/data/aliases See if it can be written by whatever user you specified in --with-cgi-gid= at compile time (the user the cgi scripts run as).
-- Matthew Davis http://dogpound.vnet.net/
Seen on BBSer's tombstone: CONNECT 1953, NO CARRIER 1994
participants (2)
-
Keith Mastin
-
Matthew Davis