Page 1 of 1

Nginx и dovecot не стартуют

Posted: Sun Nov 03, 2019 2:43 pm
by shystriknsk
Обновил систему CentOS 7 до последнего релиза 7.7 упали nginx и dovecot. Думал ну ладно переустанвлю систему и переустановлю VestaCP (apache+nginx, exim+dovecot, names, vsftpd, mariadb, iptables и remi) но тут началось установка идет все проходит нормально и в конце не стартует nginx вот выхлоп терминала

Code: Select all

Redirecting to /bin/systemctl stop iptables.service
Note: Forwarding request to 'systemctl enable nginx.service'.
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because a timeout was exceeded. See "systemctl status nginx.service" and "journalctl -xe" for details.
Error: nginx start failed

пробовал убирать nginx и оставлять dovecot такая же беда не стартует dovecot. Подскажите в чем причина данной проблемы.

Re: Nginx и dovecot не стартуют

Posted: Sun Nov 03, 2019 3:35 pm
by grayfolk
shystriknsk wrote:
Sun Nov 03, 2019 2:43 pm
Обновил систему CentOS 7 до последнего релиза 7.7 упали nginx и dovecot. Думал ну ладно переустанвлю систему и переустановлю VestaCP (apache+nginx, exim+dovecot, names, vsftpd, mariadb, iptables и remi) но тут началось установка идет все проходит нормально и в конце не стартует nginx вот выхлоп терминала

Code: Select all

Redirecting to /bin/systemctl stop iptables.service
Note: Forwarding request to 'systemctl enable nginx.service'.
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because a timeout was exceeded. See "systemctl status nginx.service" and "journalctl -xe" for details.
Error: nginx start failed

пробовал убирать nginx и оставлять dovecot такая же беда не стартует dovecot. Подскажите в чем причина данной проблемы.
See "systemctl status nginx.service" and "journalctl -xe" for details

Re: Nginx и dovecot не стартуют

Posted: Sun Nov 03, 2019 3:41 pm
by shystriknsk
grayfolk wrote:
Sun Nov 03, 2019 3:35 pm
shystriknsk wrote:
Sun Nov 03, 2019 2:43 pm
Обновил систему CentOS 7 до последнего релиза 7.7 упали nginx и dovecot. Думал ну ладно переустанвлю систему и переустановлю VestaCP (apache+nginx, exim+dovecot, names, vsftpd, mariadb, iptables и remi) но тут началось установка идет все проходит нормально и в конце не стартует nginx вот выхлоп терминала

Code: Select all

Redirecting to /bin/systemctl stop iptables.service
Note: Forwarding request to 'systemctl enable nginx.service'.
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because a timeout was exceeded. See "systemctl status nginx.service" and "journalctl -xe" for details.
Error: nginx start failed

пробовал убирать nginx и оставлять dovecot такая же беда не стартует dovecot. Подскажите в чем причина данной проблемы.
See "systemctl status nginx.service" and "journalctl -xe" for details

Code: Select all

 journalctl -xe
Nov 03 01:35:12 msfleet.su sshd[4311]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.116.195.122
Nov 03 01:35:14 msfleet.su sshd[4311]: Failed password for root from 200.116.195.122 port 45534 ssh2
Nov 03 01:35:14 msfleet.su sshd[4311]: Received disconnect from 200.116.195.122 port 45534:11: Bye Bye [preauth]
Nov 03 01:35:14 msfleet.su sshd[4311]: Disconnected from 200.116.195.122 port 45534 [preauth]
Nov 03 01:35:34 msfleet.su sshd[4313]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=222.186.175.154
Nov 03 01:35:35 msfleet.su sshd[4313]: Failed password for root from 222.186.175.154 port 28668 ssh2
Nov 03 01:35:39 msfleet.su sshd[4313]: Failed password for root from 222.186.175.154 port 28668 ssh2
Nov 03 01:35:43 msfleet.su sshd[4313]: Failed password for root from 222.186.175.154 port 28668 ssh2
Nov 03 01:35:48 msfleet.su sshd[4313]: Failed password for root from 222.186.175.154 port 28668 ssh2
Nov 03 01:35:52 msfleet.su sshd[4313]: Failed password for root from 222.186.175.154 port 28668 ssh2
Nov 03 01:35:52 msfleet.su sshd[4313]: error: maximum authentication attempts exceeded for root from 222.186.175.154 port 28668 ssh2 [preauth]
Nov 03 01:35:52 msfleet.su sshd[4313]: Disconnecting: Too many authentication failures [preauth]
Nov 03 01:35:52 msfleet.su sshd[4313]: PAM 4 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=222.186.175.154  user=root
Nov 03 01:35:52 msfleet.su sshd[4313]: PAM service(sshd) ignoring max retries; 5 > 3
Nov 03 01:36:01 msfleet.su sshd[4315]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=222.186.175.154
Nov 03 01:36:03 msfleet.su sshd[4315]: Failed password for root from 222.186.175.154 port 23192 ssh2
Nov 03 01:36:07 msfleet.su sshd[4315]: Failed password for root from 222.186.175.154 port 23192 ssh2
Nov 03 01:36:11 msfleet.su sshd[4315]: Failed password for root from 222.186.175.154 port 23192 ssh2
Nov 03 01:36:16 msfleet.su sshd[4315]: Failed password for root from 222.186.175.154 port 23192 ssh2
Nov 03 01:36:20 msfleet.su systemd[1]: nginx.service start operation timed out. Terminating.
Nov 03 01:36:20 msfleet.su systemd[1]: Failed to start nginx - high performance web server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Nov 03 01:36:20 msfleet.su systemd[1]: Unit nginx.service entered failed state.
Nov 03 01:36:20 msfleet.su systemd[1]: nginx.service failed.

Code: Select all

systemctl status nginx
● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/nginx.service.d
           └─limits.conf
   Active: failed (Result: timeout) since Sun 2019-11-03 01:28:50 UTC; 44s ago
     Docs: http://nginx.org/en/docs/
  Process: 4265 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
 Main PID: 716 (code=exited, status=0/SUCCESS)

Nov 03 01:27:20 msfleet.su systemd[1]: Starting nginx - high performance web server...
Nov 03 01:27:20 msfleet.su systemd[1]: Can't open PID file /var/run/nginx.pid (yet?) after start: Too many levels of symbolic links
Nov 03 01:28:50 msfleet.su systemd[1]: nginx.service start operation timed out. Terminating.
Nov 03 01:28:50 msfleet.su systemd[1]: Failed to start nginx - high performance web server.
Nov 03 01:28:50 msfleet.su systemd[1]: Unit nginx.service entered failed state.
Nov 03 01:28:50 msfleet.su systemd[1]: nginx.service failed.
[root@msfleet ~]# nginx -t -c /etc/nginx/nginx.conf
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
вот весь выхлоп

Re: Nginx и dovecot не стартуют

Posted: Mon Nov 04, 2019 10:23 pm
by Alex Connor
shystriknsk, доступ к серверу предоставить сможете в ЛС?

Re: Nginx и dovecot не стартуют

Posted: Tue Nov 05, 2019 8:42 am
by shystriknsk
Alex Connor wrote:
Mon Nov 04, 2019 10:23 pm
shystriknsk, доступ к серверу предоставить сможете в ЛС?
только по удаленке через тимвиавер с моего ПК

Re: Nginx и dovecot не стартуют

Posted: Tue May 19, 2020 6:20 pm
by shystriknsk
Проблема вернулась упал nginx и dovecot и больше не стартуют ошибки как и выше.