[!] root@UVM-PG-PROD-TEST at nginx >:/ sudo apt-get install nginx Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: nginx 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/384 kB of archives. After this operation, 1 005 kB of additional disk space will be used. Selecting previously unselected package nginx. (Reading database ... 61375 files and directories currently installed.) Preparing to unpack .../nginx_1.6.2-1~trusty_amd64.deb ... ----------------------------------------------------------------------
Thanks for using nginx! Please find the official documentation for nginx here: * http://nginx.org/en/docs/ Commercial subscriptions for nginx are available on: * http://nginx.com/products/ ---------------------------------------------------------------------- Unpacking nginx (1.6.2-1~trusty) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up nginx (1.6.2-1~trusty) ... nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 invoke-rc.d: initscript nginx, action "start" failed. [!] root@UVM-PG-PROD-TEST at nginx >:/ sudo service nginx restart * Restarting nginx nginx nginx: [emerg] unknown directive "server_names_hash_bucket_size:" in /etc/nginx/nginx.conf:43 nginx: configuration file /etc/nginx/nginx.conf test failed Что ему нужно и как побороть? apt-cache policy nginx nginx: Installed: 1.6.2-1~trusty Candidate: 1.6.2-1~trusty Version table: *** 1.6.2-1~trusty 0 500 http://nginx.org/packages/ubuntu/ trusty/nginx amd64 Packages 100 /var/lib/dpkg/status 1.4.6-1ubuntu3.1 0 500 http://ru.archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 500 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 1.4.6-1ubuntu3 0 500 http://ru.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages nginx -V nginx version: nginx/1.6.2 built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1) TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_spdy_module --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed' --with-ipv6 _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru