Almalinux 9.1 and OpenVPNAS - Web Interface not starting up
Posted: 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.
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.