[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

RE: [Openvpn-users] Cannot open file key file


  • Subject: RE: [Openvpn-users] Cannot open file key file
  • From: "Steve Rainbird" <steve.rainbird@xxxxxxxxxx>
  • Date: Wed, 4 Jan 2006 19:14:18 -0000
  • Importance: Normal

Thanks everyone,

I changed the service so that it used a specific user instead of the default
and it now works.

Regards
 
Steve
 

> -----Original Message-----
> From: Alon Bar-Lev [mailto:alon.barlev@xxxxxxxxx]
> Sent: 04 January 2006 18:30
> To: Steve Rainbird
> Cc: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openvpn-users] Cannot open file key file
> 
> Steve Rainbird wrote:
> > When I try and run openvpn as a service I get the following messages in
> my
> > log file
> >
> > files\openvpn\config\pc-steve.key': Access is denied.   (errno=5)
> > Wed Jan 04 18:11:28 2006 Exiting
> >
> > Any ideas?
> >
> > My config file has this line
> >
> > secret "c:\\program files\\openvpn\\config\\pc-steve.key"
> >
> > I have also tried
> >
> > secret "C:\\Program Files\\OpenVPN\\config\\pc-steve.key"
> >
> > with the same result
> >
> > This works fine when run from the command line.
> >
> 
> Check out the permission on the config directory and the key
> file.
> 
> You can do that using explorer->select->properties->security
> 
> If you don't see the security tab you can use cacls command
> via the command-line.
> 
> I guess the service user does not have permission to access
> this file.
> 
> Best Regards,
> Alon Bar-Lev.



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00084.html on line 230

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00084.html on line 230