|
You last visited: Today at 19:26
Advertisement
Debian 8 - PHP-(FPM)
Discussion on Debian 8 - PHP-(FPM) within the Web Development forum part of the Coders Den category.
07/03/2016, 19:12
|
#1
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
Debian 8 - PHP-(FPM)
Moinsen,
Ich bin von Ubuntu zu Debain gewechselt (Das hat die meisten Probleme behoben)
Allerdings geht PHP-FPM wieder aus (1-2 mal am Tag)
Nginx,mysql, ts3 etc bleiben an & damit gibt es auch keine Probleme!
Kennt sich da jemand aus?
|
|
|
07/03/2016, 22:32
|
#2
|
elite*gold: 3
Join Date: Oct 2013
Posts: 5,815
Received Thanks: 1,814
|
verusch es mal mit screen
|
|
|
07/04/2016, 06:31
|
#3
|
elite*gold: 0
Join Date: Feb 2014
Posts: 978
Received Thanks: 160
|
sollte eigentlich nicht sein, da wäre Screen auch nur eine Umgehung des Problemes.
Was sagt denn die Logs? Wie hast Du PHP bei nginx eingebunden?
|
|
|
07/04/2016, 20:51
|
#4
|
elite*gold: 4
Join Date: Aug 2008
Posts: 6,783
Received Thanks: 4,992
|
php-fpm läuft als daemon da muss nix mit screen gemacht werden.
Wenn du fpm error logs postest kann man dir vlt auch helfen.
|
|
|
07/06/2016, 20:56
|
#5
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
ZU PHP gibt es bei mir keine Logs...
wenn phpfpm nicht funktioniert kriegt man im Browser die Meldung 502 Bad Gateway
|
|
|
07/06/2016, 21:16
|
#6
|
elite*gold: 11
Join Date: Jun 2011
Posts: 1,847
Received Thanks: 141
|
So gut wie alles hat logs.
Meist unter /var/log/*applicationname*
|
|
|
07/06/2016, 21:41
|
#7
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
Ja aber php ist nicht dabei
|
|
|
07/07/2016, 17:44
|
#8
|
elite*gold: 4
Join Date: Aug 2008
Posts: 6,783
Received Thanks: 4,992
|
Dann konfigurier es doch? 
Das ist nun nicht SO schwer, vielleicht erfährst du dann ja auch warum fpm sich restarted....
|
|
|
07/16/2016, 20:52
|
#9
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
Habe meine Logs gefunden
Seit vorhin wieder err502...
btw ich habe diese Hilfe hier benutzt um php einzubinden (  )
2016/07/16 00:35:42 [error] 319#0: *1008 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.150, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 02:04:36 [error] 319#0: *1015 connect() failed (111: Connection refused) while connecting to upstream, client: 46.4.113.114, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 03:10:06 [error] 319#0: *1022 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.155, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "www.test-domain.com"
2016/07/16 03:47:02 [error] 319#0: *1030 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.14, server: test-domain.com, request: "GET /elements/call-to-action.html HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 05:39:20 [error] 319#0: *1037 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.34, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 06:33:04 [error] 319#0: *1044 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.152, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 07:39:27 [error] 319#0: *1054 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.145, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 08:01:01 [error] 319#0: *1061 connect() failed (111: Connection refused) while connecting to upstream, client: 184.105.247.196, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "5.1.80.211"
2016/07/16 08:25:28 [error] 319#0: *1068 connect() failed (111: Connection refused) while connecting to upstream, client: 120.55.188.43, server: test-domain.com, request: "GET /phpmyadmin HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "5.1.80.211", referrer: "http://5.1.80.211/phpmyadmin"
2016/07/16 08:27:09 [error] 319#0: *1077 connect() failed (111: Connection refused) while connecting to upstream, client: 51.255.65.57, server: test-domain.com, request: "GET /MultiPlayer.php HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 08:46:13 [error] 319#0: *1085 connect() failed (111: Connection refused) while connecting to upstream, client: 178.6.246.231, server: test-domain.com, request: "GET /Games/Web/DeadZ/Games/Web/DeadZ/index.php HTTP/1.0", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 09:07:21 [error] 319#0: *1094 connect() failed (111: Connection refused) while connecting to upstream, client: 173.208.157.186, server: test-domain.com, request: "GET /index.php HTTP/1.0", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 10:12:07 [error] 319#0: *1103 connect() failed (111: Connection refused) while connecting to upstream, client: 144.76.7.107, server: test-domain.com, request: "GET / HTTP/1.0", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 10:38:06 [error] 319#0: *1111 connect() failed (111: Connection refused) while connecting to upstream, client: 138.201.125.143, server: test-domain.com, request: "GET / HTTP/1.0", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 10:40:19 [error] 319#0: *1114 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/fonts/font-awesome/font-awesome.min.css HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/"
2016/07/16 10:43:10 [error] 319#0: *1129 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/fonts/font-awesome/font-awesome.min.css HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/index.php"
2016/07/16 10:52:42 [error] 319#0: *1137 connect() failed (111: Connection refused) while connecting to upstream, client: 77.176.86.131, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/fonts/caviardreams/stylesheet.css HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/WebSettings/Styles/CSS/main.css"
2016/07/16 12:09:01 [error] 322#0: *1152 connect() failed (111: Connection refused) while connecting to upstream, client: 118.120.153.193, server: test-domain.com, request: "GET /phpMyAdmin HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "5.1.80.211", referrer: "http://5.1.80.211/phpMyAdmin"
2016/07/16 12:58:53 [error] 322#0: *1161 connect() failed (111: Connection refused) while connecting to upstream, client: 213.128.81.66, server: test-domain.com, request: "GET / HTTP/1.0", upstream: "fastcgi://[::1]:9000"
2016/07/16 13:25:46 [error] 322#0: *1165 connect() failed (111: Connection refused) while connecting to upstream, client: 112.74.211.92, server: test-domain.com, request: "GET /phpmyadmin HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "5.1.80.211", referrer: "http://5.1.80.211/phpmyadmin"
2016/07/16 13:37:43 [error] 322#0: *1174 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.144, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 14:14:06 [error] 322#0: *1195 connect() failed (111: Connection refused) while connecting to upstream, client: 71.6.135.131, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "5.1.80.211"
2016/07/16 14:35:06 [error] 322#0: *1226 connect() failed (111: Connection refused) while connecting to upstream, client: 180.76.15.146, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com"
2016/07/16 14:40:37 [error] 322#0: *1238 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/fonts/caviardreams/stylesheet.css HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/"
2016/07/16 14:42:42 [error] 322#0: *1255 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/fonts/font-awesome/font-awesome.min.css HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:42:49 [error] 322#0: *1252 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/images/dropdown_side.gif HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "test-domain.com", referrer: "http://test-domain.com/WebSettings/Styles/CSS/layout.css"
2016/07/16 14:42:49 [error] 322#0: *1252 no live upstreams while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /WebSettings/Styles/CSS/images/dropdown_side.gif HTTP/1.1", upstream: "fastcgi://localhost", host: "test-domain.com", referrer: "http://test-domain.com/WebSettings/Styles/CSS/layout.css"
2016/07/16 14:42:59 [error] 322#0: *1252 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /download.php?typ=0&id=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:42:59 [error] 322#0: *1252 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /download.php?typ=0&id=1 HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:43:01 [error] 322#0: *1252 no live upstreams while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://localhost", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:43:03 [error] 322#0: *1252 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:43:03 [error] 322#0: *1252 connect() failed (111: Connection refused) while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "test-domain.com", referrer: "http://test-domain.com/software.php?id=1"
2016/07/16 14:43:06 [error] 322#0: *1252 no live upstreams while connecting to upstream, client: 85.232.253.101, server: test-domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://localhost", host: "test-domain.com"
|
|
|
07/18/2016, 14:34
|
#10
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
#
|
|
|
07/19/2016, 18:09
|
#11
|
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786
|
Poste mal den Inhalt der Datei /etc/nginx/sites-enabled/default(oder wie auch immer die
betroffene Konfigurationsdatei benannt ist).
Welches "php-Packet" verwendest du überhaupt? php5-fpm?
evtl. hilft dir auch noch diese Anleitung:
|
|
|
07/19/2016, 20:46
|
#12
|
elite*gold: 15
Join Date: Feb 2013
Posts: 2,880
Received Thanks: 465
|
Meine Server conf:
PHP Code:
# Default server configuration
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl;
root /var/www/html;
server_name giga-core.com;
ssl_certificate /etc/nginx/ssl/pem.crt;
ssl_certificate_key /etc/nginx/ssl/private.key;
index index.php;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_pass localhost:9000;
include fastcgi.conf;
}
error_page 404 /err_404.php;
}
|
|
|
07/23/2016, 14:08
|
#13
|
elite*gold: 188
Join Date: Jan 2010
Posts: 284
Received Thanks: 22
|
Probiere es mal mit dem Socket anstatt dem Port. Hatte die Probleme auch mal
Gesendet von iPhone mit Tapatalk
|
|
|
07/23/2016, 21:35
|
#14
|
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786
|
Ja, anstelle von "localhost:9000" mal "unix:/var/run/php5-fpm.sock" einsetzen.
Evtl. auch die fastcgi.conf noch einmal überprüfen.
Oder auch einmal mit folgender Konfiguration ersetzen:
Quote:
# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# Check that the PHP script exists before passing it
try_files $fastcgi_script_name =404;
# Bypass the fact that try_files resets $fastcgi_path_info
# see: 
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
include fastcgi.conf;
|
|
|
|
 |
Similar Threads
|
Virtualbox auf Debian 8
08/09/2015 - Unix/Linux - 0 Replies
hallo ich habe nen dedicated server mit 8 Kerne 32gb ram 2x 2TB habe da virtualbox drauf laufen nur wie bekomme ich das eingestellt das ich über meine 2te ip das system der virtualbox erreichen kann win2008 läuft drauf möchte mit Remotedesktop auf zb ip 10.10.12.14 mich verbinden können nur bekomme das nicht hin wer kann mir da helfen mfg Dieandcry87
|
Debian Serverfiles
07/29/2015 - Metin2 Private Server - 3 Replies
HeyHo Leute,
weis jemand ob es für Debian Serverfiles gibt? Wenn ja kennt da jemand der jemand kennt der jemand kennt der es hat? Würde eg abdrücken dafür ;)
Grüße
|
Debian: Plesk
02/14/2013 - Unix/Linux - 9 Replies
Hallo Community,
Jedes mal wenn ich Plesk installieren will komm ich nicht sehr weit, weil mir folgendes angezeigt wird:
Also Following amount of diskpace required in directories:
/opt: 1200.00 Mb.
Total required: 1200.00 Mb, available 1024.00 Mb.
You need to free up 176.00 Mb.
Natürlich ist für ausreichend viel Speicherplatz gesorgt (50GB) & CHMOD für die Plesk Installer Datei hab ich auch Gesetz.
|
Debian
09/20/2011 - Metin2 Private Server - 2 Replies
Hi
ich habe mir über virtual box debian istaliert nur frage ich wie kriege ich darauf ein root server?
http://s08.flagcounter.com/count/MasO/bg=FFFFFF/t xt=000000/border=CCCCCC/columns=8/maxflags=248/vie wers=0/labels=0/
|
Minecraft auf Debian (Help)
12/31/2010 - Minecraft - 2 Replies
Hey,
ich habe jetzt einen Test Server von Server4You - nur weis ich nicht wie ich Minecraft auf Debian 4.0 - Plesk 8.4 Installiere :x
Ich hoffe auf Hilfe per Teamviewer ._. ...
Kommt jetzt nicht mit "Es gibt Tutorials" - ich habe einge angeguckt - aber nichts Verstanden!
|
All times are GMT +1. The time now is 19:26.
|
|