Temat: [SOLVED] openvpn - Socket bind failed on local address [undef]
Cześć,
Panowie pomocy !!
Po uruchomieniu openvpn na porcie 1196. Dostaję bład:
openvpn(cert_tcp_tap)[2250]: TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Jestem w trakcie BB -> CC (na czysto)
nic nie zmieniałem w konfiguach openvpn
openvpn-polarssl, ale na openvpn-openssl jest to samo.
logread
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(cert_tcp_tap)[2250]: OpenVPN 2.3.6 mips-openwrt-linux-gnu [SSL (PolarSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jul 25 2015
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(cert_tcp_tap)[2250]: library versions: PolarSSL 1.3.11, LZO 2.08
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: OpenVPN 2.3.6 mips-openwrt-linux-gnu [SSL (PolarSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jul 25 2015
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: library versions: PolarSSL 1.3.11, LZO 2.08
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(cert_tcp_tap)[2250]: Diffie-Hellman initialized with 2048 bit key
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: TUN/TAP device tap0 opened
Thu Sep 17 21:11:06 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: TUN/TAP TX queue length set to 100
Thu Sep 17 21:11:07 2015 daemon.notice openvpn(tcp-tap-vpn)[2251]: Listening for incoming TCP connection on [undef]
Thu Sep 17 21:11:07 2015 daemon.notice openvpn(cert_tcp_tap)[2250]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Thu Sep 17 21:11:07 2015 daemon.err openvpn(cert_tcp_tap)[2250]: TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Thu Sep 17 21:11:07 2015 daemon.notice openvpn(cert_tcp_tap)[2250]: Exiting due to fatal errorPrzed uruchomieniem openvpn
netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5353 0.0.0.0:* LISTEN 1889/dnscrypt-proxy
tcp 0 0 0.0.0.0:32777 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:32778 0.0.0.0:* LISTEN 1558/rpc.statd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1393/smbd
tcp 0 0 0.0.0.0:32780 0.0.0.0:* LISTEN 1555/rpc.mountd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 996/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1305/uhttpd
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN 1304/uhttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1986/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1111/dropbear
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1393/smbd
tcp 0 0 :::139 :::* LISTEN 1393/smbd
tcp 0 0 :::53 :::* LISTEN 1986/dnsmasq
tcp 0 0 :::22 :::* LISTEN 1111/dropbear
tcp 0 0 :::445 :::* LISTEN 1393/smbdZ jakiego powdu niby jest to "Address already in use" ???