porting python script from linux to freebsd
Rocky Borg
rrborg at speakeasy.net
Wed Jul 28 04:43:57 UTC 2010
I hope this is the right place to direct this question. I've been trying
to track down a python issue that is specific to freebsd. The Cherokee
webserver (http://www.freshports.org/www/cherokee/) has a python gui
backend to admin the server. It works perfectly under Linux.
Unfortunately it doesn't work correctly under FreeBSD. There aren't a
lot of people that use FreeBSD to run cherokee so the main developers
don't seem to interested in fixing it. I'm trying to track down the bug.
If cherokee is started from rc.d scripts or command line it works fine.
You can stop the server cleanly. But once it's started from the admin
interface (which uses python) it can't be stopped. The admin interface
shows that it sees cherokee running on the correct pid but once started
from the admin interface the server can't be stopped
(/usr/local/etc/rc.d/cherokee stop stops working also). Any information
would be greatly appreciated since it's hard finding issues specific to
freebsd/python. And the basic attitude seems to be if it works on linux
that's good enough.
Has anyone experienced this sort of problem on FreeBSD or perhaps could
direct me to something that would explain what's going on.
Bug report on the issue:
http://code.google.com/p/cherokee/issues/detail?id=527
http://www.cherokee-project.com
Script that handles starting and stopping the server:
http://www.ctwow.net/sladeimages/Cherokee.py
Any help would be greatly appreciated.
More information about the freebsd-python
mailing list