Проблемы с добавление виртуал-хоста к nginx
Yaroslav
yarik at muravskiy.kiev.ua
Tue Jan 29 15:12:01 MSK 2008
Alexey V. Karagodov пишет:
>
> On 29.01.2008, at 14:04, Vladimir Goncharov wrote:
>
>> On Tue, 29 Jan 2008 12:05:37 +0200
>> Yaroslav <yarik at muravskiy.kiev.ua> wrote:
>>
>>> Вывод команды ip a
>>>
>>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
>>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>> inet 127.0.0.1/8 scope host lo
>>> inet6 ::1/128 scope host
>>> valid_lft forever preferred_lft forever
>>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
>>> qlen 1000
>>> link/ether 00:e0:81:5b:17:7e brd ff:ff:ff:ff:ff:ff
>>> inet 192.168.0.1/23 brd 195.189.227.255 scope global eth0
>>> inet 192.168.0.2/23 brd 195.189.227.255 scope global secondary
>>> eth0:1
>> У алиасов маска должна быть /32, иначе работать будет неправильно
> я думаю работать вообще перестанет ;-)
>
>>
>>> inet6 fe80::2e0:81ff:fe5b:177e/64 scope link
>>> valid_lft forever preferred_lft forever
>>> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
>>> qlen 1000
>>> link/ether 00:e0:81:5b:17:7f brd ff:ff:ff:ff:ff:ff
>>> inet 10.11.11.20/24 brd 10.11.11.255 scope global eth1
>>>
>>
> пинги между серверами идут? правила фаервола проверены?
> где дебажный лог старта nginx-а?
Вот что в логи пишет:
2008/01/29 13:41:43 [notice] 6132#0: signal 15 (SIGTERM) received, exiting
2008/01/29 13:41:43 [notice] 6133#0: exiting
2008/01/29 13:41:43 [notice] 6133#0: exit
2008/01/29 13:41:43 [notice] 6132#0: signal 17 (SIGCHLD) received
2008/01/29 13:41:43 [notice] 6132#0: worker process 6133 exited with code 0
2008/01/29 13:41:43 [notice] 6132#0: exit
2008/01/29 13:41:43 [emerg] 6182#0: bind() to 192.168.0.2:80 failed (99:
Cannot assign requested address)
Да проверил правила, не стоит там никаких запретов .
More information about the nginx-ru
mailing list