Neckon | 1 Jan 2011 12:14
Picon

Re: Cherokee Digest, Vol 31, Issue 1

You're saying you're using a default PHP installation. Does that mean you're installing from the package servers?
Try compiling PHP from source with everything you need and use that. I'm running Cherokee with a custom build of PHP and never experienced any problems like that.

Also, please attach your php.ini and your php-fpm.conf so I can take a look. It may also be a problem with your scripts. (Mad loop or other extremely long execution times.)


Am 01.01.2011 12:00, schrieb cherokee-request <at> lists.octality.com:
Send Cherokee mailing list submissions to cherokee <at> lists.octality.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.octality.com/listinfo/cherokee or, via email, send a message with subject or body 'help' to cherokee-request <at> lists.octality.com You can reach the person managing the list at cherokee-owner <at> lists.octality.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Cherokee digest..." Today's Topics: 1. PHP and failover balancer issues (pub crawler) _______________________________________________ Cherokee mailing list Cherokee <at> lists.octality.com http://lists.octality.com/listinfo/cherokee

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
alessandro cinelli | 1 Jan 2011 19:11
Picon

Segfault in Cherokee with php5-cgi


I'm trying to find some logs anywhere but with no luck. Do you know where I can find more info?

I restarted the apache webserver and the got no errors but i would like to use cherokee.

thanks in advance,

cirpo
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro Lopez Ortega | 2 Jan 2011 10:59
Favicon
Gravatar

Re: Segfault in Cherokee with php5-cgi

On 01/01/2011, at 19:11, alessandro cinelli wrote:

"The Cherokee 'panic action' script, /usr/share/cherokee/cherokee-panic,
was called for pid 20762 ().

This means there was a problem with the program, such as a segfault.
However, the executable could not be found for process 20762.
It may have died unexpectedly, or you may not have permission to
debug the process."

I'm trying to find some logs anywhere but with no luck. Do you know where I can find more info?

Please, compile Cherokee with debug symbols¹. If the server worker process crashed when compiled with debug information, the message would contain much more information to find the issue.

   make CFLAGS="-O0 -ggdb" 



_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Simonas Šerlinskas | 2 Jan 2011 18:49
Picon

how to run codeigniter with cherokee

Hi, how to run codeigniter framework with cherokee..

 

I created virtual server and set some rules.

 

In the default rule changed List & Send to Redirection and added Interval regex ^(.*)$ and subtitution /index.php/$1
added new rule to /application to Directory and set handler List & Send
added another new rule /system to Directory and set handler List & Send

 

And rule with Fastcgi of PHP

 

When i go to domain url i got blank page, when i add controller and function looks good, but not shure that is excelent. But what is wrong with base url??

 

--

Pagarbiai Simonas Šerlinskas

 

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro Lopez Ortega | 2 Jan 2011 18:59
Favicon
Gravatar

Re: how to run codeigniter with cherokee

Hello Simonas,

On 02/01/2011, at 18:49, Simonas Šerlinskas wrote:

In the default rule changed List & Send to Redirection and added Interval regex ^(.*)$ and subtitution /index.php/$1

[...]

When i go to domain url i got blank page, when i add controller and function looks good, but not shure that is excelent. But what is wrong with base url??

I'm not completely sure I have understood your question, so I'm blind guessing here. Could it be that the request "/" is being redirected to "/index.php//"? (notice the double slash).  You can either change ^(.*)$ by ^/(.*)$, or /index.php/$1 by /index.php$1 to solve that formatting issue.

Besides that, the configuration you described looks good.  Remember that the order of the rule of the behavior rule does matter. The list is evaluated to the top to the bottom until it matches the first 'Final' rule or the reaches the 'Default' rule.


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
pub crawler | 3 Jan 2011 06:17
Picon

Cherokee Crashed / Stopped Running

Earlier today our main Cherokee server had an issue.

Cherokee for some reason stopped running.

Nothing in other system logs to indicate anything out of ordinary on
the machine.

What's the recommended way to turn on debugging and other features to
ideally log this failure in Cherokee?

Thanks!
Keith Murphy | 3 Jan 2011 07:32
Favicon

php issue with cherokee rpm

Hey guys,

I am trying to use the "epel" cherokee rpm along with php 5.3. The
cherokee rpm installed fine, and I have the web server up and running.

I am also running zabbix on this server and its frontend needs a large
number of php rpms. That is where the problem starts.

I can get most of the php rpms to install, but the base php rpm
doesn't. It fails as follows:

warning: php-5.3.4-1.el5.remi.x86_64.

rpm: Header V3 DSA signature:
NOKEY, key ID 00f97f56
error: Failed dependencies:
       httpd is needed by php-5.3.4-1.el5.remi.x86_64
       httpd-mmn = 20051115 is needed by php-5.3.4-1.el5.remi.x86_64
[root <at> paragon php]#


Clearly it's looking for Apache. Well, I have Cherokee installed :)
So, we have a problem. I see from the mailing list that there were
similar issues with the ubuntu packages. Seems that something needs to
be added to spec file so that the Cherokee rpm provides a replacement
for httpd?

Sorry if this is the wrong place to ask. I realize this isn't a direct
Cherokee question.

thanks,

Keith Murphy
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
LightDot | 3 Jan 2011 08:16
Picon

Re: php issue with cherokee rpm

I think what you're looking for is the fact that RPM packages of Cherokee and Apache manually set "webserver" as being provided by them.

From the first look of things, this seems to be a bug in the Remi's PHP package, which looks for "httpd" instead of "webserver" dependency.

You might be ok by just installing php by force. It would be also great if you could file a bug report with Remi.

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Stefan Scherfke | 3 Jan 2011 11:54
Gravatar

Re: pam auth fails

Hi David,

had the same / a similar problem.

Cherokee needs to be able to read /etc/shadow.

Try to add www-data to the shadow-group (e.g. ``sudo adduser www-data shadow``) and restart cherokee.

Worked for me. :)

Cheers,
Stefan

Am 2010-08-18 um 10:30 schrieb David Zerrenner:

> Hi, I'm trying to protect a subdirectory of a specific vhost by using pam auth and https on Ubuntu 10.04 /
cherokee 1.0.8. So i created a directory rule for that directory. I assigned the list & send handler,
checked "https only" on the security tab and activated authentication via pam. No login is possible then
with valid users. 
> 
> Here're some configuration and log:
> 
> /var/log/auth.log:
> 
> Aug 18 10:10:15 gonzo unix_chkpwd[6362]: check pass; user unknown
> Aug 18 10:10:15 gonzo unix_chkpwd[6362]: password check failed for user (xxxx)
> Aug 18 10:10:15 gonzo cherokee-worker: pam_unix(cherokee:auth): authentication failure; logname=
uid=33 euid=33 tty= ruser= rhost=  user=xxxx
> 
> cherokee runs as user with uid:gid 33:33
> 
> ------
> 
> /etc/pam.d/cherokee (default from cookbook):
> 
> account    required   pam_unix.so
> auth       required   pam_unix.so nullok
> auth       required   pam_env.so
> session    required   pam_unix.so
> 
> 
> any help is appreciated :)
> David Zerrenner
> _______________________________________________
> Cherokee mailing list
> Cherokee <at> lists.octality.com
> http://lists.octality.com/listinfo/cherokee
Simonas Šerlinskas | 3 Jan 2011 12:06
Picon

ubuntu server 10.10 php version

How to downgrade php version from 5.3.3 to 5.2.16 ? all the tutorials are for apache on the net..

 

--

Pagarbiai Simonas Šerlinskas

 

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee

Gmane