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í
×
15.6. 22:44 | Zajímavý článek

Na blogu projektu NeoPG (GitHub), kryptografického softwaru vycházejícího z GnuPG, byly zveřejněny 4 příspěvky detailně popisující aktuální bezpečnostní problémy v GnuPG a souvisejících softwarových produktech. V prvním příspěvku je ukázáno, že je možné vytvořit zprávu, o které budou Earlybird, Evolution, Mutt nebo Outlook tvrdit, že jí dešifrovali a přitom ale zpráva vůbec zašifrována nebyla. V druhém příspěvku je popsána

… více »
Ladislav Hagara | Komentářů: 5
15.6. 13:00 | Komunita

GamingOnLinux informuje, že počítačová hra Track Mania Nations Forever (Steam, Wikipedie) pro Windows je nově dostupná také jako snap. Stejně jako v případě winepaku a Flatpaku se k běhu hry používá překladová vrstva Wine.

Ladislav Hagara | Komentářů: 12
14.6. 15:12 | Komunita

Tradiční setkání příznivců operačního systému Linux pod názvem Linux párty Teplice se bude konat v pátek 15. 6. 2018 v Hospůdce u černé Kočky od 18:00 hodin. Setkají se zde pamětníci příkazové řádky, vítáni jsou však i začínající uživatelé.

František Bublík | Komentářů: 16
14.6. 14:00 | Bezpečnostní upozornění

Intel potvrdil (INTEL-SA-00145) další bezpečnostní chybu ve svých procesorech. Jedná se o chybu CVE-2018-3665 s názvem LazyFP.

Ladislav Hagara | Komentářů: 12
14.6. 11:00 | Nová verze

Spolek OpenAlt zve příznivce otevřených řešení a přístupu na 153. brněnský sraz, který proběhne v pátek 15. června od 18:00 v restauraci U OSLŮ na ulici Sokolská 361/10. Pro zájemce proběhne krátké promítání z výletu do Černobylu.

Ladislav Hagara | Komentářů: 0
13.6. 19:58 | Upozornění

Server lupa.cz rozebírá připravovanou reformu copyrightu v EU a dopad jejího článku 13, který dává internetovým platformám povinnost řešit autorské právo za vlastníky práv, což by v podstatě vedlo k automatizované cenzuře a konci internetu tak, jak ho známe dnes. Podobně v otevřeném dopise varují Vint Cerf, Tim Berners-Lee a jiní odborníci, Cory Doctorow upozorňuje na důsledky pro Wikipedii, nebo github na sdílení kódu.

marbu | Komentářů: 93
12.6. 16:00 | Nová verze

Bylo oznámeno vydání verze 5.13 prostředí KDE Plasma. Přehled nových vlastností i s náhledy v poznámkách k vydání. Videoukázka na YouTube.

Ladislav Hagara | Komentářů: 93
12.6. 11:11 | Zajímavý software

Byla vydána verze 1.8.0 svobodného softwaru Dilay pro 3D modelování technikou digitálního sochání (digital sculpting). Zdrojové kódy jsou k dispozici na GitHubu pod licencí GPLv3. K dispozici je balíček (19,6 MB) ve formátu AppImage. Stačí nastavit právo na spouštění a spustit.

Ladislav Hagara | Komentářů: 10
11.6. 16:55 | Zajímavý projekt

MojeFedora.cz představuje repozitář Flatpaku winepak, který si dává za cíl přinášet do Linuxu aplikace pro Windows v podobě Flatpaku. K běhu aplikací se používá překladová vrstva Wine.

Ladislav Hagara | Komentářů: 28
11.6. 16:33 | Komunita

V rámci letních slev na GOG.com lze do středy 13. června do 15:00 získat počítačovou hru Ziggurat (Wikipedie) běžící také na Linuxu zdarma a bez DRM.

Ladislav Hagara | Komentářů: 0
Jak čtete delší texty z webových stránek?
 (78%)
 (22%)
 (4%)
 (7%)
 (3%)
 (11%)
Celkem 197 hlasů
 Komentářů: 34, poslední dnes 11:03
    Rozcestník

    Dotaz: nastavení lighttpd + php-fpm

    1.8.2016 12:37 pou | skóre: 16
    nastavení lighttpd + php-fpm
    Přečteno: 208×
    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: 16
    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: 16
    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.