4 thoughts on “升级 Nginx 至 0.8.54”

  1. root@ubuntu:/tmp# dpkg -i nginx_0.8.54-1heiher_i386.deb
    (Reading database … 43068 files and directories currently installed.)
    Preparing to replace nginx 0.7.67-3ubuntu1 (using nginx_0.8.54-1heiher_i386.deb) …
    Unpacking replacement nginx …
    Setting up nginx (0.8.54-1heiher) …
    Installing new version of config file /etc/nginx/mime.types …
    Installing new version of config file /etc/nginx/sites-available/default …
    Installing new version of config file /etc/init.d/nginx …
    Trying a soft restart
    PID IS RIGHT
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    WAITING
    Nginx ‘soft’ update failed, doing restart
    Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    configuration file /etc/nginx/nginx.conf test is successful
    [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
    [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
    [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
    [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
    [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
    [emerg]: still could not bind()
    nginx.
    Processing triggers for ufw …
    Processing triggers for ureadahead …
    Processing triggers for man-db …

      1. root@ubuntu:~# lsof -i tcp:80
        COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
        nginx 890 root 7u IPv4 7198 0t0 TCP *:www (LISTEN)
        nginx 1174 www-data 7u IPv4 7198 0t0 TCP *:www (LISTEN)

Leave a Reply

Your email address will not be published. Required fields are marked *