Welcome! Log In Create A New Profile

Advanced

I can't access the status page, but why?

Posted by Ralf Hildebrandt 
Ralf Hildebrandt
I can't access the status page, but why?
June 29, 2012 10:12AM
/etc/php5/fpm/pool.d/www.conf contains:
pm.status_path = /fpm-status

Apache config contains:
<Location /fpm-status>
SetHandler php5-fcgi
</Location>

and for fastcgi (which is in fact working ok, except for the status page):

AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000
-pass-header Authorization

But:
http://www.arschkrebs.de/fpm-status
is not working.

[Fri Jun 29 00:00:12 2012] [error] [client 193.175.73.201] File does not
exist: /var/www/fpm-status
[Fri Jun 29 00:00:14 2012] [error] [client 193.175.73.201] File does not
exist: /var/www/fpm-status

What am I doing wrong?
(Ubuntu precise)
Felix Bünemann
Re: I can't access the status page, but why?
September 19, 2012 09:30AM
I have the same problem, also on Ubuntu Server 12.04 LTS (precise) /
php5-fpm 5.3.10-1ubuntu3.4. I'm running apache2 with mod_fastcgi.

somesite pool config:
pm.status_path = /php-fpm-status

Vhost-config:
FastCGIExternalServer /php-fpm-handler-somesite -idle-timeout 300 -socket
/var/run/php-fpm.somesite.socket
<VirtualHost *>
AddHandler php5-fcgi .php
<LocationMatch "/php-fpm-status">
SetHandler php5-fcgi-virt
Action php5-fcgi-virt /php-fpm-handler.fcgi virtual
</LocationMatch>
Action php5-fcgi /php-fpm-handler.fcgi
ScriptAlias /php-fpm-handler.fcgi /php-fpm-handler-kiesow
</VirtualHost>

I'm just getting a 404 error.

Am Freitag, 29. Juni 2012 15:43:33 UTC+2 schrieb Ralf Hildebrandt:
>
> /etc/php5/fpm/pool.d/www.conf contains:
> pm.status_path = /fpm-status
>
> Apache config contains:
> <Location /fpm-status>
> SetHandler php5-fcgi
> </Location>
>
> and for fastcgi (which is in fact working ok, except for the status page):
>
> AddHandler php5-fcgi .php
> Action php5-fcgi /php5-fcgi
> Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
> FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000-pass-header Authorization
>
> But:
> http://www.arschkrebs.de/fpm-status
> is not working.
>
> [Fri Jun 29 00:00:12 2012] [error] [client 193.175.73.201] File does not
> exist: /var/www/fpm-status
> [Fri Jun 29 00:00:14 2012] [error] [client 193.175.73.201] File does not
> exist: /var/www/fpm-status
>
> What am I doing wrong?
> (Ubuntu precise)
>
>
Felix Bünemann
Re: I can't access the status page, but why?
September 19, 2012 09:50AM
Argh, in my case a mod_rewrite rule from a .htaccess was interfering. So
make sure if you have any rewrite rules, that you stop rewriting for the
status page url.

Am Mittwoch, 19. September 2012 15:20:35 UTC+2 schrieb Felix Bünemann:
>
> I have the same problem, also on Ubuntu Server 12.04 LTS (precise) /
> php5-fpm 5.3.10-1ubuntu3.4. I'm running apache2 with mod_fastcgi.
>
> somesite pool config:
> pm.status_path = /php-fpm-status
>
> Vhost-config:
> FastCGIExternalServer /php-fpm-handler-somesite -idle-timeout 300 -socket
> /var/run/php-fpm.somesite.socket
> <VirtualHost *>
> AddHandler php5-fcgi .php
> <LocationMatch "/php-fpm-status">
> SetHandler php5-fcgi-virt
> Action php5-fcgi-virt /php-fpm-handler.fcgi virtual
> </LocationMatch>
> Action php5-fcgi /php-fpm-handler.fcgi
> ScriptAlias /php-fpm-handler.fcgi /php-fpm-handler-kiesow
> </VirtualHost>
>
> I'm just getting a 404 error.
>
> Am Freitag, 29. Juni 2012 15:43:33 UTC+2 schrieb Ralf Hildebrandt:
>>
>> /etc/php5/fpm/pool.d/www.conf contains:
>> pm.status_path = /fpm-status
>>
>> Apache config contains:
>> <Location /fpm-status>
>> SetHandler php5-fcgi
>> </Location>
>>
>> and for fastcgi (which is in fact working ok, except for the status page):
>>
>> AddHandler php5-fcgi .php
>> Action php5-fcgi /php5-fcgi
>> Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
>> FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000-pass-header Authorization
>>
>> But:
>> http://www.arschkrebs.de/fpm-status
>> is not working.
>>
>> [Fri Jun 29 00:00:12 2012] [error] [client 193.175.73.201] File does not
>> exist: /var/www/fpm-status
>> [Fri Jun 29 00:00:14 2012] [error] [client 193.175.73.201] File does not
>> exist: /var/www/fpm-status
>>
>> What am I doing wrong?
>> (Ubuntu precise)
>>
>>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready