On Sun, Mar 30, 2014 at 12:44:11AM -0500, Adam Thompson wrote:
> 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."

"File not found." is usually a hint for chroot related issues.
You said you disabled chroot but you did not say where, so I assume you are 
talking about nginx.
If so did you also disable php-fpm chroot ?


-- 
Antoine

Reply via email to