Re: Проблемы с добавление виртуал-хоста к nginx

Alexey V. Karagodov kav at karagodov.name
Tue Jan 29 18:03:11 MSK 2008


On 29.01.2008, at 17:27, Yaroslav wrote:

> eth0:0    Link encap:Ethernet  HWaddr 00:E0:81:5B:17:7E
>         inet addr:195.189.227.21  Bcast:195.189.227.255  Mask: 
> 255.255.254.0
>         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>         Interrupt:16
>
> eth0:1    Link encap:Ethernet  HWaddr 00:E0:81:5B:17:7E
>         inet addr:195.189.227.206  Bcast:195.189.227.255  Mask: 
> 255.255.254.0
>         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>         Interrupt:16
>
>
> ping -c 3 195.189.227.206
> PING 195.189.227.206 (195.189.227.206) 56(84) bytes of data.
> 64 bytes from 195.189.227.206: icmp_seq=1 ttl=60 time=8.47 ms
> 64 bytes from 195.189.227.206: icmp_seq=2 ttl=60 time=8.96 ms
> 64 bytes from 195.189.227.206: icmp_seq=3 ttl=60 time=12.6 ms
>
> На 80 порту перед подключением второго хоста ничего не весит
> nmap 195.189.227.206 -p 80
>
> Starting Nmap 4.20 ( http://insecure.org ) at 2008-01-29 15:41 EET
> Interesting ports on 206.227.189.static.server.ua (195.189.227.206):
> PORT   STATE  SERVICE
> 80/tcp closed http
>
> netstat -nap
> tcp        0      0 195.189.227.206:53           
> 0.0.0.0:*                   LISTEN      26233/named
> udp        0      0 195.189.227.206:53           
> 0.0.0.0:*                               26233/named
> unix  3      [ ]         STREAM     CONNECTED     7206   2677/dhcdbd
>
> В логах выводит ошибку:
> 2008/01/29 15:27:11 [debug] 16303#0: bind() 195.189.226.206:80 #9
> 2008/01/29 15:27:11 [emerg] 16303#0: bind() to 195.189.226.206:80  
> failed (99: Cannot assign requested address)

а теперь ОЧЕНЬ внимательно смотрим адреса

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20080129/17f4524a/attachment.html>


More information about the nginx-ru mailing list