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í
×
    dnes 01:22 | Nová verze

    Byla vydána verze 1.91.0 programovacího jazyka Rust (Wikipedie). Podrobnosti v poznámkách k vydání. Vyzkoušet Rust lze například na stránce Rust by Example.

    Ladislav Hagara | Komentářů: 0
    dnes 00:11 | IT novinky

    Ministerstvo průmyslu a obchodu vyhlásilo druhou veřejnou soutěž v programu TWIST, který podporuje výzkum, vývoj a využití umělé inteligence v podnikání. Firmy mohou získat až 30 milionů korun na jeden projekt zaměřený na nové produkty či inovaci podnikových procesů. Návrhy projektů lze podávat od 31. října do 17. prosince 2025. Celková alokace výzvy činí 800 milionů korun.

    Ladislav Hagara | Komentářů: 0
    včera 23:44 | Komunita

    Google v srpnu oznámil, že na „certifikovaných“ zařízeních s Androidem omezí instalaci aplikací (včetně „sideloadingu“) tak, že bude vyžadovat, aby aplikace byly podepsány centrálně registrovanými vývojáři s ověřenou identitou. Iniciativa Keep Android Open se to snaží zvrátit. Podepsat lze otevřený dopis adresovaný Googlu nebo petici na Change.org.

    Ladislav Hagara | Komentářů: 0
    včera 15:22 | Nová verze

    Byla vydána nová verze 18 integrovaného vývojového prostředí (IDE) Qt Creator. S podporou Development Containers. Podrobný přehled novinek v changelogu.

    Ladislav Hagara | Komentářů: 1
    včera 12:55 | Nová verze

    Cursor (Wikipedie) od společnosti Anysphere byl vydán ve verzi 2.0. Jedná se o multiplatformní proprietární editor kódů s podporou AI (vibe coding).

    Ladislav Hagara | Komentářů: 2
    včera 02:55 | Nová verze

    Google Chrome 142 byl prohlášen za stabilní. Nejnovější stabilní verze 142.0.7444.59 přináší řadu novinek z hlediska uživatelů i vývojářů. Podrobný přehled v poznámkách k vydání. Opraveno bylo 20 bezpečnostních chyb. Za nejvážnější z nich bylo vyplaceno 50 000 dolarů. Vylepšeny byly také nástroje pro vývojáře.

    Ladislav Hagara | Komentářů: 0
    včera 01:22 | IT novinky Ladislav Hagara | Komentářů: 0
    29.10. 17:00 | Upozornění

    Národní identitní autorita, tedy NIA ID, MeG a eOP jsou nedostupné. Na nápravě se pracuje [𝕏].

    Ladislav Hagara | Komentářů: 9
    29.10. 16:44 | IT novinky

    Americký výrobce čipů Nvidia se stal první firmou na světě, jejíž tržní hodnota dosáhla pěti bilionů USD (104,5 bilionu Kč). Nvidia stojí v čele světového trhu s čipy pro umělou inteligenci (AI) a výrazně těží z prudkého růstu zájmu o tuto technologii. Nvidia již byla první firmou, která překonala hranici čtyř bilionů USD, a to letos v červenci.

    Ladislav Hagara | Komentářů: 6
    29.10. 14:11 | Komunita

    Po Canonicalu a SUSE oznámil také Red Hat, že bude podporovat a distribuovat toolkit NVIDIA CUDA (Wikipedie).

    Ladislav Hagara | Komentářů: 2
    Jaké řešení používáte k vývoji / práci?
     (36%)
     (48%)
     (19%)
     (19%)
     (22%)
     (17%)
     (21%)
     (17%)
     (18%)
    Celkem 290 hlasů
     Komentářů: 14, poslední 14.10. 09:04
    Rozcestník

    Dotaz: nastavení lighttpd + php-fpm

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