Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to get vpnc to connect from my Rackspace server running Ubuntu 12.04 to a remote VPN server and running into problems. Specifically, vpnc is hanging on startup and I have had to restart my Rackspace server several times just to get control back to the server. I'm not sure whether the problem is with network-manager (0.9.4.0-0ubuntu4.1), vpnc (0.5.3r512-2ubuntu1), Rackspace, or something else entirely. Any suggestions for how to debug would be great!

Network Manager is clearly running:

[cta vpnc]$ ps aux | grep NetworkManager
root       573  0.0  0.5 158672  5792 ?        Ssl  16:34   0:00 NetworkManager
root      6160  0.0  0.0   9376   896 pts/0    S+   18:35   0:00 grep --color=auto NetworkManager
[cta vpnc]$ service network-manager status
network-manager start/running, process 573

and network-manager-vpnc has loaded (I think):

[cta vpnc]$ grep NetworkManager /var/log/syslog | grep -i vpn
Dec  6 15:25:28 cta NetworkManager[602]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
Dec  6 15:25:28 cta NetworkManager[602]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp

but it looks like there is a strange error

[cta vpnc]$ grep NetworkManager /var/log/syslog 
Dec  6 15:25:27 cta kernel: [    7.332412] type=1400 audit(1354807527.723:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=357 comm="apparmor_parser"

...<snip>...

Dec  6 16:34:40 cta NetworkManager[573]: <info> (eth1): carrier is ON
Dec  6 16:34:40 cta NetworkManager[573]: <error> [1354811680.261941] [nm-device-ethernet.c:456] real_update_permanent_hw_address(): (eth1): unable to read permanent MAC address (error 0)
Dec  6 16:34:40 cta NetworkManager[573]: <info> (eth1): new Ethernet device (driver: 'vif' ifindex: 3)
Dec  6 16:34:40 cta NetworkManager[573]: <info> (eth1): exported as /org/freedesktop/NetworkManager/Devices/1
Dec  6 16:34:40 cta NetworkManager[573]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Dec  6 16:34:40 cta NetworkManager[573]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Dec  6 16:34:40  NetworkManager[573]: last message repeated 3 times
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.