Oli Warner | 1 Nov 2009 02:24
Gravatar

Re: Cherokee 0.99.26 released

Leonel, are you using Karmic's new(ish) methods for service maintenance?

One example: To restart gdm, you used to call:
sudo /etc/init.d/gdm restart

It's now:
sudo restart gdm

Same with stop, start and status.

Forgive me, I don't know what has happened to make this change but it would be cool if all services behaved in the same way. I don't like change for the sake of change, but in this case, I like the syntax!

Is it because they've started to integrate with upstart better?

Edit before sending: I just ran /etc/init.d/gdm status (the old method) on a Karmic box and got this back:

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service gdm status

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status gdm
gdm start/running, process 1307


On Sat, Oct 31, 2009 at 11:36 PM, Leonel Nunez <listas <at> enelserver.com> wrote:
>                        ==========================
>                        Cherokee 0.99.26 released!
>                        ==========================
>


Ubuntu Karmic,Jaunty,Intrepid,Hardy Packages are done at the usual Place

https://launchpad.net/~cherokee-webserver/+archive/ppa/+packages

Packages for Debian Unstable Gunnar updated the package on the GIT Server.


Saludos.


Leonel

_______________________________________________
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
Jorge Sarmiento | 1 Nov 2009 08:18
Picon

Re: Cherokee 0.99.26 released

Compiled and working fined in CentOS 5.4 x86 with:

CFLAGS="-march=nocona -O3" ./configure --prefix=/usr  --sysconfdir=/etc --localstatedir=/var  --enable-static-module=all --disable-ipv6 --with-ldap=no --with-mysql=no --with-geoip=no --with-ffmpeg=no --with-wwwroot=/var/www/cherokee/default/

thanks for the great job!

Jorge S.

On Fri, Oct 30, 2009 at 10:47 PM, Alvaro Lopez Ortega <alvaro <at> octality.com> wrote:
                      ==========================
                      Cherokee 0.99.26 released!
                      ==========================

 Cherokee is a very fast, flexible and easy to configure Web Server.
It supports the widespread technologies nowadays: FastCGI, SCGI, PHP,
CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication,
on the fly encoding, Apache compatible log files, HTTP Load Balancing,
Data Base Balancing, SSI, Reverse HTTP Proxy, Bandwidth Shaping, Audio
and Video Streaming, uWSGI, and much more.

 Cherokee also provides an easy to use configuration interface that
allows to configure the server from top to bottom without having to
edit a text configuration file.

 Please visit the Cherokee Web Server site for more information:

                   http://www.cherokee-project.com/


Availability
------------
 http://www.cherokee-project.com/download/0.99/0.99.26/cherokee-0.99.26.tar.gz

 MD5(cherokee-0.99.26.tar.gz)= 71d6674de5194ac2144277a60a32071e
SHA1(cherokee-0.99.26.tar.gz)= 4527afb9b8f5f24bcfa59b24bbd30d01d0db8926


Changes
-------
This is mainly a bug fixing release:

 - Random 504 errors fixed
 - Better check -r and -p parameters usage.
 - cherokee-admin: Wizard errors fixed
 - cherokee-admin: safer starting up
 - cherokee-admin: Drupal Wizard improved


Proud Cherokee users
--------------------
We would love to know that you are using Cherokee. Submit your domain
name and it will be listed on the Cherokee Project web site:

  http://www.cherokee-project.com/cherokee-domain-list.html


Mailing lists
-------------
You can find a list of our available mailing at:

  http://lists.cherokee-project.com/


Feedback
--------
Bugs and Requests for features can be submitted too. We will be happy
to take care of them. Your feedback is very valuable to us!

  http://bugs.cherokee-project.com/


