Page 1 of 1

Starting up the client (linux) throws Options error:. . .

Posted: Thu Sep 06, 2012 5:34 pm
by garyg
The full output of the error is:
$ ./openvpn sample-config-files/client.conf
Options error: Unrecognized option or missing parameter(s) in sample-config-files/client.conf:16: client (2.2.2)
Use --help for more information.
root@ip-10-176-147-76:[/etc/openvpn]

I've stripped out the comments, but line 16 is the client line below:


client
dev tun
proto udp
remote ec2-test.compute-1.amazonaws.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/client1.crt
key /etc/openvpn/easy-rsa/2.0/keys/client1.key
ns-cert-type server
comp-lzo
verb 3

To test I commented out the client line, then it will complain about the ca line, I comment that out and it complains aobut the cert line. Any thoughts? anyone?

Re: Starting up the client (linux) throws Options error:. .

Posted: Fri Sep 07, 2012 6:40 am
by maikcat
hi there,

can you try running openvpn as root?

which distro are you using?

Michael.

Re: Starting up the client (linux) throws Options error:. .

Posted: Fri Sep 07, 2012 3:55 pm
by garyg
Actually all set now, it turns out after much investigation that the problem was with the machine itself. It had gotten into a bad state with openssl causing all sorts of problems. Thanks for the help though.