turn off Cherokee, delete the socket (# rm /tmp/cherokee-php.socket)  and
run cherokee-worker with new permissions, as soon as a fcgi process is
launched a new socket will be created with correct permissions.

additional tip:
if you use CentOS also change the permissions of the php session directory:
# chgrp cherokee /var/lib/php/session/ -Rf

Jorge S.

/tmp/cherokee-php.socket

On Sun, Jul 5, 2009 at 1:42 AM, Hello <[email protected]> wrote:

> I have specified cherokee to run as cherokee-server:cherokee-server. I am
> getting the following message:
>
> Cherokee Web Server *0.99.20* (Jul  5 2009): Listening on port ALL:80, TLS
> disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
> connections, caching I/O, 40 threads, 51 connections per thread, standard
> scheduling policy
> PID 6968: launched '/bin/sh -c exec /opt/php5-fastcgi/bin/php-cgi -c
> /opt/php5-fastcgi/bin -b /tmp/cherokee-php.socket' with uid=32009, gid=32012
> PID 6968: exited re=255
> PID 6972: launched '/bin/sh -c exec /opt/php5-fastcgi/bin/php-cgi -c
> /opt/php5-fastcgi/bin -b /tmp/cherokee-php.socket' with uid=32009, gid=32012
> PID 6972: exited re=255
>
> I was getting another error regarding spawner.c while running 0.99.17 which
> was fixed in 0.99.18. php-cgi has permissions 755 and is owned by root:root,
> as well as php.ini.
>
> --
> Phone: 240-529-6770
> Aim: flysarescary
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to