I have a private wiki, so I need to setup my own mw-serve. When I try to run it with the --clean-cache option it fails (silently). I can run it with
sudo mw-serve which produces the following (partial) output: 2009-02-02T11:19:52 mw-serve.info >> serving http on 0.0.0.0:8899 2009-02-02T11:19:57 mwlib.serve.info >> Creating directory '/var/cache/ mw-serve/f' 2009-02-02T11:19:57 mwlib.serve.info >> Creating directory '/var/cache/ mw-serve/f/f5' 2009-02-02T11:19:57 mwlib.serve.info >> Creating directory '/var/cache/ mw-serve/f/f5/f51755db6facf3a9' 2009-02-02T11:19:57 mwlib.serve.info >> render f51755db6facf3a9 rl 2009-02-02T11:19:57 mwlib.serve.info >> rendering '/var/cache/mw-serve/ f/f5/f51755db6facf3a9/output.rl' 2009-02-02T11:19:57 mwlib.serve.info >> queueing ['mw-render', '-- logfile', '/var/cache/mw-serve/f/f5/f51755db6facf3a9/mw- render.log.rl', '--error-file', '/var/cache/mw-serve/f/f5/ f51755db6facf3a9/errors.rl', '--status-file', '/var/cache/mw-serve/f/ f5/f51755db6facf3a9/status.rl', '--writer', 'rl', '--output', '/var/ cache/mw-serve/f/f5/f51755db6facf3a9/output.rl', '--pid-file', '/var/ cache/mw-serve/f/f5/f51755db6facf3a9/pid.rl', '--metabook', '/var/ cache/mw-serve/f/f5/f51755db6facf3a9/metabook.json', '--config', 'http://iic-dev.seas.harvard.edu/wiki', '--keep-zip', '/var/cache/mw- serve/f/f5/f51755db6facf3a9/collection.zip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--login', 'xxxxxxx:********', '--script-extension', '.php', '--language', 'en'] 2009-02-02T11:19:57 mwlib.wsgi.info >> request took 0.035824 s localhost.localdomain - - [02/Feb/2009 11:19:57] "POST / HTTP/1.1" 200 73 Is there something obvious I should check or test? Attempts to run something like the following just fail silently immediately. sudo mw-serve --clean-cache=3 --logfile /var/log/mw-serve.log And attempts to print a PDF from the wiki say: The POST request to http://localhost:8899 failed (couldn't connect to host). This works: sudo mw-serve --logfile /var/log/mw-serve.log --interface 0.0.0.0 -- port 8899 --daemonize --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
