openvpn fail to start at boot

Bug #927705 reported by Massimiliano Ballerini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openvpn (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Tags: lucid
tags: added: lucid
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openvpn (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.