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 | Nová verze

    Byla vydána nová major verze 5.0.0 svobodného multiplatformního nástroje BleachBit (GitHub, Wikipedie) určeného především k efektivnímu čištění disku od nepotřebných souborů.

    Ladislav Hagara | Komentářů: 1
    2.5. 22:22 | Komunita

    Na čem pracují vývojáři webového prohlížeče Ladybird (GitHub)? Byl publikován přehled vývoje za duben (YouTube).

    Ladislav Hagara | Komentářů: 0
    2.5. 19:11 | IT novinky

    Provozovatel čínské sociální sítě TikTok dostal v Evropské unii pokutu 530 milionů eur (13,2 miliardy Kč) za nedostatky při ochraně osobních údajů. Ve svém oznámení to dnes uvedla irská Komise pro ochranu údajů (DPC), která jedná jménem EU. Zároveň TikToku nařídila, že pokud správu dat neuvede do šesti měsíců do souladu s požadavky, musí přestat posílat data o unijních uživatelích do Číny. TikTok uvedl, že se proti rozhodnutí odvolá.

    Ladislav Hagara | Komentářů: 2
    2.5. 11:22 | Zajímavý projekt

    Společnost JetBrains uvolnila Mellum, tj. svůj velký jazykový model (LLM) pro vývojáře, jako open source. Mellum podporuje programovací jazyky Java, Kotlin, Python, Go, PHP, C, C++, C#, JavaScript, TypeScript, CSS, HTML, Rust a Ruby.

    Ladislav Hagara | Komentářů: 2
    2.5. 09:11 | Bezpečnostní upozornění

    Vývojáři Kali Linuxu upozorňují na nový klíč pro podepisování balíčků. K původnímu klíči ztratili přístup.

    Ladislav Hagara | Komentářů: 2
    1.5. 20:00 | Komunita

    V březnu loňského roku přestal být Redis svobodný. Společnost Redis Labs jej přelicencovala z licence BSD na nesvobodné licence Redis Source Available License (RSALv2) a Server Side Public License (SSPLv1). Hned o pár dní později vznikly svobodné forky Redisu s názvy Valkey a Redict. Dnes bylo oznámeno, že Redis je opět svobodný. S nejnovější verzí 8 je k dispozici také pod licencí AGPLv3.

    Ladislav Hagara | Komentářů: 2
    1.5. 19:22 | IT novinky

    Oficiální ceny Raspberry Pi Compute Modulů 4 klesly o 5 dolarů (4 GB varianty), respektive o 10 dolarů (8 GB varianty).

    Ladislav Hagara | Komentářů: 0
    30.4. 22:33 | Nová verze

    Byla vydána beta verze openSUSE Leap 16. Ve výchozím nastavení s novým instalátorem Agama.

    Ladislav Hagara | Komentářů: 0
    30.4. 17:44 | Zajímavý článek

    Devadesátková hra Brány Skeldalu prošla portací a je dostupná na platformě Steam. Vyšel i parádní blog autora o portaci na moderní systémy a platformy včetně Linuxu.

    karkar | Komentářů: 0
    30.4. 12:11 | Humor

    Lidi dělají divné věci. Například spouští Linux v Excelu. Využít je emulátor RISC-V mini-rv32ima sestavený jako knihovna DLL, která je volaná z makra VBA (Visual Basic for Applications).

    Ladislav Hagara | Komentářů: 7
    Jaký filesystém primárně používáte?
     (58%)
     (1%)
     (9%)
     (21%)
     (4%)
     (2%)
     (2%)
     (0%)
     (1%)
     (3%)
    Celkem 510 hlasů
     Komentářů: 19, poslední 30.4. 11:32
    Rozcestník

    Dotaz: nastavení lighttpd + php-fpm

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