[Mailman-Users] Re: upgrade problem
Chuck Peters
cp at axs.org
Thu Dec 26 01:16:28 CET 2002
Paul H Byerly wrote:
> At 12:22 PM 12/25/2002, you wrote:
>
>> When I tried to upgrade to 2.1rc1 I had the following problem:
>>
>> [root at kocurek mailman-2.1rc1]# cd /usr/local/mailman/bin/
>> [root at kocurek bin]# ./check_perms
>> Could not import paths!
>>
>> This probably means that you are trying to run check_perms from the
>> source
>> directory. You must run this from the installation directory instead.
>>
>> Traceback (most recent call last):
>> File "./check_perms", line 38, in ?
>> import paths
>> File "./paths.py", line 55, in ?
>> import japanese
>> ImportError: No module named japanese
>
>
> I belive this is a python error. Are you running at least Python
> 2.1?
I had a similiar problem after the upgrade from 2.1b3+CVS to 2.1rc1.
$ python -V
Python 2.1.3
$ whoami
mailman
$ bin/check_perms
directory permissions must be 02775:
/usr/local/mailman/lists/starrymessenger/en
directory permissions must be 02775: /usr/local/mailman/templates/et
directory permissions must be 02775: /usr/local/mailman/templates/lt
directory permissions must be 02775: /usr/local/mailman/templates/sv
directory permissions must be 02775: /usr/local/mailman/messages/et
directory permissions must be 02775: /usr/local/mailman/messages/lt
directory permissions must be 02775: /usr/local/mailman/messages/sv
mbox file must be at least 0660:
/usr/local/mailman/archives/private/cclug.mbox/cclug.mbox
mbox file must be at least 0660:
/usr/local/mailman/archives/private/cclug-announce.mbox/cclug-announce.mbox
Problems found: 9
Re-run as mailman (or root) with -f flag to fix
$ ls -l /usr/local/mailman/archives/private/cclug.mbox/cclug.mbox
-rw-r--r-- 1 mailman mailman 76240 Oct 23 18:38
/usr/local/mailman/archives/private/cclug.mbox/cclug.mbox
$ ls -l
/usr/local/mailman/archives/private/cclug-announce.mbox/cclug-announce.mbox
-rw-r--r-- 1 mailman mailman 19029 Oct 8 01:01
/usr/local/mailman/archives/private/cclug-announce.mbox/cclug-announce.mbox
$ bin/check_perms -f
directory permissions must be 02775:
/usr/local/mailman/lists/starrymessenger/en (fixing)
Traceback (most recent call last):
File "bin/check_perms", line 349, in ?
checkall()
File "bin/check_perms", line 167, in checkall
os.path.walk(d, checkwalk, STATE)
File "/usr/lib/python2.2/posixpath.py", line 287, in walk
walk(name, func, arg)
File "/usr/lib/python2.2/posixpath.py", line 287, in walk
walk(name, func, arg)
File "/usr/lib/python2.2/posixpath.py", line 279, in walk
func(arg, top, names)
File "bin/check_perms", line 123, in checkwalk
os.chmod(path, mode | targetperms)
OSError: [Errno 1] Operation not permitted:
'/usr/local/mailman/lists/starrymessenger/en'
Thanks,
Chuck
Chuck Peters, Systems Administrator, Network Engineer and Linux Tech.
StarrySkies Network, http://StarrySkies.com, publishing science articles
since 1995. http://StarrySkies.Net, an online science community.
http://StarryMessenger.Net, the weekly newsletter of StarrySkies.
More information about the Mailman-Users
mailing list