After a computer rebuild and clean Win 7 x64 install, OpenVPN is the one program install driving me bonkers.
Two problems exist.
1. An .ovpn file for a server no longer is preceded by the OpenVPN logo in Windows Explorer. In the old PC, I could right-click that file and a selection saying "Launch OpenVPN on this configuration" would be present. No longer.
2. Double-clicking the .opvn file produces a dialogue box with the following message: "I'm trying to parse (file location & name) as an --option parameter but I don't see a leading '--'
I'm searched and searched but cannot identify a remedy. I'd appreciate any help and counsel the community would provide.
My thanks in advance.
Sean
Parse Error
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Parse Error
Open a command prompt in your openvpn/config directory and enter the command:where server.ovpn is the name of the config file of your server.
This may not work as it sounds like you have not installed openvpn
Code: Select all
openvpn --config server.ovpn
This may not work as it sounds like you have not installed openvpn
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Dec 15, 2014 6:30 pm
Re: Parse Error
Thanks "Traffic" for your guidance.
I did as you suggested and the following is the verbatim response:
Options Error: In [CMD-LINE]:1: Error opening configuration file: (file name).opvn
I'm willing to accept you might be correct about not installing OpenVPN but I did grab & install the following file from the site Download page:
openvpn-install-2.3.6-I601-x86_64
Should I have installed other OpenVPN software either before or after running that specific executable file? If so, can you direct me to the file name or the link because this was the lone file within the Downloads grid that seemed right for my PC.
Thanks again in advance,
Sean
I did as you suggested and the following is the verbatim response:
Options Error: In [CMD-LINE]:1: Error opening configuration file: (file name).opvn
I'm willing to accept you might be correct about not installing OpenVPN but I did grab & install the following file from the site Download page:
openvpn-install-2.3.6-I601-x86_64
Should I have installed other OpenVPN software either before or after running that specific executable file? If so, can you direct me to the file name or the link because this was the lone file within the Downloads grid that seemed right for my PC.
Thanks again in advance,
Sean
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Parse Error
Please post verbatim details of the full path, command and parameters that you tried, like so:ssclancy wrote:I did as you suggested and the following is the verbatim response:
Options Error: In [CMD-LINE]:1: Error opening configuration file: (file name).opvn
Code: Select all
C:\Program Files\OpenVPN\Config> openvpn --config server.ovpn
Code: Select all
openvpn --config "server name.ovpn"
That is the correct file.ssclancy wrote:I did grab & install the following file from the site Download page:
openvpn-install-2.3.6-I601-x86_64
When you install OpenVPN you must select the file and use <Right-click> "Run as administrator" to install successfully .. but I suspect you already did that or you would have errors when trying to install.