Hello,
i am encountering error above, but restarting the webserver doesn´t give me an error
Code:
tail -f /var/log/nginx/error.log
2011/02/24 19:14:30 [error] 17889#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.200.206, server: mail.example.de, request: "GET /accounts/login/?next=/ HTTP/1.1", upstream: "uwsgi://unix:///var/run/uwsgi/uwsgi-python2.6/baruwa/baruwa.sock:", host: "192.168.xxx.xxx"
2011/02/24 19:14:30 [error] 17889#0: *1 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "192.168.200.19"
2011/02/24 19:14:30 [error] 17889#0: *1 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "192.168.200.19"
2011/02/24 19:14:33 [error] 17889#0: *1 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "192.168.200.19"
2011/02/24 19:19:25 [error] 17889#0: *4 upstream prematurely closed connection while reading response header from upstream, client: 192.168.200.206, server: mail.example.de, request: "GET /accounts/login/?next=/ HTTP/1.1", upstream: "uwsgi://unix:///var/run/uwsgi/uwsgi-python2.6/baruwa/baruwa.sock:", host: "server"
2011/02/24 19:19:25 [error] 17889#0: *4 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "server"
2011/02/24 19:19:25 [error] 17889#0: *4 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "server"
2011/02/24 19:19:28 [error] 17889#0: *4 open() "/usr/share/pyshared/baruwa/favicon.ico" failed (2: No such file or directory), client: 192.168.200.206, server: mail.example.de, request: "GET /favicon.ico HTTP/1.1", host: "server"
2011/02/24 19:20:32 [error] 17889#0: *4 upstream prematurely closed connection while reading response header from upstream, client: 192.168.200.206, server: example.de, request: "GET /accounts/login/?next=/ HTTP/1.1", upstream: "uwsgi://unix:///var/run/uwsgi/uwsgi-python2.6/baruwa/baruwa.sock:", host: "server"
Code:
/etc/init.d/uwsgi-python2.6 restart && /etc/init.d/nginx restart
* Restarting WSGI server(s) uwsgi-python2.6 [ OK ]
Restarting nginx: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
nginx.