openvpn cannot resolve host address

asked 2015-04-29 13:22:16 -0600

jbodhorn gravatar image

I'm running fedora 21 on my chromebook and a while back I had screwed up pretty good, accidently installing packages from fedora server, this removed a bunch of fedora workstation packages when it installed the server packages. I had had openvpn setup up so that when my laptop booted, openvpn started, and connected to PIA's US East server. It took me forever to get my internet working again and even longer for me to get openvpn to connect and work again, I'm no linux guru, so please go easy on me...

This is what I get when I boot my fedora laptop and check the status of openvpn:

[joe@localhost ~]$ sudo systemctl status -l openvpn@US_East.service [sudo] password for joe: ● openvpn@US_East.service - OpenVPN Robust And Highly Flexible Tunneling Application On US_East Loaded: loaded (/lib/systemd/system/openvpn@.service; enabled) Active: active (running) since Wed 2015-04-29 12:29:39 EDT; 3min 16s ago Process: 756 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.ovpn (code=exited, status=0/SUCCESS) Main PID: 764 (openvpn) CGroup: /system.slice/system-openvpn.slice/op... └─764 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/US_East.pid --cd /etc/openvpn/ --config US_East.ovpn

Apr 29 12:32:09 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:14 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:19 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:24 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:29 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:34 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:39 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:44 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:49 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known Apr 29 12:32:54 localhost.localdomain openvpn[764]: RESOLVE: Cannot resolve host address: us-east.privateinternetaccess.com : Name or service not known

I found I have to stop and start the service and it works:

[joe@localhost ~]$ sudo systemctl stop openvpn@US_East.service [joe@localhost ~]$ sudo systemctl start openvpn@US_East.service [joe@localhost ~]$ sudo systemctl status -l openvpn@US_East.serviceopenvpn@US_East.service - OpenVPN Robust And Highly Flexible Tunneling Application On US_East Loaded: loaded (/lib/systemd/system/openvpn@.service; enabled) Active: active (running) since Wed 2015-04-29 12:33:24 EDT; 3s ago Process: 2027 ... (mais)

edit retag flag offensive close merge delete