Authcli problem (with solution)

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
tnelson
OpenVpn Newbie
Posts: 1
Joined: Fri Feb 26, 2021 12:11 am

Authcli problem (with solution)

Post by tnelson » Fri Feb 26, 2021 12:19 am

Here's my problem:

Code: Select all

/usr/local/openvpn_as/scripts$ ./authcli --help
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/pyovpn/sagent/sagent_entry.py", line 60, in authcli
  File "build/bdist.linux-x86_64/egg/pyovpn/auth/authcli.py", line 18, in <module>
  File "build/bdist.linux-x86_64/egg/pyovpn/auth/authcli.py", line 28, in Options
  File "build/bdist.linux-x86_64/egg/pyovpn/util/env.py", line 243, in get_env
pyovpn.util.error.SimpleError: env/config variable 'sa.sock' does not exist
The only reference I found on the Internet didn't help me, so I signed up to this forum just to say that the answer is "you have to be root; use sudo or something".

Hope this helps someone

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Authcli problem (with solution)

Post by openvpn_inc » Fri Feb 26, 2021 10:25 am

Hello tnelson,

Just to clarify here for everyone, but all commands on the command line on the Access Server should be run as root, unless you have specifically set things up in some other way where another unprivileged user can run these commands. This is mentioned in our documentation but it's possible you missed it - we don't repeat it on every single occasion a command line parameter is mentioned.

In any case, glad you figured it out.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply