Resolved !!!!  Thank you Kevin!

Here's what I did, if anyone has this issue in the future.

Added a /etc/init.d/*php-fastcgi*  init-script that I found here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426780

Added the php settings to the script according to the example and just
modified the port to the cherokee default of: *47990*

Made the script executable:
sudo chmod +x /etc/init.d/php-fastcgi

Added the script to the startup:
sudo update-rc.d php-fastcgi defaults

And that's all, after the startup the php-cgi process is there and no more
503 errors.

Sergio





On Fri, May 28, 2010 at 4:46 PM, kevin beckford <[email protected]> wrote:

> > I'm running out of ideas, I couldn't see anything in the cherokee.error
> > file, and I don't really want to create a startup script to restart the
> > server that was just executed.  Any tips or suggestions?
> >
>
> Lucid uses upstart as well as init.d. They made a big issue of it,
> although not well documented.
>
> Have you looked in /etc/init for perhaps a php upstart job?
>
> They are pretty easy to make, look in /etc/init or /etc/event.d and
> see if there is one.
>
> Cherokee itself also , as I understand (?) will start a php
> interpreter if one is not running.  This might be why you can get to
> php throuch cherokee.
>
> I don't have a php init script at all
>
> I have cherokee and I have this:
>
> /usr/bin/php-cgi -b 127.0.0.1:47990... seems to be a cherokee invocation
>
> Ubuntu linux, same setup as you actually:
>
> Upon restart I get no 503 error, just takes a while to load first page.
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to