Need help: MoinMoin wiki installation

apps

#1

MoinMoin homepage: http://moinmoin.wikiwikiweb.de/FrontPage

The URL for my wiki setup is:
spiritfall.showscout.net/cgi-bin/moin.cgi

I’ve tried everything, and still cannot get this to work.

I installed the newest version of Python in my /bin too. The CGI is setup to find it.

Here’s the killer: If I execute the CGI in a shell while logged in through SSH, everything works. I get the HTML source that I should be seeing if viewed through a browser.

However, I always get an Internal Server Error through the web. Checking the error logs, I have:
failed to open log file
fopen: Permission denied
[Thu Jul 22 11:49:58 2004] [error] [client 128.193.162.66] Premature end of script headers: /home/showscout/spiritfall.com/moin.cgi

I have set all the permissions correctly (I think) and have no directories or files that are group writable, per Dreamhost’s instructions.

I’ve double and triple checked all the log files that I can find, and all the permissions seem to be okay.

I’ve read everything I can on the MoinMoin wiki site, and the Dreamhost KnowledgeBase and anything else I can find, and I’m still stuck.

Any help is appreciated. Thanks in advance.

Update: I found this article "Installing MoinMoin at DreamHost"
http://www.wombatnation.com/misc/installMoinMoinDreamHost.html

but had the exact same results, and the instructions were pretty much the same.


#2

I can’t look into this tonight, but I’ll give MoinMoin 1.2.3 a try tomorrow night or this weekend. I’m still running MoinMoin 1.1 right now on my site.

Robert
http://www.wombatnation.com/


#3

One good thing to verify is that your install of python is really being used. See this older post for info on how to see which version of Python is being used to run cgi scripts via HTTP. Run it from the same directory that moin.cgi is in.

Robert
http://www.wombatnation.com/


#4

I’ve got MoinMoin 1.2.3 working now on my site. I discovered an error in my install instructions.

sys.path.append(’/home/username/domainname.com/wiki’)

should be

sys.path.append(’/home/username/wiki’)

There were also some instructions near the end (the ones referring to the contents of the htdocs directory) that are no longer needed. I’ve updated my MoinMoin install instructions.

As much as I like Python, JSPWiki is a heckuva lot easier to install than MoinMoin. But, you need to be able to run JSPs and servlets. All like-minded individuals, please join me in voting on the Suggestions page for Tomcat support.

Robert
http://www.wombatnation.com/


#5

IT WORKS!!!

Thank you so much for your help. Here’s the rundown:

Apparently my local installation of Python 2.3 wasn’t working entirely correctly or something. I ran that Python test script that you linked up, and while I could execute it from the command line with python2.3, I could never get it to run from the browser. So, for now, I went back to the older versions of Python.

So, I did a completely new install, following your updated instructions. All was well until I tried the moin.cgi?test and was getting an Internal Server Error again. I tracked it down in the error logs to something about “False” not being defined. I had previously seen this mentioned on this page: http://moinmoin.wikiwikiweb.de/MoinMoinQuestions and since the default Python is 2.1.3, that was obviously my problem.

Next, I thought I might see if I could tweak the setup of my Python2.3 install. However, I revisited this page: https://panel.dreamhost.com/kbase/index.cgi?area=2434&keyword=python
and noticed that the “User Post” from 2003-03-06 also mentions that Python2.2 is installed and can be specified. (I wonder if 2.3 is also setup this way, I’ll have to check that later).

So, I went back to moin.cgi, changed the top line to add python2.2, then I went to run the test, and for the first time ever I saw the results of moin.cgi?test. Everything checks out OK, except it says that some log file is not writable, but when I look for it in my folders, I can’t even find it. I can make changes, and they’re recorded, so it looks like this install is successful.

So, as of now, I have Moin 1.2.3 running with Python2.2.

Thanks again so much for your help.

Now off to changing URLs and customizing the CSS of MoinMoin…