Strona 1 z 1

mod_fcgid: error reading data

: 20 września 2017, 13:09
autor: zmora_jlb
Witam, postawiłem serwer Apache2/Php7/Debian9 przy próbcie wczytania strony www wyskakuje mi 500 Internal Error, logi:

Kod: Zaznacz cały

(104)Connection reset by peer: [client 66.249.69.80:42595] mod_fcgid: error reading data from FastCGI server
nie mogę za cholerę tego rozwiązać,
nakieruje mnie ktoś?

Re: mod_fcgid: error reading data

: 21 września 2017, 09:02
autor: LordRuthwen
Pokaż errorlog apache i logi php.

Re: mod_fcgid: error reading data

: 22 września 2017, 08:07
autor: zmora_jlb
APACHE LOG

Kod: Zaznacz cały

[Fri Sep 22 06:25:02.097870 2017] [auth_digest:notice] [pid 3185] AH01757: generating secret for digest authentication ...
[ 2017-09-22 06:25:02.1333 24369/7f8fb9d95780 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
[ 2017-09-22 06:25:02.1553 24374/7f0bfd5b2780 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2017-09-22 06:25:02.1555 24374/7f0bfd5b2780 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2017-09-22 06:25:02.1573 24374/7f0bfd5b2780 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 24374
[ 2017-09-22 06:25:02.1718 24379/7f5801ee3780 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2017-09-22 06:25:02.1754 24379/7f5801ee3780 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 24379
[Fri Sep 22 06:25:02.231521 2017] [:error] [pid 3185] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Fri Sep 22 06:25:02.231828 2017] [:error] [pid 3185] python_init: Python executable found '/usr/bin/python'.
[Fri Sep 22 06:25:02.231842 2017] [:error] [pid 3185] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Fri Sep 22 06:25:02.231874 2017] [:notice] [pid 3185] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Sep 22 06:25:02.231905 2017] [:notice] [pid 3185] mod_python: using mutex_directory /tmp 
[Fri Sep 22 06:25:02.252185 2017] [mpm_prefork:notice] [pid 3185] AH00163: Apache/2.4.25 (Debian) mod_fcgid/2.3.9 Phusion_Passenger/5.0.30 mod_python/3.3.1 Python/2.7.13 OpenSSL/1.0.2l configured -- resuming normal operations
[Fri Sep 22 06:25:02.252257 2017] [core:notice] [pid 3185] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 22 06:25:02.252306 2017] [mpm_prefork:warn] [pid 3185] AH00167: long lost child came home! (pid 17534)
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
[Fri Sep 22 06:46:25.434816 2017] [fcgid:warn] [pid 24504] (104)Connection reset by peer: [client 158.85.81.122:10000] mod_fcgid: error reading data from FastCGI server
[Fri Sep 22 06:46:25.434862 2017] [core:error] [pid 24504] [client 158.85.81.122:10000] End of script output before headers: index.php
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
WEB LOG

Kod: Zaznacz cały

[Fri Sep 22 08:05:54.590360 2017] [fcgid:warn] [pid 26167] (104)Connection reset by peer: [client 85.117.0.121:61791] mod_fcgid: error reading data from FastCGI server
[Fri Sep 22 08:05:54.590406 2017] [core:error] [pid 26167] [client 85.117.0.121:61791] End of script output before headers: index.php
[Fri Sep 22 08:05:54.593249 2017] [fcgid:warn] [pid 26167] (104)Connection reset by peer: [client 85.117.0.121:61791] mod_fcgid: error reading data from FastCGI server
[Fri Sep 22 08:05:54.593269 2017] [core:error] [pid 26167] [client 85.117.0.121:61791] End of script output before headers: index.php
[Fri Sep 22 08:05:54.624390 2017] [fcgid:warn] [pid 28124] (104)Connection reset by peer: [client 85.117.0.121:61792] mod_fcgid: error reading data from FastCGI server
[Fri Sep 22 08:05:54.624435 2017] [core:error] [pid 28124] [client 85.117.0.121:61792] End of script output before headers: index.php
[Fri Sep 22 08:05:54.627347 2017] [fcgid:warn] [pid 28124] (104)Connection reset by peer: [client 85.117.0.121:61792] mod_fcgid: error reading data from FastCGI server
[Fri Sep 22 08:05:54.627372 2017] [core:error] [pid 28124] [client 85.117.0.121:61792] End of script output before headers: index.php

Re: mod_fcgid: error reading data

: 22 września 2017, 08:09
autor: zmora_jlb
SUEXEC LOG

Kod: Zaznacz cały

[2017-09-22 08:05:54]: uid: (5004/web1) gid: (5005/client0) cmd: .php-fcgi-starter
[2017-09-22 08:05:54]: directory is writable by others: (/var/www/php-fcgi-scripts/web1)
[2017-09-22 08:05:54]: uid: (5004/web1) gid: (5005/client0) cmd: .php-fcgi-starter
[2017-09-22 08:05:54]: directory is writable by others: (/var/www/php-fcgi-scripts/web1)

Re: mod_fcgid: error reading data

: 22 września 2017, 09:20
autor: LordRuthwen
No to masz odpowiedź w logu suexec, rozwiąż ten problem, przejdź do kolejnego jeśli wystąpi.

Re: mod_fcgid: error reading data

: 22 września 2017, 09:28
autor: zmora_jlb
W jaki sposób mam to naprawić? Zmiana uprawnień nie pomaga

Re: mod_fcgid: error reading data

: 22 września 2017, 10:25
autor: LordRuthwen
Zmiana uprawnień z jakich na jakie?

Re: mod_fcgid: error reading data

: 22 września 2017, 10:30
autor: zmora_jlb
Instaluję raz jeszcze serwer,
zaraz wypiszę wszystko.