Ask Your Question

How do I find VPN connection error information?

asked 2015-08-11 11:52:54 -0500

Jwashton gravatar image

I'm trying to connect to VPN for work. I have been through this process from the command line before, following this guide:

This time I thought I would try to set it up through the Network Settings window. I have all the information entered, and worked through some SELinux errors regarding access to the certificates. Now when I try to connect to the VPN nothing happens for about a minute, at which point I get a very vague notification saying that the connection failed. Searching for why, I figured I could run status on the openvpn service, but a search through systemctl --all doesn't find any instances of VPN, vpn, Vpn, or the name of the VPN I'm setting up.

Where can I find out why the connection failed? Is there a log file or something?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-08-11 13:30:39 -0500

aeperezt gravatar image

You could do on your terminal

killall -TERM nm-openvpn-service


/usr/libexec/nm-openvpn-service --debug

more information look at:

edit flag offensive delete link more


This gave me the information I needed to solve the problem, but it was buried in a massive amount of other debug information. Surely we can design a more user-friendly troubleshooting process.

Jwashton gravatar imageJwashton ( 2015-08-11 17:23:28 -0500 )edit

answered 2015-08-11 23:47:16 -0500

sideburns gravatar image

If you're not sure of the service's name, try this:

systemctl list-unit-files | grep -i $SERVICENAME

as that will find it without having to guess the capitalization. In your case, of course, $SERVICENAME would be vpn.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-08-11 11:52:54 -0500

Seen: 562 times

Last updated: Aug 11 '15