Mirrors
-------
 Australia       - http://mirror.aarnet.edu.au/pub/cherokee/
 Belgium         - ftp://ftp.easynet.be/cherokee/
 Germany         - http://www.feel3.de/mirrors/cherokee/
 Greece          - http://ftp.ntua.gr/pub/www/cherokee/
                   http://ftp.cc.uoc.gr/mirrors/cherokee/
 Indonesia       - http://cherokee.labs.itb.ac.id/
 Ireland         - http://ftp.heanet.ie/mirrors/cherokee/
 Italy           - http://cherokee.mirror.garr.it/mirrors/cherokee/
 Japan           - http://www.ring.gr.jp/archives/net/cherokee/
                   http://www.ftp.ne.jp/infosystems/cherokee/
                   http://ftp.yz.yamagata-u.ac.jp/pub/network/cherokee/
 Poland          - http://cherokee-project.pl/mirror/cherokee/
                   http://ftp.icm.edu.pl/packages/cherokee/
                   http://ftp.wsisiz.edu.pl/pub/Linux/cherokee/
 Romania         - ftp://download.srv.ro/pub/cherokee/
 Russia          - http://mirror.yandex.ru/mirrors/cherokee-
project.com/
 Singapore       - http://mirror.nus.edu.sg/cherokee/
 South Africa    - http://ftp.saix.net/Cherokee/
                   http://mirror.is.co.za/mirrors/cherokee/
 Spain           - http://sunsite.rediris.es/mirror/cherokee/
 The Netherlands - http://ftp.nluug.nl/internet/cherokee/
 US              - http://cherokee.osuosl.org/
                   http://mirror.its.uidaho.edu/pub/cherokee/
                   http://www.gtlib.gatech.edu/pub/cherokee/
                   ftp://mirrors.secution.com/cherokee


Acknowledges
------------
A whole lot of people have contributed with the project during the last
years; without their help Cherokee could not be possible. Many thanks
to everybody who has contributed.

Special acknowledges to our main contributors for this release:

 - Antonio Perez
 - Taher Shihadeh
 - Stefan de Konink
 - Leonel Nunez
 - Gunnar Wolf


ROCK ON!!

--
Octality
http://www.octality.com/

_______________________________________________
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
Leonel Nunez | 1 Nov 2009 19:08

Re: Cherokee 0.99.26 released

> Leonel, are you using Karmic's new(ish) methods for service maintenance?
>

Not yet
For what I know is that upstart must be used for Lucid Lynx (10.04)
so the official inclusion will be done.

Even upstart is used on ubuntu since Edgy Eft

In the mean time I hope for the next cherokee release can start working on
the upstart integration

saludos .

Leonel
Site Mail | 2 Nov 2009 18:41
Favicon

php-cgi, and php.ini. Memory leaks and configuration.

Hi,


I am having problems with php configuration in as FastCGI in Debian with cherokee 0.99.26.

Mainly my problem is I set up the memory limit in /etc/php5/cgi/php.ini to 64M but the php-cgi processes keep growing in memory.

After some time, the php-cgi have eaten all my memory server.

I just found out that passing -c /etc/php5/cgi/php.ini as the argument in the interpreter (/usr/bin/php-cgi -c /etc/php5/cgi -b /tmp/cherokee-php.socket) seems to comply with the limits I established in the php.ini.

The thing is that I do not know if it is a problem my configuration file, or it is problem of the default behavior of cherokee not picking the right file.

Any help would be much appreciated.
THanks,
David.
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro Lopez Ortega | 2 Nov 2009 19:34
Favicon
Gravatar

Re: php-cgi, and php.ini. Memory leaks and configuration.

On 02/11/2009, at 11:41, Site Mail wrote:

> I just found out that passing -c /etc/php5/cgi/php.ini as the  
> argument in the interpreter (/usr/bin/php-cgi -c /etc/php5/cgi -b / 
> tmp/cherokee-php.socket) seems to comply with the limits I  
> established in the php.ini.
>
> The thing is that I do not know if it is a problem my configuration  
> file, or it is problem of the default behavior of cherokee not  
> picking the right file.

Actually, it looks like a PHP installation issue.  Cherokee launches  
php-cgi, it's up the the interpreter the configuration file it uses.

By the way, I'd strongly encourage you to set up php-cgi to use a TCP  
socket instead of a Unix socket; experience has taught us, that's a  
better way to run it.

Cheers!

--
Octality
http://www.octality.com/
Site Mail | 2 Nov 2009 19:43
Favicon

Re: php-cgi, and php.ini. Memory leaks and configuration.

