मैं Ubuntu Hardy 8.04 और nginx 0.7.65 चल रहा हूँ, और जब मैं अपने nginx सर्वर शुरू करने का प्रयास करें:nginx त्रुटि: (99: अनुरोध असाइन नहीं कर सकते पता)
$ sudo /etc/init.d/nginx start
मैं निम्नलिखित त्रुटि मिलती है:
Starting nginx: [emerg]: bind() to IP failed (99: Cannot assign requested address)
जहां "आईपी" मेरे आईपी पते के लिए प्लेसहोल्डर है। क्या कोई जानता है कि यह त्रुटि क्यों हो रही है? यह ईसी 2 पर चल रहा है।
मेरे nginx.conf फ़ाइल इस तरह दिखता है:
user www-data www-data;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
access_log /usr/local/nginx/logs/access.log;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 3;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript text/xml application/xml
application/xml+rss text/javascript;
include /usr/local/nginx/sites-enabled/*;
}
और मेरे /usr/local/nginx/sites-enabled/example.com लगता है:
server {
listen IP:80;
server_name example.com;
rewrite ^/(.*) https://example.com/$1 permanent;
}
server {
listen IP:443 default ssl;
ssl on;
ssl_certificate /etc/ssl/certs/myssl.crt;
ssl_certificate_key /etc/ssl/private/myssl.key;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP;
server_name example.com;
access_log /home/example/example.com/log/access.log;
error_log /home/example/example.com/log/error.log;
}
हम्म सक्षम दुर्भाग्य से पोर्ट 80 को सुनने के लिए कुछ भी नहीं है। –
हम्म .. किसी भी फास्ट-सीजीआई शायद चल रहा है .. –
नहीं ... फास्ट-सीजीआई नहीं देखें ... –