Monit Problem mit Nginx

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
fulltilt
Beiträge: 1157
Registriert: 03.12.2006 20:10:57

Monit Problem mit Nginx

Beitrag von fulltilt » 04.04.2017 19:08:55

ich habe hier ein Problem (imscp panel) mit Monit und Nginx ...
Nginx läuft auf Port 8443 über https

Code: Alles auswählen

# Monitors the Nginx HTTP server
check process nginx with pidfile /var/run/nginx.pid
  start program  "/etc/init.d/nginx start"
  stop program  "/etc/init.d/nginx stop"
  if failed port 8443 protocol https then restart
  if 5 restarts within 5 cycles then timeout
oder

Code: Alles auswählen

# Monitors the Nginx HTTP server
check process nginx with pidfile /var/run/nginx.pid
  start program  "/etc/init.d/nginx start"
  stop program  "/etc/init.d/nginx stop"
  if failed port 8443 then restart
  if 5 restarts within 5 cycles then timeout
gibt ein;
connection failed to localhost:8443 [DEFAULT via TCP]
Debian: Testing
Desktop: KDE Plasma 5

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Monit Problem mit Nginx

Beitrag von rendegast » 19.04.2017 03:32:26

Code: Alles auswählen

netstat -tpaun
nginx auf Port 8443?

'/etc/init.d/nginx start'
Fehler? nginx-Log?



Port 8443 ist ssl?
Debiansslscan 1.8.2 jessie

Code: Alles auswählen

sslscan IP:8443
sslscan localhost:8443
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Benutzeravatar
fulltilt
Beiträge: 1157
Registriert: 03.12.2006 20:10:57

Re: Monit Problem mit Nginx

Beitrag von fulltilt » 19.04.2017 07:16:05

Code: Alles auswählen

tcp6       0      0 :::8443                 :::*                    LISTEN      32197/nginx -g daem
sslscan: command not found
Danke, da scheint ein Paket zu fehlen ;-)
Debian: Testing
Desktop: KDE Plasma 5

Antworten