Thank you for the quick answer.


In fact, in info.php I see the configuration is taken from the same file in both cases (the right file) So I do not know why in "top" the php.cgi processes shows up using more than 100M sometimes.

I just set up the fascgi as tcp (I did not upgrade from old version of wizzards).

By the way, I am using php 5.2.6, maybe this is the problem, I am going to try with dotdeb repository, which is 5.2.11, and see if the issue stops.

THanks for the help.

On Mon, Nov 2, 2009 at 7:34 PM, Alvaro Lopez Ortega <alvaro <at> octality.com> wrote:
On 02/11/2009, at 11:41, Site Mail wrote:

I just found out that passing -c /etc/php5/cgi/php.ini as the argument in the interpreter (/usr/bin/php-cgi -c /etc/php5/cgi -b /tmp/cherokee-php.socket) seems to comply with the limits I established in the php.ini.

The thing is that I do not know if it is a problem my configuration file, or it is problem of the default behavior of cherokee not picking the right file.

Actually, it looks like a PHP installation issue.  Cherokee launches php-cgi, it's up the the interpreter the configuration file it uses.

By the way, I'd strongly encourage you to set up php-cgi to use a TCP socket instead of a Unix socket; experience has taught us, that's a better way to run it.

Cheers!

--
Octality
http://www.octality.com/


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Site Mail | 2 Nov 2009 19:45
Favicon

Re: php-cgi, and php.ini. Memory leaks and configuration.

In fact, I was using 5.2.11 already, my bad I looked at the wrong package.

On Mon, Nov 2, 2009 at 7:43 PM, Site Mail <email <at> davebv.com> wrote:
Thank you for the quick answer.

In fact, in info.php I see the configuration is taken from the same file in both cases (the right file) So I do not know why in "top" the php.cgi processes shows up using more than 100M sometimes.

I just set up the fascgi as tcp (I did not upgrade from old version of wizzards).

By the way, I am using php 5.2.6, maybe this is the problem, I am going to try with dotdeb repository, which is 5.2.11, and see if the issue stops.

THanks for the help.


On Mon, Nov 2, 2009 at 7:34 PM, Alvaro Lopez Ortega <alvaro <at> octality.com> wrote:
On 02/11/2009, at 11:41, Site Mail wrote:

I just found out that passing -c /etc/php5/cgi/php.ini as the argument in the interpreter (/usr/bin/php-cgi -c /etc/php5/cgi -b /tmp/cherokee-php.socket) seems to comply with the limits I established in the php.ini.

The thing is that I do not know if it is a problem my configuration file, or it is problem of the default behavior of cherokee not picking the right file.

Actually, it looks like a PHP installation issue.  Cherokee launches php-cgi, it's up the the interpreter the configuration file it uses.

By the way, I'd strongly encourage you to set up php-cgi to use a TCP socket instead of a Unix socket; experience has taught us, that's a better way to run it.

Cheers!

--
Octality
http://www.octality.com/



_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Daniel L. Miller | 2 Nov 2009 22:40
Favicon

Inline PHP

Assuming PHP is otherwise working for a "standard" configuration, is 
enabling inline php support just a matter of editing the 
application/x-httpd-php mime type and adding "html" to the extension list?

If so...I'll ask the next question on behalf of somebody else since I 
don't THINK I'll need it...

Can mime types be specified on a per-virtual server basis?  Or only 
system-wide?
--

-- 
Daniel
Alvaro Lopez Ortega | 3 Nov 2009 02:05
Favicon
Gravatar

Re: Inline PHP

On 02/11/2009, at 15:40, Daniel L. Miller wrote:

> Assuming PHP is otherwise working for a "standard" configuration, is
> enabling inline php support just a matter of editing the
> application/x-httpd-php mime type and adding "html" to the extension  
> list?

No. You'd have to edit the "Extension PHP" rule and replace: "php" by  
"php,html".

--
Octality
http://www.octality.com/
Koch, Sebastian | 3 Nov 2009 13:28
Picon
Favicon

Open SSL, Cherokee 0.99.26-1 Debian Error: Can not use certificate no such engine

Hi,

 

first of all some informations about the system.

