Hey, Wenn ich NGINX restarte komm immer folgende meldung:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Wenn ich journalctl -xe eingebe kommt das
root@panel:~# journalctl -xe
Dec 26 21:54:54 panel.playofdeath.de sshd[25649]: Invalid user hadoop from 211.45.247.122 port 54176
Dec 26 21:54:54 panel.playofdeath.de sshd[25649]: pam_unix(sshd:auth): check pass; user unknown
Dec 26 21:54:54 panel.playofdeath.de sshd[25649]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=211.45.247.122
Dec 26 21:54:56 panel.playofdeath.de sshd[25649]: Failed password for invalid user hadoop from 211.45.247.122 port 54176 ssh2
Dec 26 21:54:56 panel.playofdeath.de sshd[25649]: Received disconnect from 211.45.247.122 port 54176:11: Bye Bye [preauth]
Dec 26 21:54:56 panel.playofdeath.de sshd[25649]: Disconnected from invalid user hadoop 211.45.247.122 port 54176 [preauth]
Dec 26 21:55:01 panel.playofdeath.de CRON[25712]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 26 21:55:01 panel.playofdeath.de CRON[25713]: (root) CMD (php /var/www/panel/artisan schedule:run >> /dev/null 2>&1)
Dec 26 21:55:02 panel.playofdeath.de CRON[25712]: pam_unix(cron:session): session closed for user root
Dec 26 21:55:33 panel.playofdeath.de sshd[26000]: Invalid user playofdeath from 94.232.46.202 port 60188
Dec 26 21:55:33 panel.playofdeath.de sshd[26000]: pam_unix(sshd:auth): check pass; user unknown
Dec 26 21:55:33 panel.playofdeath.de sshd[26000]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=94.232.46.202
Dec 26 21:55:35 panel.playofdeath.de sshd[26000]: Failed password for invalid user playofdeath from 94.232.46.202 port 60188 ssh2
Dec 26 21:55:35 panel.playofdeath.de sshd[26000]: Connection closed by invalid user playofdeath 94.232.46.202 port 60188 [preauth]
Dec 26 21:56:01 panel.playofdeath.de sshd[26114]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=101.231.146.36 user=root
Dec 26 21:56:01 panel.playofdeath.de CRON[26135]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 26 21:56:01 panel.playofdeath.de CRON[26136]: (root) CMD (php /var/www/panel/artisan schedule:run >> /dev/null 2>&1)
Dec 26 21:56:03 panel.playofdeath.de CRON[26135]: pam_unix(cron:session): session closed for user root
Dec 26 21:56:03 panel.playofdeath.de sshd[26114]: Failed password for root from 101.231.146.36 port 32143 ssh2
Dec 26 21:56:04 panel.playofdeath.de sshd[26114]: Received disconnect from 101.231.146.36 port 32143:11: Bye Bye [preauth]
Dec 26 21:56:04 panel.playofdeath.de sshd[26114]: Disconnected from authenticating user root 101.231.146.36 port 32143 [preauth]
Dec 26 21:56:36 panel.playofdeath.de sshd[26416]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=211.45.247.122 user=root
Dec 26 21:56:38 panel.playofdeath.de sshd[26416]: Failed password for root from 211.45.247.122 port 50714 ssh2
Dec 26 21:56:38 panel.playofdeath.de sshd[26416]: Received disconnect from 211.45.247.122 port 50714:11: Bye Bye [preauth]
Dec 26 21:56:38 panel.playofdeath.de sshd[26416]: Disconnected from authenticating user root 211.45.247.122 port 50714 [preauth]
Dec 26 21:56:48 panel.playofdeath.de sshd[26480]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=82.65.173.65 user=root
Dec 26 21:56:50 panel.playofdeath.de sshd[26480]: Failed password for root from 82.65.173.65 port 52560 ssh2
Dec 26 21:56:50 panel.playofdeath.de sshd[26480]: Received disconnect from 82.65.173.65 port 52560:11: Bye Bye [preauth]
Dec 26 21:56:50 panel.playofdeath.de sshd[26480]: Disconnected from authenticating user root 82.65.173.65 port 52560 [preauth]
Dec 26 21:57:01 panel.playofdeath.de CRON[26584]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 26 21:57:01 panel.playofdeath.de CRON[26587]: (root) CMD (php /var/www/panel/artisan schedule:run >> /dev/null 2>&1)
Dec 26 21:57:02 panel.playofdeath.de CRON[26584]: pam_unix(cron:session): session closed for user root
Dec 26 21:57:10 panel.playofdeath.de sshd[26625]: Invalid user huawei from 140.246.36.47 port 48644
Dec 26 21:57:10 panel.playofdeath.de sshd[26625]: pam_unix(sshd:auth): check pass; user unknown
Dec 26 21:57:10 panel.playofdeath.de sshd[26625]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=140.246.36.47
Dec 26 21:57:13 panel.playofdeath.de sshd[26625]: Failed password for invalid user huawei from 140.246.36.47 port 48644 ssh2
Dec 26 21:57:13 panel.playofdeath.de sshd[26625]: Received disconnect from 140.246.36.47 port 48644:11: Normal Shutdown, Thank you for playing [preauth]
Dec 26 21:57:13 panel.playofdeath.de sshd[26625]: Disconnected from invalid user huawei 140.246.36.47 port 48644 [preauth]
Dec 26 21:57:33 panel.playofdeath.de sshd[26831]: Invalid user admin from 120.53.249.156 port 40012
Dec 26 21:57:33 panel.playofdeath.de sshd[26831]: pam_unix(sshd:auth): check pass; user unknown
Dec 26 21:57:33 panel.playofdeath.de sshd[26831]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=120.53.249.156
Dec 26 21:57:35 panel.playofdeath.de sshd[26831]: Failed password for invalid user admin from 120.53.249.156 port 40012 ssh2
Dec 26 21:57:35 panel.playofdeath.de sshd[26831]: Received disconnect from 120.53.249.156 port 40012:11: Bye Bye [preauth]
Dec 26 21:57:35 panel.playofdeath.de sshd[26831]: Disconnected from invalid user admin 120.53.249.156 port 40012 [preauth]
Dec 26 21:57:43 panel.playofdeath.de sshd[26874]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=101.231.146.36 user=root
Dec 26 21:57:44 panel.playofdeath.de sshd[26874]: Failed password for root from 101.231.146.36 port 42980 ssh2
Dec 26 21:57:44 panel.playofdeath.de sshd[26874]: Received disconnect from 101.231.146.36 port 42980:11: Bye Bye [preauth]
Dec 26 21:57:44 panel.playofdeath.de sshd[26874]: Disconnected from authenticating user root 101.231.146.36 port 42980 [preauth]
Dec 26 21:58:01 panel.playofdeath.de CRON[26983]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 26 21:58:01 panel.playofdeath.de CRON[26984]: (root) CMD (php /var/www/panel/artisan schedule:run >> /dev/null 2>&1)
Dec 26 21:58:02 panel.playofdeath.de CRON[26983]: pam_unix(cron:session): session closed for user root
Dec 26 21:58:09 panel.playofdeath.de sshd[27053]: Invalid user rtl from 82.65.173.65 port 47454
Dec 26 21:58:09 panel.playofdeath.de sshd[27053]: pam_unix(sshd:auth): check pass; user unknown
Dec 26 21:58:09 panel.playofdeath.de sshd[27053]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=82.65.173.65
Dec 26 21:58:12 panel.playofdeath.de sshd[27053]: Failed password for invalid user rtl from 82.65.173.65 port 47454 ssh2
Dec 26 21:58:12 panel.playofdeath.de sshd[27053]: Received disconnect from 82.65.173.65 port 47454:11: Bye Bye [preauth]
Dec 26 21:58:12 panel.playofdeath.de sshd[27053]: Disconnected from invalid user rtl 82.65.173.65 port 47454 [preauth]
Dec 26 21:58:13 panel.playofdeath.de sshd[27071]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=211.45.247.122 user=root
Dec 26 21:58:15 panel.playofdeath.de sshd[27071]: Failed password for root from 211.45.247.122 port 47254 ssh2
Dec 26 21:58:15 panel.playofdeath.de sshd[27071]: Received disconnect from 211.45.247.122 port 47254:11: Bye Bye [preauth]
Dec 26 21:58:15 panel.playofdeath.de sshd[27071]: Disconnected from authenticating user root 211.45.247.122 port 47254 [preauth]
Dec 26 21:58:30 panel.playofdeath.de sshd[27301]: Did not receive identification string from 141.98.11.23 port 47330
lines 1140-1201/1201 (END)
Es muss an der mailcow.conf ligen die in nginx drinne ist und sieht so aus:
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name mail.playofdeath.de autodiscover.* autoconfig.*;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mail.playofdeath.de autodiscover.* autoconfig.*;
ssl_certificate /etc/letsencrypt/live/mail.playofdeath.de/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.playofdeath.de/privkey.pem;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
# See https://ssl-config.mozilla.org/#server=nginx for the latest ssl settings recommendations
# An example config is given below
ssl_protocols TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5:!SHA1:!kRSA;
ssl_prefer_server_ciphers off;
location /Microsoft-Server-ActiveSync {
proxy_pass http://127.0.0.1:8080/Microsoft-Server-ActiveSync;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 75;
proxy_send_timeout 3650;
proxy_read_timeout 3650;
proxy_buffers 64 256k;
client_body_buffer_size 512k;
client_max_body_size 0;
}
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 0;
}
}
und die normale mailcow.conf die in /opt/mailcow-dockerized ligt sieht so aus
# For IPv6 see https://mailcow.github.io/mailcow-dockerized-docs/firststeps-ip_bindings/
HTTP_PORT=8080
HTTP_BIND=
HTTPS_PORT=8443
HTTPS_BIND=
# ------------------------------
# Other bindings
Wäre echt nett wenn mir jmd da weiter helfen könnte