I'm trying to install Cacti 0.8.8b from source, on 5.4-RELEASE using 
nginx (from base) + php-fpm-5.3 from packages.
I've got nginx working.
I've got SlowCGI working (now that I realized it's chroot'ed... duh).
I've got PHP-FPM kind of working, but not fully.

Basic things like "<?php phpinfo(); ?>" work just fine, but anything 
complex dies with no messages, no errors, no logs, nothing useful, not 
even with debug-level logging enabled.

When I try to retrieve Cacti's default index.php, I see these three 
lines in the log file.
/var/log/php-fpm.log: [30-Mar-2014 00:26:40.168716] DEBUG: pid 22020, 
fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] 
currently 0 active children, 2 spare children, 2 running children. 
Spawning rate 1
/var/www/log/access.log: 2620:42:c000:1::21 - - [30/Mar/2014:00:26:40 
-0500] "GET /cacti-0.8.8b/index.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 
(X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/33.0.1750.152 Safari/537.36"
/var/log/php-fpm.log: [30-Mar-2014 00:26:41.178666] DEBUG: pid 22020, 
fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] 
currently 0 active children, 2 spare children, 2 running children. 
Spawning rate 1

and in the browser window, I see absolutely nothing - no error message, 
no output, nada.

I'm guessing it's not chroot-related, since if I disable chroot, I do 
get some output: "File not found."
I've confirmed that it's not a (obvious) permissions-related problem.

I've turned display_errors on, log_errors on, and catch_workers_output 
on.  What else can I try to find out what php-fpm is trying (and 
presumably failing) to do??  Any other debugging steps I should try?

FYI - I think I have confirmed that PHP Bug #61045 is *not* the culprit, 
as phpinfo() logs some timezone-related warnings.

-- 
-Adam Thompson
  [email protected]

Reply via email to