i updated from the debian unstable branch to 0.99.26-1 and got these packages installed:

 

ii  cherokee                                 0.99.26-1                  Very fast, flexible and easy to configure we

ii  libcherokee-base0                        0.99.26-1                  Cherokee web server - Base libraries

ii  libcherokee-client0                      0.99.22-1.1                Cherokee web server - Client libraries

ii  libcherokee-config0                      0.99.26-1                  Cherokee web server - Configuration librarie

ii  libcherokee-mod-admin                    0.99.26-1                  Cherokee web server - Administrative plugin

ii  libcherokee-mod-libssl                   0.99.26-1                  Cherokee web server - SSL crypto functions p

ii  libcherokee-mod-rrd                      0.99.26-1                  Cherokee web server - RRDtool based informat

ii  libcherokee-mod-server-info              0.99.26-1                  Cherokee web server - Server information plu

ii  libcherokee-server0                      0.99.26-1                  Cherokee web server - Server libraries

ii  php5-xcache                              1.2.2-3                    Fast, stable PHP opcode cacher

 

ii  libcherokee-mod-libssl                   0.99.26-1                  Cherokee web server - SSL crypto functions p

ii  libssl-dev                               0.9.8g-15+lenny5           SSL development libraries, header files and

ii  libssl0.9.8                              0.9.8g-15+lenny5           SSL shared libraries

ii  openssl                                  0.9.8k-5                   Secure Socket Layer (SSL) binary and related

ii  openssl-blacklist                        0.4.2                      list of blacklisted OpenSSL RSA keys

ii  ssl-cert                                 1.0.23                     simple debconf wrapper for OpenSSL

 

i configured my server as follows:

 

server!bind!1!port = 80

server!bind!1!tls = 0

server!bind!2!interface = 10.1.1.163

server!bind!2!port = 443

server!bind!2!tls = 1

server!collector = rrd

server!group = www-data

server!ipv6 = 0

server!keepalive = 1

server!keepalive_max_requests = 500

server!panic_action = /usr/share/cherokee/cherokee-panic

server!pid_file = /var/run/cherokee.pid

server!timeout = 15

server!tls = libssl

server!user = www-data

vserver!10!logger!access!buffsize = 16384

vserver!10!logger!access!filename = /var/log/cherokee/cherokee.access

vserver!10!logger!access!type = file

vserver!10!logger!error!filename = /var/log/cherokee/cherokee.error

vserver!10!logger!error!type = file

vserver!10!ssl_certificate_file = /etc/cherokee/ssl/certificate.crt

vserver!10!ssl_certificate_key_file = /etc/cherokee/ssl/privateKey.key

vserver!10!ssl_client_certs = accept

source!1!env!PHP_FCGI_CHILDREN = 5

source!1!env!PHP_FCGI_MAX_REQUESTS = 5000

source!1!env_inherited = 0

source!1!host = /tmp/cherokee-php.socket

source!1!interpreter = /usr/bin/php-cgi -b /tmp/cherokee-php.socket

source!1!nick = PHP Interpreter

source!1!type = interpreter

 

When i try to restart the server with configured ssl it gets me this:

 

[03/11/2009 13:20:54.082] (error) cryptor_libssl.c:340 - OpenSSL: Can not use certificate file '/etc/cherokee/ssl/certificate.crt':  error:2606A074:engine routines:ENGINE_by_id:no such engine

 

Could you please help me to resolve the issue?

 

Thanks in advance,

sorar

 

Sebastian Koch
                                                         

NETZWERK GmbH

Fon:  +49.711.220 5498 81
Mobil: +49.160.907 908 30
Fax:  +49.711.220 5499 27

Email: sebastian.koch <at> netzwerk.de
Web: 
www.netzwerk.de

NETZWERK GmbH, Kurze Str. 40, 70794 Filderstadt-Bonlanden
Geschäftsführer: Siegfried Herner, Hans-Baldung Luley, Olaf Müller-Haberland
Sitz der Gesellschaft: Filderstadt-Bonlanden, Amtsgericht Stuttgart HRB 225547, WEEE-Reg Nr. DE 185 622 492

 

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

Gmane