On 09/12/2009, at 20:39, Sandino Araico Sánchez wrote: > I have been able to reproduce this. > > 1. Start cherokee server > 2. Start cherokee-admin and connect. Yo will see a green "server is running" > square . > 3. Without restarting cherokee-admin restart the cherokee server. > 4. Refresh the page on the cherokee-admin site. You will now see a yellow > "server is not running" square.
Could you please give this patch a try?
sandino-pid-1.patch
Description: Binary data
I hope it solves the problem (without introducing any regression!). Cheers! > Alvaro Lopez Ortega wrote: >> On 09/12/2009, at 16:51, David McKeegan wrote: >> >>> On 9 Dec 2009, at 15:18, Alvaro Lopez Ortega wrote: >>> >>>> On 09/12/2009, at 16:01, David McKeegan wrote: >>>> >>>> >>>>> I'm running 0.99.32. When I logged in to Cherokee admin this morning I >>>>> got a fright: the status page said "server not running". Fortunately, >>>>> this is not true. My sites are running. >>>>> >>>>> When I try to "launch" the server (which is already running), I get Could >>>>> not bind() port=80 (UID=0, GID=0) >>>>> What's up with that? >>>>> >>>> In cherokee-admin, go to Advanced -> Special Files -> PID file. And now >>>> check: >>>> >>>> Is the path to the PID file defined? >>>> Is there a PID file in that file? >>>> Is that PID alive? >>>> >>> According to cherokee-admin the PID file is in >>> /var/run/cherokee.pid >>> >>> But no, there is no PID file in there. >>> >> >> >> Then, the next questions would be: >> >> Can the user under which you're running Cherokee write in /var/run? >> Did the server warned about not being able to write the PID file? >> >> Cherokee-admin needs to read the PID file in order to detect whether or not >> the server is running. If something happens with that file, there's no way >> for Cherokee-admin to detect it. >> >> -- >> Octality >> http://www.octality.com/ >> >> _______________________________________________ >> Cherokee mailing list >> [email protected] >> http://lists.octality.com/listinfo/cherokee >> > > > -- > Sandino Araico Sánchez http://sandino.net > -- Octality http://www.octality.com/
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
