Almalinux 9.1 and OpenVPNAS - Web Interface not starting up

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Memo1903
OpenVpn Newbie
Posts: 1
Joined: Mon Feb 20, 2023 4:46 pm

Almalinux 9.1 and OpenVPNAS - Web Interface not starting up

Post by Memo1903 » Mon Feb 20, 2023 5:53 pm

Hello,

I have installed RHEL9 version of repo and openvpn-as through official channels. Package information is below.

#openvpn-as.x86_64 2.11.3_af31575c-1.el9 @as-repo-rhel9
#openvpn-as-bundled-clients.noarch 27-1 @as-repo-rhel9
#openvpn-as-yum.noarch rhel9-1 @@commandline

I wasn't able to access web interface and It seems like web server is not booting up. This is what it is in the logs. I wasn't able to find I can act on, so here I am asking for help.

2023-02-20T17:13:05+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 20.3.0dev0 (/usr/bin/python3 3.9.14) starting up.
2023-02-20T17:13:05+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.asyncioreactor.AsyncioSelectorReactor.
2023-02-20T17:13:06+0100 [stderr#error] Exception in callback AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/openvpn_as/lib/python/Twisted-20.3.0.dev0-py3.9-linux-x86_64.egg/twisted/internet/asyncioreactor.py:287
2023-02-20T17:13:06+0100 [stderr#error] handle: <TimerHandle when=1041067.508693503 AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/openvpn_as/lib/python/Twisted-20.3.0.dev0-py3.9-linux-x86_64.egg/twisted/internet/asyncioreactor.py:287>
2023-02-20T17:13:06+0100 [stderr#error] Traceback (most recent call last):
2023-02-20T17:13:06+0100 [stderr#error] File "/usr/lib64/python3.9/asyncio/events.py", line 80, in _run
2023-02-20T17:13:06+0100 [stderr#error] self._context.run(self._callback, *self._args)
2023-02-20T17:13:06+0100 [stderr#error] File "/usr/local/openvpn_as/lib/python/Twisted-20.3.0.dev0-py3.9-linux-x86_64.egg/twisted/internet/asyncioreactor.py", line 290, in run
2023-02-20T17:13:06+0100 [stderr#error] f(*args, **kwargs)
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py", line 219, in server_agent_init
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py", line 63, in get_active_config_profile
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py", line 883, in get_active_profile
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py", line 869, in query_active_profile
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py", line 812, in get_active
2023-02-20T17:13:06+0100 [stderr#error] File "build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py", line 790, in _get_active_raise
2023-02-20T17:13:06+0100 [stderr#error] pyovpn.db.confdb.ConfigQueryLocal.ActiveProfileNameNotDefined: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////usr/local/openvpn_as/etc/db/config.db

How can I get it running?

thnaks in advance.

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

Re: Almalinux 9.1 and OpenVPNAS - Web Interface not starting up

Post by openvpn_inc » Tue Feb 21, 2023 4:05 pm

Hi,

Would recommend opening a ticket at https://openvpn.net/support/ instead.

Regards,
.\kionci
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

doit2010
OpenVPN User
Posts: 31
Joined: Sat Feb 05, 2022 8:37 am

Re: Almalinux 9.1 and OpenVPNAS - Web Interface not starting up

Post by doit2010 » Tue Mar 14, 2023 2:56 pm

yum install python3-setuptools python3-idna

Post Reply