[Bug 927705] [NEW] openvpn fail to start at boot
Massimiliano Ballerini
927705 at bugs.launchpad.net
Mon Feb 6 16:06:59 UTC 2012
Public bug reported:
In a updated install of lucid with openvpn installed and configured I
get this error everytime I reboot:
* Starting virtual private network daemon(s)...
* Autostarting VPN 'server' [ fail.. ]
Looking at the openvpn log it says:
TCP/UDP: Socket bind failed on local address [AF_INET]XX.XX.XX.XX:1194: Cannot assign requested address
(ip masked)
I think it's something similar at what happened in karmic, the openvpn
script tries to start before the network is correctly setup.
Restarting openvpn service fixes everytime, but that implies human
intevention (or a workaround script):
root at vpnserver:~# /etc/init.d/openvpn restart
* Stopping virtual private network daemon(s)...
* No VPN is running.
* Starting virtual private network daemon(s)...
* Autostarting VPN 'server' [ OK ]
EDIT: forgot to say network is setup via dhcp
** Affects: openvpn (Ubuntu)
Importance: Undecided
Status: New
** Tags: lucid
** Tags added: lucid
** Description changed:
In a updated install of lucid with openvpn installed and configured I
get this error everytime I reboot:
* Starting virtual private network daemon(s)...
* Autostarting VPN 'server' [ fail.. ]
-
Looking at the openvpn log it says:
TCP/UDP: Socket bind failed on local address [AF_INET]XX.XX.XX.XX:1194: Cannot assign requested address
(ip masked)
I think it's something similar at what happened in karmic, the openvpn
script tries to start before the network is correctly setup.
Restarting openvpn service fixes everytime, but that implies human
intevention (or a workaround script):
root at vpnserver:~# /etc/init.d/openvpn restart
- * Stopping virtual private network daemon(s)...
+ * Stopping virtual private network daemon(s)...
* No VPN is running.
* Starting virtual private network daemon(s)...
* Autostarting VPN 'server' [ OK ]
+
+ EDIT: forgot to say network is setup via dhcp
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/927705
Title:
openvpn fail to start at boot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/927705/+subscriptions
More information about the Ubuntu-server-bugs
mailing list