Welcome! Log In Create A New Profile

Advanced

Re: настройка systemd в centos 7

Konstantin Pavlov
October 25, 2016 10:38AM
Здравствуйте,

On 23/10/2016 18:46, Илья Шипицин wrote:
> Добрый день!
>
> не стартовал nginx из официального репозитория
> при запуске системы падает с ошибкой
>
> Oct 23 20:43:49 vm-14c6d53b nginx[571]: nginx: [emerg] bind() to X.X.X.X:80 failed (99: Cannot assign requested address)
>
> поменял в /lib/systemd/system/nginx.service:
>
>
> After=network-online.target
>
>
> стало запускаться при старте.
>
> чем-то обусловлена зависимость именно от network.target ?

Исключительно опытом дистрибутивов:

https://anonscm.debian.org/cgit/collab-maint/nginx.git/tree/debian/nginx-common.nginx.service#n16

https://anonscm.debian.org/cgit/pkg-apache/apache2.git/tree/debian/apache2.service#n3

http://pkgs.fedoraproject.org/cgit/rpms/nginx.git/tree/nginx.service#n3

http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/httpd.service#n14

https://build.opensuse.org/package/view_file/server:http/nginx/nginx.service?expand=1


Включим network-online.target в следующей версии пакета для mainline, не вижу особых причин за него держаться при наличии явных проблем.


--
Konstantin Pavlov

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

настройка systemd в centos 7

Илья Шипицин October 23, 2016 11:48AM

Re: настройка systemd в centos 7

SK October 23, 2016 12:14PM

Re: настройка systemd в centos 7

Илья Шипицин October 23, 2016 12:20PM

Re: настройка systemd в centos 7

SK October 23, 2016 12:40PM

Re: настройка systemd в centos 7

Maxim Dounin October 24, 2016 08:02AM

Re: настройка systemd в centos 7

Илья Шипицин October 24, 2016 08:30AM

Re: настройка systemd в centos 7

Илья Шипицин October 24, 2016 01:10PM

Re: настройка systemd в centos 7

Gena Makhomed October 24, 2016 01:34PM

Re: настройка systemd в centos 7

Илья Шипицин October 24, 2016 02:04PM

Re: настройка systemd в centos 7

Gena Makhomed October 24, 2016 02:24PM

Re: настройка systemd в centos 7

Dmitry Ivanov October 24, 2016 03:18PM

Re: настройка systemd в centos 7

Gena Makhomed October 25, 2016 09:36AM

Re: настройка systemd в centos 7

Илья Шипицин October 25, 2016 09:40AM

Re: настройка systemd в centos 7

Vadim A. Misbakh-Soloviov October 25, 2016 10:12AM

Re: настройка systemd в centos 7

Илья Шипицин October 25, 2016 10:14AM

Re: настройка systemd в centos 7

S.A.N October 24, 2016 03:23PM

Re: настройка systemd в centos 7

S.A.N October 24, 2016 03:25PM

Re: настройка systemd в centos 7

Konstantin Pavlov October 25, 2016 10:38AM

Re: настройка systemd в centos 7

Владислав Щапов October 25, 2016 11:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 45
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready