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@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@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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to