[Moin-user] '/usr/local/var/moin/bwiki/data/event-log' is not writable!

Paul Mackinney paul at me.berkeley.edu
Thu May 25 13:14:12 EDT 2006


I'm trying to get MoinMoin going, have followed all the steps for
Apache w/cgi, plan to use mod_python once the cgi version is working.

The initial test page showed 2 problems:


First problem:

 *** The log '/usr/local/var/moin/bwiki/data/event-log' is not writable!

The data directory is owned by apache:apache, which is correct for my
system, and had rwxrwx--- permissions, per the docs I made apache:apache
the owner of all files, with permission mask 770 or 660.

Making the data folder world-writable solves the problem, but the 
event-log file that got created was owned by apache:apache, so why 
is this necessary? It contradicts all the safety/sanity warnings in the 
docs.


Second problem:

testBasicPackageThings (MoinMoin._tests.test_packages.UnsafePackageTestcase) ... ERROR

I have no idea what these means or what to do about it.

Any help appreciated. The complete diagnostic follows.

PM



MoinMoin Diagnosis
======================

Release 1.5.3
Revision release
Python version 2.4.1 (#1, May 16 2005, 15:19:29) 
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
Python installed to /usr
PyXML is installed
Python Path:
   ..
   /usr/local/var/moin/bwiki/cgi-bin
   /usr/lib/python24.zip
   /usr/lib/python2.4
   /usr/lib/python2.4/plat-linux2
   /usr/lib/python2.4/lib-tk
   /usr/lib/python2.4/lib-dynload
   /usr/lib/python2.4/site-packages
   /usr/lib/python2.4/site-packages/Numeric
   /usr/lib/python2.4/site-packages/gtk-2.0
Checking directories...
    data directory tests OK (set to '/usr/local/var/moin/bwiki/data')
    user directory tests OK (set to '/usr/local/var/moin/bwiki/data/user')
*** The log '/usr/local/var/moin/bwiki/data/event-log' is not writable!

Server Environment:
    ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST!

Unit Tests:
error: access error like a dict ... ok
error: create with encoded string ... ok
error: create with any object ... ok
error: create with unicode ... ok
testQuoting (MoinMoin._tests.test_packages.QuotingTestCase) ... ok
testBasicPackageThings (MoinMoin._tests.test_packages.UnsafePackageTestcase) ... ERROR
Page: page.exists() finds existing pages only ... ok
PageEditor: expand @USERNAME@ CamelCase ... ok
PageEditor: expand @USERNAME@ extended name - enabled ... ok
PageEditor: expand @MAILTO@ ... ok
PageEditor: expand user variables ... ok
PageEditor: expand general variables ... ok
pysupport: import existing wiki plugin ... ok
pysupport: import name from existing module ... ok
pysupport: import nonexistent attritbue raises AttributeError ... ok
pysupport: import nonexistent module raises ImportError ... ok
pysupport: import nonexistent wiki plugin fail ... ok
request: getPageNameFromQueryString: ascii ... ok
request: getPageNameFromQueryString: non ascii ... ok
request: getPageNameFromQueryString: under_score ... ok
request: normalize pagename: restrict groups to alpha numeric Unicode ... ok
request: httpDate default rfc1123 ... ok
request: httpDate rfc850 ... ok
request: normalize pagename: normalize slashes ... ok
request: normalize pagename: normalize whitespace ... ok
request: normalize pagename: remove invalid unicode chars ... ok
request: normalize pagename: underscore convert to spaces and normalized ... ok
search: quoting bug - unquoted terms ... ok
search: quoting bug - quoted terms ... ok
user: encode ascii password ... ok
user: encode unicode password ... ok
user: isValidName: reject group names ... ok
user: isValidName: reject unicode non alpha numeric characters ... ok
user: isValidName: accept names in any language, with spaces ... ok
user: isValidName: reject leading, trailing or multiple whitespace ... ok
user: login with ascii password ... ok
user: login with non-ascii password in pre 1.3 user file ... ok
user: login replace old non-ascii password in pre 1.3 user file ... ok
user: login with non-ascii password ... ok
util.lock: ExclusiveLock: acquire ... ok
util.lock: ExclusiveLock: acquire after timeout ... ok
util.lock: ExclusiveLock: lock is exclusive ... ok
util.lock: ExclusiveLock: exists ... ok
util.lock: ExclusiveLock: expire ... ok
util.lock: ExclusiveLock: isExpired ... ok
util.lock: ExclusiveLock: isLocked ... ok
util.lock: ExclusiveLock: release ... ok
util.lock: ExclusiveLock: raise ValueError for timeout < 2.0 ... ok
util.mail: encode address: 'Phrase <local at domain>' ... ok
util.mail: encode Uncode address: '???? <local at domain>' ... ok
util.mail: encode address with empty address: 'Phrase <>' ... ok
util.mail: encode address with empty phrase: '<local at domain>' ... ok
util.mail: encode invalid address 'Phrase <blah' ... ok
util.mail: encode simple address: local at domain ... ok
util.mail: decoding spam safe mail ... ok
util.web: make query sting from argument ... ok
util.web: make query sting from argument and keywords ... ok
util.web: make query sting from keywords ... ok
util.web: creating html select with no selection ... ok
util.web: creating html select with non existing selection ... ok
util.web: creating html select with selected item ... ok
widget.html: append to and extend composite element ... ok
widget.html: creating html widgets ... ok
widegt.html: invalid attributes raises exception ... ok
wikiacl: allow extra white space between entries ... ok
wikiacl: bad guy may not allowed anything ... ok
wikiacl: default meta acl ... ok
wikiacl: empty acl string raise StopIteration ... ok
wikiacl: empty names with rights ... ok
wikiacl: empty rights ... ok
wikiacl: ignore rights not in acl_rights_valid ... ok
wikiacl: ignore invalid acl ... ok
wikiacl: mixed wiki names and names with spaces ... ok
wikiacl: acl modifiers ... ok
wikiacl: multiple entries ... ok
wikiacl: multiple entries with spaces ... ok
wikiacl: multiple names with spaces ... ok
wikiacl: single name with spaces ... ok
wikiacl: single wiki name, single right ... ok
wikiacl: white space acl string raise StopIteration ... ok
wikiacl: applying acl by user name ... ok
wikidicts: create dict from keys and values in text ... ok
wikidict: names in SystemPagesGroup should be in request.dicts ... ok
wikidicts: initFromText: CamelCase links ... ok
wikidicts: initFromText: extended link ... ok
wikidicts: initFromText: extended names ... ok
wikidicts: initFromText: ignore anything but first level list itmes ... ok
wikidicts: initFromText: ignore non first level items ... ok
wikidicts: initFromText: strip whitespace around items ... ok
wikimacro: trivial macro works ... ok
wikiutil: good system page names accepted, bad rejected ... ok
wikiutil: good template names accepted, bad rejected ... ok
wikixml.marshal: create new marshal ... ok
wikixml.marshal: setting marshal property ... ok

======================================================================
ERROR: testBasicPackageThings (MoinMoin._tests.test_packages.UnsafePackageTestcase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/MoinMoin/_tests/test_packages.py", line 54, in setUp
    raise TestSkipped('This test needs to be run using the test wiki.')
TestSkipped: This test needs to be run using the test wiki.

----------------------------------------------------------------------
Ran 94 tests in 6.115s

FAILED (errors=1)


-- 
Paul Mackinney
paul at me.berkeley.edu





More information about the Moin-user mailing list