Hi,
I rebuilt mailman-2.1.5 to apply a patch (to handle UnicodeError in CodeRunner.py and ToDigest.py). AFAIK, I didn't change anything else. Now it's b0rked and I don't see why.
In a nutshell, when I go to my http://www.mydomain.com/mailman/admin/mylist, I get:
IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error'
FWIW, googling for the problem turns up a couple of other lists that are (or have been) b0rked in the same manner.
Assistance would be greatly appreciated.
Thanks.
David
### Here are the relevant permissions ###
drwxrwsr-x 2 root mailman 4096 Jun 4 09:08 /var/lib/mailman/logs/ -rw-rw-r-- 1 root mailman 33360 Jun 4 09:09 /var/lib/mailman/logs/error
### How I have it configured ###
GID="mailman" LIBDIR="/usr/local/mailman" STATEDIR="/var/mailman"
./configure
--prefix=$LIBDIR
--with-var-prefix=$STATEDIR
--with-mail-gid=$GID
--with-cgi-gid=apache
--with-username=mailman
--with-groupname=mailman
--with-mailhost=mail.example.com
--with-urlhost=www.example.com
### Here's the error screen ###
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/lib/mailman/scripts/driver", line 68, in run_main immediate=1) File "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__ Logger.__init__(self, category, nofail, immediate) File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 49, in __init__ self.__get_f() File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 67, in __get_f 1) File "/usr/lib/python2.3/codecs.py", line 566, in open file = __builtin__.open(filename, mode, buffering) IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error'
Python information:
Variable Value sys.version 2.3.3 (#2, Feb 17 2004, 11:45:40) [GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] sys.executable /usr/bin/python sys.prefix /usr sys.exec_prefix /usr sys.path /usr sys.platform linux2
Environment variables:
Variable Value SERVER_SOFTWARE Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.1.100mdk) PHP/4.3.4 SCRIPT_NAME /mailman/admin SERVER_SIGNATURE Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.1.100mdk) PHP/4.3.4 Server at www.domain.com Port 80 REQUEST_METHOD GET PATH_INFO /mailman SERVER_PROTOCOL HTTP/1.1 QUERY_STRING HTTP_ACCEPT_CHARSET us-ascii,utf-8;q=0.7,*;q=0.7 HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 Galeon/1.3.12 HTTP_CONNECTION close SERVER_NAME www.domain.com REMOTE_ADDR 10.2.3.4 PATH_TRANSLATED /var/www/domain/html/mailman SERVER_PORT 80 SERVER_ADDR 10.2.3.4 DOCUMENT_ROOT /var/www/domain/html PYTHONPATH /usr/lib/mailman SCRIPT_FILENAME /usr/lib/mailman/cgi-bin/admin SERVER_ADMIN root@localhost HTTP_HOST www.domain.com HTTP_CACHE_CONTROL max-age=0 REQUEST_URI /mailman/admin/mailman HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pla in;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 GATEWAY_INTERFACE CGI/1.1 REMOTE_PORT 59320 HTTP_ACCEPT_LANGUAGE en
On Mon, 7 Jun 2004 16:01:08 -0400 David Relson wrote:
Hi,
I rebuilt mailman-2.1.5 to apply a patch (to handle UnicodeError in CodeRunner.py and ToDigest.py). AFAIK, I didn't change anything else.
Now it's b0rked and I don't see why.
In a nutshell, when I go to my http://www.mydomain.com/mailman/admin/mylist, I get:
IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error'
FWIW, googling for the problem turns up a couple of other lists that are(or have been) b0rked in the same manner.
Assistance would be greatly appreciated.
Thanks.
David
Found the solution! All is now well.
"check_perms" found approx 2000 files having permissions it didn't like and "check_perms -f" fixed them. Mostly it was gid "root" vs "mailman".
Regards,
David
P.S. Info posted so that search engines can find it and help the next person who makes the same mistake.
participants (1)
-
David Relson