abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×

včera 22:33 | IT novinky

Společnosti Adobe, Apple, Facebook, Google, Microsoft a Mozilla společně oznámily konec Flashe. Podpora Flashe oficiálně skončí na konci roku 2020.

Ladislav Hagara | Komentářů: 2
včera 05:55 | Komunita

Před 10 lety, v červenci 2007, se začal prodávat svobodný chytrý telefon Neo 1973 (vnitřní označení GTA01). Za jeho vývojem stáli vývojáři projektu Openmoko (Wikipedie). O rok později bylo možné koupit jejich druhý telefon Neo FreeRunner (GTA02). V roce 2011 byl představena platforma GTA04. Tuto platformu využívá také projekt Neo900, jehož cílem je vývoj nástupce telefonu Nokia N900. Nahlédnutí do historie Openmoko a další informace v článku na Vanille.de [Hacker News].

Ladislav Hagara | Komentářů: 21
včera 04:44 | Komunita

Tým Debianu zabývající se reprodukovatelnými sestaveními (Reproducible Builds), tj. kdokoli může nezávisle ověřit, že daný binární .deb balíček vznikl překladem daných zdrojových kódů, oznámil, že 94 % balíčků Debianu lze přeložit a sestavit reprodukovatelně. V únory 2015 to bylo 83 % [reddit].

Ladislav Hagara | Komentářů: 4
24.7. 11:22 | Komunita

Mozilla.cz informuje, že na blogu Mozilly věnovaném bezpečnosti byly zveřejněny výsledky bezpečnostního auditu služby Firefox Accounts, v českých překladech účet Firefoxu, sloužící hlavně k přihlašování k synchronizaci Firefox Sync. Nalezeno bylo celkem 15 bezpečnostních chyb, z toho jedna byla označena jako kritická a tři jako vážné.

Ladislav Hagara | Komentářů: 0
24.7. 11:00 | Nová verze

Byla vydána první stabilní verze 1.0 svobodného komunikačního softwaru Ring (Wikipedie). Ring, původně SFLphone, je součástí projektu GNU [reddit].

Ladislav Hagara | Komentářů: 3
24.7. 06:00 | Zajímavý projekt

Warner Skoch na svých stránkách zveřejnil návod (YouTube) na zhotovení kapesní herní konzole MintyPi. Konzole MintyPi je postavena na Raspberry Pi Zero W a RetroPie. Jako obal slouží plechová krabička od mentolek.

Ladislav Hagara | Komentářů: 0
23.7. 02:00 | Nová verze

Byl vydán Debian 9.1, tj. první opravná verze Debianu 9 s kódovým názvem Stretch a Debian 8.9, tj. devátá opravná verze Debianu 8 s kódovým názvem Jessie. Řešeny jsou především bezpečnostní problémy, ale také několik vážných chyb. Instalační média Debianu 9 a Debianu 8 lze samozřejmě nadále k instalaci používat. Po instalaci stačí systém aktualizovat.

Ladislav Hagara | Komentářů: 36
22.7. 15:50 | Zajímavý článek

Nadace The Document Foundation (TDF) zastřešující vývoj svobodného kancelářského balíku LibreOffice zveřejnila čtyřiačtyřicetistránkovou výroční zprávu za rok 2016. K dispozici je ve formátu pdf ve vysokém (21,68 MB) a nízkém (7,1 MB) rozlišení. Zpráva byla vytvořena ve Scribusu.

Ladislav Hagara | Komentářů: 0
22.7. 14:40 | Zajímavý software

Mozilla.cz informuje, že Firefox Focus pro Android, velmi jednoduchý prohlížeč zaměřený na anonymní prohlížení, dosáhl milionu stažení. Firefox Focus blokuje sledující prvky a reklamy a při ukončení automaticky smaže všechna uložená data stránek, historii prohlížení a cookies.

Ladislav Hagara | Komentářů: 41
22.7. 14:20 | Komunita

Vyplněním dotazníku na Formuláře Google lze ovlivnit výběr výchozích aplikací v Ubuntu 18.04 LTS. Podrobnosti v příspěvku Dustina Kirklanda na Ubuntu Insights [reddit].

Ladislav Hagara | Komentářů: 13
Těžíte nějakou kryptoměnu?
 (4%)
 (2%)
 (17%)
 (77%)
