openvpn on vagrant doesn't start
May 5 06:06:38 vpn1 ovpn-limited_udp_config[795]: Exiting root@vpn1:~# /etc/init.d/openvpn start [FAIL] Starting virtual private network daemon: limited_tcp_config limited_udp_config failed! root@vpn1:~# tail /var/log/syslog May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:1003 May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page). May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: Diffie-Hellman initialized with 3248 bit key May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: WARNING: file '/etc/x509/keys/leap_openvpn.key' is group or others accessible May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: TLS-Auth MTU parms [ L:1557 D:138 EF:38 EB:0 ET:0 EL:0 ] May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: Socket Buffers: R=[229376->131072] S=[229376->131072] May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: TCP/UDP: Socket bind failed on local address [AF_INET]10.5.5.46:1194: Cannot assign requested address May 5 06:07:53 vpn1 ovpn-limited_udp_config[878]: Exiting root@vpn1:~# ifconfig eth0 Link encap:Ethernet Hardware Adresse 08:00:27:98:a6:98 inet Adresse:10.0.2.15 Bcast:10.0.2.255 Maske:255.255.255.0 inet6-Adresse: fe80::a00:27ff:fe98:a698/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:97469 errors:0 dropped:0 overruns:0 frame:0 TX packets:7029 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:137674011 (131.2 MiB) TX bytes:458776 (448.0 KiB) eth1 Link encap:Ethernet Hardware Adresse 08:00:27:50:01:c4 inet Adresse:10.5.5.45 Bcast:10.5.5.255 Maske:255.255.255.0 inet6-Adresse: fe80::a00:27ff:fe50:1c4/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:3897 errors:0 dropped:0 overruns:0 frame:0 TX packets:2480 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:2253614 (2.1 MiB) TX bytes:478196 (466.9 KiB) lo Link encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metrik:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB) root@vpn1:~# ip addr 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:98:a6:98 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 inet6 fe80::a00:27ff:fe98:a698/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:50:01:c4 brd ff:ff:ff:ff:ff:ff inet 10.5.5.45/24 brd 10.5.5.255 scope global eth1 inet6 fe80::a00:27ff:fe50:1c4/64 scope link valid_lft forever preferred_lft forever
(from redmine: created on 2013-05-05, closed on 2013-09-17, relates #861 (closed), blocks #2399 (closed))