Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 10:24:29 +1000
From:      Andrew MacIntyre <andymac@bullseye.apana.org.au>
To:        freebsd-python@freebsd.org
Subject:   Re: porting python script from linux to freebsd
Message-ID:  <4C50CA3D.7030005@bullseye.andymac.org>
In-Reply-To: <4C4FAF05.7060600@speakeasy.net>
References:  <4C4FAF05.7060600@speakeasy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Rocky Borg wrote:
> 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.

Can't offer specific help, but anything involving signals and/or threads 
is a likely place to start investigating

-- 
-------------------------------------------------------------------------
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac@bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac@pcug.org.au             (alt) |        Belconnen ACT 2616
Web:    http://www.andymac.org/               |        Australia



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C50CA3D.7030005>