Re: Howto debug OpenVPN connection?



On Tue, 2011-06-21 at 10:08 -0400, Eric B. wrote:
> On 06/21/2011 01:10 AM, Dan Williams wrote:
> >> Thanks for the quick response.  Am running Fedora 14 and have
> >> NetworkManager-openvpn-0.8.1-1.fc14.i686 installed.
> >>
> >> When I try your suggestions, I get the following messages (non-root
> >> account):
> >>
> >> [eric@eric-laptop ~]$ killall -TERM
> >> nm-openvpn-servicenm-openvpn-service: no process found
> >
> > That's fine, seems the service isn't running which is normal if the VPN is disconnected.
> 
> Exactly.  As expected as well.
> 
> >
> >> [eric@eric-laptop ~]$ /usr/libexec/nm-openvpn-service --debug --persist
> >> ** (process:8434): WARNING **:<WARN>   constructor(): Connection
> >> ":1.134" is not allowed to own the service
> >> "org.freedesktop.NetworkManager.openvpn" due to security policies in the
> >> configuration file
> >
> > Oops; you need to run it as root via something like:
> >
> > sudo /usr/libexec/nm-openvpn-service --debug --persist
> 
> I had tried that as well.  But got nothing new in terms of debug info, 
> so I thought that that running as root was not the solution and there 
> was another way to generate more debug info....
> 
> [eric@eric-laptop ~]$ sudo /usr/libexec/nm-openvpn-service --debug --persist
> [sudo] password for eric:
> 
> ** (process:2901): CRITICAL **: crypto_get_private_key_data: assertion 
> `password != NULL' failed
> 
> ** (process:2901): CRITICAL **: crypto_get_private_key_data: assertion 
> `password != NULL' failed
> ** Message: <info>  openvpn started with pid 2909
> 
> 
> 
> Is there something else I can do?

Yeah, one more thing (as root):

NM_OPENVPN_DEBUG=1 /usr/libexec/nm-openvpn-service --persist

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]