[Comm] nginx не слушает сеть
    Alexander Vasiliev 
    vav.email на gmail.com
       
    Пн Июл 11 13:51:16 UTC 2011
    
    
  
Имею
# apt-repo
rpm [p6] rsync://ftp.altlinux.org/ALTLinux/p6/branch i586 classic
rpm [p6] rsync://ftp.altlinux.org/ALTLinux/p6/branch noarch classic
# rpm -q nginx
nginx-1.0.0-alt2
Конфигурация nginx "из пакета".
server {
        listen  localhost:80;
        # can't use wildcards in first server_name
        server_name localhost localhost.localdomain;
        location / {
            root /var/www/html;
        }
Стартую nginx.
# service nginx start
Checking configuration sanity for nginx:                     [ DONE ]
Starting nginx service:                                              [ DONE ]
# service nginx status
nginx is running
Но сеть на 80 порту не слушает.
# netstat --protocol inet -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address
     State       PID/Program name
tcp        0      0 0.0.0.0:22                  0.0.0.0:*
     LISTEN      3366/sshd
tcp        0      0 0.0.0.0:43871               0.0.0.0:*
     LISTEN      2811/rpc.statd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*
     LISTEN      2760/rpcbind
udp        0      0 0.0.0.0:780                 0.0.0.0:*
                 2760/rpcbind
udp        0      0 0.0.0.0:59999               0.0.0.0:*
                 2811/rpc.statd
udp        0      0 0.0.0.0:867                 0.0.0.0:*
                 2811/rpc.statd
udp        0      0 0.0.0.0:111                 0.0.0.0:*
                 2760/rpcbind
В логах /var/log/messages
Jul 11 17:32:16 test-dmz nginx: nginx: the configuration file
/etc/nginx/nginx.conf syntax is ok
Jul 11 17:32:16 test-dmz nginx: nginx: configuration file
/etc/nginx/nginx.conf test is successful
Jul 11 17:32:16 test-dmz nginx: Checking configuration sanity for
nginx:  succeeded
Jul 11 17:32:16 test-dmz nginx: nginx startup succeeded
Логи nginx'a пусты
# ls -l /var/log/nginx/
итого 0
-rw-r--r-- 1 root root 0 Июл 11 15:56 error.log
-rw-r--r-- 1 root root 0 Июл 11 15:56 nginx.error.log
Подскажите, пожалуйста, что нужно сделать чтобы заставить nginx слушать сеть?
-- 
Alexander Vasiliev
vav.email на gmail.com
    
    
Подробная информация о списке рассылки community