[Openswan Users] problem to start xl2tpd -- init_network: Unable to bind socket: Address already in use. Terminating.
Erick Chinchilla Berrocal
erick at netcrc.net
Mon Dec 27 14:48:52 EST 2010
when i try to start my xl2tpd services its return this error
# xl2tpd -D
xl2tpd[2972]: init_network: Unable to bind socket: Address already in use.
Terminating.
#/etc/xl2tpd/xl2tpd.conf
[global]
listen-addr = 11.11.11.11 (Public IP) (Eth0)
auth file = /etc/xl2tpd/l2tp-secrets
debug network = yes
debug packet = yes
debug state = yes
debug tunnel = yes
[lns default]
ip range = 192.168.192.22-192.168.192.29 (Pool IP - User)
local ip = 192.168.192.11 (IP Internal LAN) (Eth1) (Internal gateway)
require chap = yes
refuse pap = yes
require authentication = yes
name = lab-01
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
#/etc/ppp/options.xl2tpd
ipcp-accept-local
ipcp-accept-remote
ms-dns 192.168.192.11
noccp
auth
crtscts
idle 1800
mtu 1410
mru 1410
nodefaultroute
debug
lock
proxyarp
connect-delay 5000
# xl2tpd -D
xl2tpd[2972]: init_network: Unable to bind socket: Address already in use.
Terminating.
#netstat -pln -inet
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
udp 0 0 11.11.11.11:1701 0.0.0.0:*
2970/xl2tpd
#/var/log/syslog
Dec 27 13:36:58 lab-01 xl2tpd[2967]: setsockopt recvref: Protocol not
available
Dec 27 13:36:58 lab-01 xl2tpd[2967]: L2TP kernel support not detected.
Dec 27 13:36:58 lab-01 xl2tpd[2970]: xl2tpd version xl2tpd-1.2.0 started on
netcrc-mia-01 PID:2970
Dec 27 13:36:58 lab-01 xl2tpd[2970]: Written by Mark Spencer, Copyright (C)
1998, Adtran, Inc.
Dec 27 13:36:58 lab-01 xl2tpd[2970]: Forked by Scott Balmos and David Stipp,
(C) 2001
Dec 27 13:36:58 lab-01 xl2tpd[2970]: Inherited by Jeff McAdams, (C) 2002
Dec 27 13:36:58 lab-01 xl2tpd[2970]: Forked again by Xelerance
(www.xelerance.com) (C) 2006
Dec 27 13:36:58 alb-01 xl2tpd[2970]: Listening on IP address 11.11.11.11,
port 1701
Thanks
Erick Ch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20101227/c3b50521/attachment.html
More information about the Users
mailing list