﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
962	Nginx leaves old socket	stickybit.myhm.de@…		"/etc/nginx/nginx.conf:
----
{{{
#!ini
stream {
   server {
      listen unix:/var/run/sock1.sock;
      proxy_pass unix:/var/run/sock2.sock;
   }
}
}}}
----
After the stop of nginx remains /var/run/sock1.sock. Nginx will not start afterwards:

bind() to unix:/var/run/sock1.sock failed (98: Address already in use)
"	defect	closed	major		documentation	1.9.x	duplicate			Linux s1 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux	"nginx version: nginx/1.9.14
built by gcc 4.7.2 (Debian 4.7.2-5)
built with OpenSSL 1.0.1e 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --user=www-data --group=www-data --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-stream
"
