[Moin-user] problem with err_log
Patrick K. O'Brien
pobrien at orbtech.com
Tue May 21 06:21:02 EDT 2002
Moin can't find your data directory. Try running the diagnostics. Instead of
just running moin.cgi, add ?test to the end of the url, like this:
www.example.com/cgi-bin/moin.cgi?test
You'll get back a web page in your browser similar to this, which shows you
the directories Moin expects to be able to find:
MoinMoin CGI Diagnosis
======================
Package "MoinMoin" sucessfully imported.
Release 1.1
Revision 1.160
Checking directories...
data directory tests OK (set to '/home/pobrien/moin/orbtech/data')
text directory tests OK (set to '/home/pobrien/moin/orbtech/data/text')
user directory tests OK (set to '/home/pobrien/moin/orbtech/data/user')
backup directory tests OK (set to
'/home/pobrien/moin/orbtech/data/backup')
Found an external diff: "diff - GNU diffutils version 2.7"
Server Environment:
ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST!
---
Patrick K. O'Brien
Orbtech
> -----Original Message-----
> From: moin-user-admin at lists.sourceforge.net
> [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Paul Sorenson
> Sent: Tuesday, May 21, 2002 7:39 AM
> To: moin-user at lists.sourceforge.net
> Subject: [Moin-user] problem with err_log
>
>
> 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 ?
> cgimain.run()
> File "/usr/lib/python2.1/site-packages/MoinMoin/cgimain.py",
> line 103, in
> run
> 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
> operations
>
> 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.
>
> Regards
More information about the Moin-user
mailing list