Celkem 82 hlasů
 Komentářů: 4, poslední včera 15:16
    Rozcestník

    Dotaz: nastavení lighttpd + php-fpm

    1.8.2016 12:37 pou | skóre: 15
    nastavení lighttpd + php-fpm
    Přečteno: 186×
    Přílohy:
    Ahoj, snažím se nastavit lighttpd + php-fpm (jede to na embedded systému ARM - system z yocto).

    Vše jsem snad zdárně nainstaloval a nastavil. Po spuštění (bez chyby v logu) a navštívení zkušební stránky (zk.php) se objeví níže vypsané chybové výpisy. Zkoušel jsem s tím nějak laborovat, ale neúspěšně.

    Prosím o radu (konfigurační soubory jsou v příloze).

    Děkuji

    Browser:
    500 - Internal Server Error
    
    php-fpm log:
    03-Jul-2016 22:51:40.060382] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:41.061580] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:42.062775] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:43.063970] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:44.065168] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:45.066369] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:45.793184] DEBUG: pid 725, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 22:51:45.794457] ERROR: pid 725, fpm_sockets_new_listening_socket(), line 194: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
    [03-Jul-2016 22:51:45.794652] ERROR: pid 725, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 22:51:45.794716] DEBUG: pid 725, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 22:51:45.845885] DEBUG: pid 727, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 22:51:45.846985] ERROR: pid 727, fpm_sockets_new_listening_socket(), line 194: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
    [03-Jul-2016 22:51:45.847151] ERROR: pid 727, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 22:51:45.847205] DEBUG: pid 727, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 22:51:46.067572] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:46.974323] DEBUG: pid 730, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 22:51:46.975437] ERROR: pid 730, fpm_sockets_new_listening_socket(), line 194: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
    [03-Jul-2016 22:51:46.975608] ERROR: pid 730, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 22:51:46.975662] DEBUG: pid 730, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 22:51:47.068778] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:48.069981] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:49.071179] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:50.072376] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:51.073594] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:52.074787] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:53.075968] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:54.077163] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 22:51:55.078357] DEBUG: pid 705, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    lighttpd log:
    2016-07-03 22:49:47: (/-1.4.35/src/mod_fastcgi.c.3346) response not received, request sent: 754 on socket: tcp:127.0.0.1:9002 for /zk.php?, closing connection 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.339) -- splitting Request-URI 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.340) Request-URI     :  /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.341) URI-scheme      :  http 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.342) URI-authority   :  192.168.100.197 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.343) URI-path (raw)  :  /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.344) URI-path (clean):  /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.345) URI-query       :   
    2016-07-03 22:51:45: (/-1.4.35/src/mod_access.c.135) -- mod_access_uri_handler called 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.473) -- before doc_root 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.474) Doc-Root     : /www/pages/ 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.475) Rel-Path     : /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.476) Path         :  
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.524) -- after doc_root 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.525) Doc-Root     : /www/pages/ 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.526) Rel-Path     : /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.527) Path         : /www/pages/zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.544) -- logical -> physical 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.545) Doc-Root     : /www/pages/ 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.546) Basedir      : /www/pages/ 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.547) Rel-Path     : /zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.548) Path         : /www/pages/zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.565) -- handling physical path 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.566) Path         : /www/pages/zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.573) -- file found 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.574) Path         : /www/pages/zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.725) -- handling subrequest 
    2016-07-03 22:51:45: (/-1.4.35/src/response.c.726) Path         : /www/pages/zk.php 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_access.c.135) -- mod_access_uri_handler called 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_fastcgi.c.3693) handling it in mod_fastcgi 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_fastcgi.c.2906) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_fastcgi.c.2906) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 1 load: 1 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_fastcgi.c.2906) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 2 load: 1 
    2016-07-03 22:51:45: (/-1.4.35/src/mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 724 socket: tcp:127.0.0.1:9002 
    
    cat /www/pages/zk.php
    <\?php
    echo "AHOJ";
    
    \?>
    

    Odpovědi

    1.8.2016 13:17 Sten
    Rozbalit Rozbalit vše Re: nastavení lighttpd + php-fpm
    Na portu 9000 zřejmě běží už něco jiného (netstat -nlp | grep 9000 by měl říct co) a nginx jste asi zapomněl otočit, snaží se připojit na port 9002.
    1.8.2016 13:49 pou | skóre: 15
    Rozbalit Rozbalit vše Re: nastavení lighttpd + php-fpm
    Díky za odpověď. No na tom portu koliduje pouze php-fpm. Když ho vypnu tak netstat nic nevypíše. Zkoušel jsem komunikaci i po lokálním soketu, chyba je obdobná.....

    lighttpd.error.log:
    2016-07-03 23:53:05: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.339) -- splitting Request-URI 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.340) Request-URI     :  /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.341) URI-scheme      :  http 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.342) URI-authority   :  192.168.100.197 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.343) URI-path (raw)  :  /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.344) URI-path (clean):  /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.345) URI-query       :   
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_access.c.135) -- mod_access_uri_handler called 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.473) -- before doc_root 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.474) Doc-Root     : /www/pages/ 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.475) Rel-Path     : /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.476) Path         :  
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.524) -- after doc_root 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.525) Doc-Root     : /www/pages/ 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.526) Rel-Path     : /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.527) Path         : /www/pages/zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.544) -- logical -> physical 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.545) Doc-Root     : /www/pages/ 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.546) Basedir      : /www/pages/ 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.547) Rel-Path     : /zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.548) Path         : /www/pages/zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.565) -- handling physical path 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.566) Path         : /www/pages/zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.573) -- file found 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.574) Path         : /www/pages/zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.725) -- handling subrequest 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/response.c.726) Path         : /www/pages/zk.php 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_access.c.135) -- mod_access_uri_handler called 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.3693) handling it in mod_fastcgi 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.1754) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-3 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.3021) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.1754) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-3 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.3021) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 1 load: 1 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.1754) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-2 
    2016-07-03 23:53:06: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.3021) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 2 load: 1 
    2016-07-03 23:53:07: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 531 socket: unix:/tmp/php-fastcgi.socket-2 
    2016-07-03 23:53:07: (/home/pou/fsl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/mod_fastcgi.c.3346) response not received, request sent: 725 on socket: unix:/tmp/php-fastcgi.socket-2 for /zk.php?, closing connection 
    
    php-fpm:
    [03-Jul-2016 23:53:05.930065] DEBUG: pid 520, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:05.931437] DEBUG: pid 520, fpm_event_init_main(), line 337: event module is epoll and 1 fds have been reserved
    [03-Jul-2016 23:53:05.931491] NOTICE: pid 520, fpm_init(), line 83: fpm is running, pid 520
    [03-Jul-2016 23:53:05.931543] DEBUG: pid 520, main(), line 1845: Sending "1" (OK) to parent via fd=5
    [03-Jul-2016 23:53:05.937383] DEBUG: pid 520, fpm_children_make(), line 421: [pool www] child 521 started
    [03-Jul-2016 23:53:05.938202] DEBUG: pid 520, fpm_children_make(), line 421: [pool www] child 522 started
    [03-Jul-2016 23:53:05.939008] DEBUG: pid 520, fpm_children_make(), line 421: [pool www] child 523 started
    [03-Jul-2016 23:53:05.939911] DEBUG: pid 520, fpm_children_make(), line 421: [pool www] child 524 started
    [03-Jul-2016 23:53:05.940109] DEBUG: pid 520, fpm_event_loop(), line 366: 5436 bytes have been reserved in SHM
    [03-Jul-2016 23:53:05.940158] NOTICE: pid 520, fpm_event_loop(), line 367: ready to handle connections
    [03-Jul-2016 23:53:05.975743] DEBUG: pid 525, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:05.976898] ERROR: pid 525, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:05.976997] ERROR: pid 525, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:05.977067] DEBUG: pid 525, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:05.989196] DEBUG: pid 526, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:05.989184] DEBUG: pid 527, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:05.990629] ERROR: pid 526, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:05.990741] ERROR: pid 526, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:05.990801] DEBUG: pid 526, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:05.991238] ERROR: pid 527, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:05.991344] ERROR: pid 527, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:05.991409] DEBUG: pid 527, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:06.941300] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 23:53:07.143152] DEBUG: pid 530, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:07.145379] ERROR: pid 530, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:07.145565] ERROR: pid 530, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:07.145693] DEBUG: pid 530, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:07.252069] DEBUG: pid 535, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:07.253608] ERROR: pid 535, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:07.253730] ERROR: pid 535, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:07.253803] DEBUG: pid 535, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:07.253596] DEBUG: pid 536, fpm_scoreboard_init_main(), line 40: got clock tick '100'
    [03-Jul-2016 23:53:07.255913] ERROR: pid 536, fpm_sockets_new_listening_socket(), line 185: An another FPM instance seems to already listen on /tmp/php-fastcgi.socket
    [03-Jul-2016 23:53:07.256036] ERROR: pid 536, fpm_init(), line 72: FPM initialization failed
    [03-Jul-2016 23:53:07.256106] DEBUG: pid 536, main(), line 1836: Sending "0" (error) to parent via fd=5
    [03-Jul-2016 23:53:07.942503] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 23:53:08.943457] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 23:53:09.944648] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 23:53:10.945845] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    [03-Jul-2016 23:53:11.947037] DEBUG: pid 520, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 4 spare children, 4 running children. Spawning rate 1
    
    8.8.2016 06:23 pou | skóre: 15
    Rozbalit Rozbalit vše Re: nastavení lighttpd + php-fpm
    Nějaké nápady??

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.