[Moin-user] moin --start on windows? (1.8)

John_Nowlan john_nowlan at carleton.ca
Thu Nov 20 12:49:30 EST 2008


I'm trying to config daemonize moin on a windows box. I've been running
moin 1.5.3 on a unix box.

I can run standalone fine, but if I try:

Edit wikiserver.py:
sys.argv = ["moin.py", "server", "standalone", "--start"]

Then:
E:\moin\moin-1.8.0>e:\Python26\python wikiserver.py
2008-11-20 12:15:08,157 INFO MoinMoin.log:124 using logging
configuration read f
rom "E:\moin\moin-1.8.0\wikiserverlogging.conf"
Traceback (most recent call last):
  File "wikiserver.py", line 38, in <module>
    MoinScript().run()
  File "E:\moin\moin-1.8.0\MoinMoin\script\__init__.py", line 138, in
run
    self.mainloop()
  File "E:\moin\moin-1.8.0\MoinMoin\script\__init__.py", line 255, in
mainloop
    plugin_class(args[2:], self.options).run() # all starts again there
  File "E:\moin\moin-1.8.0\MoinMoin\script\__init__.py", line 138, in
run
    self.mainloop()
  File "E:\moin\moin-1.8.0\MoinMoin\script\server\standalone.py", line
129, in m
ainloop
    daemon.do_start()
  File "E:\moin\moin-1.8.0\MoinMoin\server\daemon.py", line 94, in
do_start
    self.daemonize()
  File "E:\moin\moin-1.8.0\MoinMoin\server\daemon.py", line 188, in
daemonize
    if os.fork():   # launch child and...
AttributeError: 'module' object has no attribute 'fork'

Is this a bug? I do not see it listed at http://moinmo.in/MoinMoinBugs

I get the same thing when I try:
E:\moin\wikis\add>e:\Python26\python moin --config-dir=e:\moin\wikis\add
server standalone --docs=e:\moin\moin-1.8.0\wiki\htdocs --start

Trying to run my own wiki instance.
I assume this is a bug but am not confident with the file copying/setup
I have done.
Anyone know of a work around to put moin in daemon mode on windows,
other than not use windows?

I wanted to run moin standalone behind apache.

Anyone running moin1.8 on windows using these other options that could
work for me?
Other options:
- Wsgi mode with apache?
- fcgi with apache
- iis (how do I authenticate? Can use 'built in' authentication w\iis?
Anyone doing ldap?)






More information about the Moin-user mailing list