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 20:00 | Nová verze

Byla vydána (cgit) verze 0.99 svobodného nelineárního video editoru Pitivi. Jedná se o release candidate verze 1.0. Přehled úkolů, které je nutno ještě dodělat, na Phabricatoru. Pitivi je k dispozici také ve formátu Flatpak.

Ladislav Hagara | Komentářů: 0
včera 17:11 | Komunita

Microsoft s Canonicalem představili linuxové jádro Ubuntu optimalizováno pro cloudové služby Microsoft Azure (linux-azure). Jako výchozí je toto menší a výkonnější jádro použito již v Ubuntu Cloud Images for Ubuntu 16.04 LTS. Canonical zatím nenabízí patchování tohoto jádra za běhu systému (Canonical Livepatch Service).

Ladislav Hagara | Komentářů: 1
včera 14:55 | Komunita

Facebook oznámil, že přelicencuje open source projekty React, Jest, Flow a Immutable.js ze své vlastní kontroverzní licence BSD+Patents na licenci MIT. Stane se tak tento týden s vydáním Reactu 16. Jedním z důvodů přelicencování bylo oznámení nadace Apache, že software pod Facebook BSD+Patents licencí nesmí být součástí produktů pod touto nadací [Hacker News].

Ladislav Hagara | Komentářů: 0
23.9. 21:44 | Nová verze

Po půl roce od vydání verze 9.0 byla vydána verze 10.0 open source alternativy GitHubu, tj. softwarového nástroje s webovým rozhraním umožňujícího spolupráci na zdrojových kódech, GitLab (Wikipedie). Představení nových vlastností v příspěvku na blogu a na YouTube.

Ladislav Hagara | Komentářů: 0
22.9. 18:11 | Nová verze

Společnost Oracle oficiálně oznámila vydání Java SE 9 (JDK 9), Java Platform Enterprise Edition 8 (Java EE 8) a Java EE 8 Software Development Kit (SDK). Java SE 9 přináší více než 150 nových vlastností.

Ladislav Hagara | Komentářů: 0
22.9. 12:11 | Komunita

Na Humble Bundle lze získat hororovou počítačovou hru Outlast (Wikipedie) běžící také v Linuxu zdarma. Speciální akce končí v sobotu v 19:00.

Ladislav Hagara | Komentářů: 2
22.9. 10:33 | Humor

Mozilla.cz upozorňuje na Knihu Mozilly (Wikipedie), tj. velikonoční vajíčko ve Firefoxu. Zobrazit jej lze zadáním about:mozilla do adresního řádku. Aktuální verze Firefoxu obsahuje proroctví 15:1 "Dvojčata Mamonu se rozhádala a jejich souboje uvrhly svět do nové tmy. Zvířeti se ale tma hnusila. A tak se stalo mrštnější a silnější, šlo vpřed a jeho počty rostly. A zvíře přineslo oheň a světlo do tmy". Firefox 57 bude obsahovat proroctví 11:14. To je zatím jenom v angličtině. Pomoci lze s překladem do češtiny.

Ladislav Hagara | Komentářů: 10
22.9. 01:22 | Zajímavý projekt
Před měsícem byla spuštěna kampaň na podporu chytrého telefonu Librem 5, jenž by měl respektovat bezpečnost, svobodu a soukromí uživatelů. Cílem kampaně je vybrat alespoň milion a půl dolarů. Aktuálně je vybráno přes 600 000 dolarů, tj. 40 %. Kampaň poběží ještě další měsíc. Podporu projektu oznámilo KDE i GNOME.
Ladislav Hagara | Komentářů: 42
22.9. 00:55 | Komunita

Agentura DISA (Defense Information Systems Agency) publikovala (pdf) Ubuntu 16.04 Security Technical Implementation Guide (STIG) (zip), tj. doporučené bezpečnostní nastavení Ubuntu 16.04. Ubuntu se tak dostalo mezi unixové operační systémy a linuxové distribuce AIX, HP-UX, Oracle Linux, Red Hat a Solaris [reddit].

Ladislav Hagara | Komentářů: 2
21.9. 22:55 | Bezpečnostní upozornění

CSIRT.CZ informuje, že byly vydány nové bezpečnostní aktualizace, které opravují několik zranitelných míst v Sambě. Útočník může využít zranitelnosti s cílem získání přístupu k potenciálně citlivých informací. Uživatelům a správcům je doporučeno, aby zkontrolovali bezpečnostní opatření pro CVE-2017-12150, CVE-2017-12151 a CVE-2017-12163 a provedli potřebné aktualizace.

Ladislav Hagara | Komentářů: 0
Těžíte nějakou kryptoměnu?
 (5%)
 (3%)
 (17%)
 (75%)
Celkem 564 hlasů
 Komentářů: 23, poslední včera 18:12
    Rozcestník

    Dotaz: nastavení lighttpd + php-fpm

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