[Moin-user] Installation problem

Markus Gritsch gritsch at iue.tuwien.ac.at
Sun Aug 11 23:55:02 EDT 2002


Karl Schmid wrote:
> Hi,
> 
> I tried to install MoinMoin 1.0 on a RedHat 7.3 Linux system. All the
> installation instructions were followed carefully (I successfully
> installed MoinMoin on SuSE 8.0 systems).
> 
> However, I can not get it to work when I try to access the front page. I
> get server error 500 and the following error message from Apache:
> 
> Traceback (innermost last):
>   File "/usr/local/share/moin/genwiki/moin.cgi", line 2, in ?
>     from MoinMoin import cgimain
> ImportError: No module named MoinMoin
> [Sun Aug 11 23:57:37 2002] [error] [client 217.3.224.152] Premature end
> of script headers: /usr/local/share/moin/genwiki/moin.cgi
> 
> Interestingly, when I start python from the command line on this machine
> (as user root) I can import the MoinMoin module and even get html output
> (as text, of course...):
> 
> [root at kiwi genwiki]# python
> Python 2.2.1 (#1, Jul  2 2002, 12:37:29)
> [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>import MoinMoin
>>>>from MoinMoin import cgimain
>>>>cgimain.run()
>>>
> <html><head>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=iso-8859-1">
> <title>FrontPage - An Unnamed MoinMoin Wiki</title>
> <meta name="KEYWORDS" content="Front, Page">
> <link rel="stylesheet" type="text/css" href="/wiki/css/moinmoin.css">
> <link rel="Start" href="FrontPage">
> 
> Any idea what I could do to solve the problem? Maybe I am missing
> something obvious here...

*) user and group id is set according to the webservers' one? (as told 
on 
http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/HelpOnInstalling_2fApacheOnUnix)

*) Is Python 2.0 or higher installed and available as the command python 
  for the webserver user?

Markus





More information about the Moin-user mailing list