Re: Ошибки при установке NGINX

2017-08-18 Пенетрантность Andrey_Bushman
Я не однократно пытался установить из одного и того же места: командой,
обозначенной мною в первом сообщении. Из исходников ничего не собирал.
Вечером из дома попробую удалить и снова поставить, но надежда, что вдруг
волшебным образом в этот раз установка пройдёт успешно - очень слабая.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,276085,276091#msg-276091

___
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: Ошибки при установке NGINX

2017-08-17 Пенетрантность Andrey_Bushman
Вывод обозначенных команд мне не сильно помог:

root@bimpack:~# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-08-17 15:53:41 EDT;
16min ago
  Process: 15842 ExecStart=/usr/sbin/nginx -g daemon on; master_process on;
(code=exited, status=1/FAILURE)
  Process: 15839 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on;
master_process on; (code=exited, status=0/SUCCESS)

Aug 17 15:53:39 vds nginx[15842]: nginx: [emerg] bind() to 0.0.0.0:80 failed
(98: Address already in use)
Aug 17 15:53:39 vds nginx[15842]: nginx: [emerg] bind() to 0.0.0.0:80 failed
(98: Address already in use)
Aug 17 15:53:40 vds nginx[15842]: nginx: [emerg] bind() to 0.0.0.0:80 failed
(98: Address already in use)
Aug 17 15:53:40 vds nginx[15842]: nginx: [emerg] bind() to 0.0.0.0:80 failed
(98: Address already in use)
Aug 17 15:53:41 vds nginx[15842]: nginx: [emerg] bind() to 0.0.0.0:80 failed
(98: Address already in use)
Aug 17 15:53:41 vds nginx[15842]: nginx: [emerg] still could not bind()
Aug 17 15:53:41 vds systemd[1]: nginx.service: Control process exited,
code=exited status=1
Aug 17 15:53:41 vds systemd[1]: Failed to start A high performance web
server and a reverse proxy server.
Aug 17 15:53:41 vds systemd[1]: nginx.service: Unit entered failed state.
Aug 17 15:53:41 vds systemd[1]: nginx.service: Failed with result
'exit-code'.
root@bimpack:~#

root@bimpack:~# journalctl -xe
Aug 17 16:09:30 vds sshd[16000]: error: maximum authentication attempts
exceeded for root from 42.7.26.91 port 48424 ssh2 [preauth]
Aug 17 16:09:30 vds sshd[16000]: Disconnecting: Too many authentication
failures [preauth]
Aug 17 16:09:30 vds sshd[16000]: PAM 5 more authentication failures;
logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:09:30 vds sshd[16000]: PAM service(sshd) ignoring max retries; 6 >
3
Aug 17 16:09:32 vds sshd[16002]: pam_unix(sshd:auth): authentication
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:09:34 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:37 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:39 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:42 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:45 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:48 vds sshd[16002]: Failed password for root from 42.7.26.91
port 9055 ssh2
Aug 17 16:09:48 vds sshd[16002]: error: maximum authentication attempts
exceeded for root from 42.7.26.91 port 9055 ssh2 [preauth]
Aug 17 16:09:48 vds sshd[16002]: Disconnecting: Too many authentication
failures [preauth]
Aug 17 16:09:48 vds sshd[16002]: PAM 5 more authentication failures;
logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:09:48 vds sshd[16002]: PAM service(sshd) ignoring max retries; 6 >
3
Aug 17 16:09:50 vds sshd[16005]: pam_unix(sshd:auth): authentication
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:09:52 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:09:55 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:09:58 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:10:01 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:10:03 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:10:07 vds sshd[16005]: Failed password for root from 42.7.26.91
port 32425 ssh2
Aug 17 16:10:07 vds sshd[16005]: error: maximum authentication attempts
exceeded for root from 42.7.26.91 port 32425 ssh2 [preauth]
Aug 17 16:10:07 vds sshd[16005]: Disconnecting: Too many authentication
failures [preauth]
Aug 17 16:10:07 vds sshd[16005]: PAM 5 more authentication failures;
logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:10:07 vds sshd[16005]: PAM service(sshd) ignoring max retries; 6 >
3
Aug 17 16:10:09 vds sshd[16009]: pam_unix(sshd:auth): authentication
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=42.7.26.91  user=root
Aug 17 16:10:11 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:13 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:15 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:19 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:21 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:24 vds sshd[16009]: Failed password for root from 42.7.26.91
port 57502 ssh2
Aug 17 16:10:24 vds sshd[16009]: error: maximum authentication attempts
exceeded 

Ошибки при установке NGINX

2017-08-17 Пенетрантность Andrey_Bushman
Доброго времени суток.

Ubuntu-16.04-x86_64 (сервер)

Устанавливаю NGINX:

> apt-get install nginx

Получаю ошибки:



Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
Job for nginx.service failed because the control process exited with error
code. See "systemctl status nginx.service" and "journalctl -xe" for
details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>=
1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) |
nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full
(<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<<
1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~);
however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-core
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)



Как установить nginx?

Спасибо

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,276085,276085#msg-276085

___
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru