[MEGOLDVA] nginx + php-fpm + pidora - raspberry-n

Sziasztok,

A címben említett kombót próbálnám összerakni de sehogysem sikerül és az alábbi hibába ütközök az nginx logjában.

*1 connect() to unix:127.0.0.1:9000 failed (2: No such file or directory) while connecting to upstream

Namost próbáltam én már socketet is beállítani , akkor az alábbi hibát dobta

unix:/var/run/php5-fpm.sock failed (2: No such file or directory)

most azt nem értem melyik fájl hiányzik neki? Valami csomag nem lenne feltelepítve?

Nginx-ben itt a beállításom

location ~ \.php$ {
try_files $uri =404;
# fastcgi_pass unix:/var/run/php-fpm/php5-fpm.sock;
fastcgi_pass unix:127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include /etc/nginx/fastcgi_params; }

az /etc/php-fpm/www.conf -ban meg pusztána listen-t állítottam mindig a fastcgi_pass-hoz

valami ötlet?

Hozzászólások

*58 connect() to unix:127.0.0.1:7777 failed

vs

fastcgi_pass unix:127.0.0.1:9000;

Köszi a tippet.
Átírtam és a hibaüzenet is megváltozott. :-)

*1 connect() failed (111: Connection refused) while connecting to upstream,

valamint a php-fpm indulásánál az alábbi üzenetek vannak

Oct 17 09:30:31 raspi php-fpm[6605]: [17-Oct-2013 09:30:31] ALERT: [pool www] user has not been defined
Oct 17 09:30:31 raspi php-fpm[6605]: [17-Oct-2013 09:30:31] ERROR: failed to post process the configuration
Oct 17 09:30:31 raspi php-fpm[6605]: [17-Oct-2013 09:30:31] ERROR: FPM initialization failed
Oct 17 09:30:31 raspi systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Oct 17 09:30:31 raspi systemd[1]: Unit php-fpm.service entered failed state

a pool user nincs definiálva az gondolom nem para mert az csak ALERT.