[Moin-user] problem with err_log

Paul Sorenson sosman at users.sourceforge.net
Tue May 21 05:40:02 EDT 2002

I just tried to fire up moin 1.0 for the first time on a RedHat linux 7.2
machine and httpd/err_log reports:

Traceback (most recent call last):
  File "/usr/share/moin/cgi-bin/moin.cgi", line 32, in ?
  File "/usr/lib/python2.1/site-packages/MoinMoin/cgimain.py", line 103, in
    sys.stderr = open(os.path.join(config.data_dir, 'err_log'), 'at')
IOError: [Errno 2] No such file or directory: 'data/err_log'

The setup was as per the example except the moin install path is
/usr/share/moin, not /usr/local/share/moin.  I believe I have the
permissions and ownership set ok.

When apache starts it reports
[Tue May 21 22:21:24 2002] [notice] Apache/1.3.22 (Unix)  (Red-Hat/Linux)
mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.5 OpenSSL/0.9.6b DAV/1.0.2
PHP/4.0.6 mod_perl/1.26 mod_throttle/3.1.2 configured -- resuming normal

I don't know how apache is configured to use Python 1.5.2 - I set the #! to
python 2.1 explicitly in moin.cgi.


More information about the Moin-user mailing list