I Have Problem Installation Pritunl

Hi Team Pritunl,

Nice to meet you

i got a problem on my first pritunl installation

specification Virtual Machine

Processor required by intel If not then mongodb won’t run

Operating System : Redhat Version 8.10

Application MongoDB Version version 6.0.17

Application Pritunl Version v1.32.3805.95

after the mongodb problem is resolved pritunl
I got a new problem on my pritunl server log :
[guarded-thunder-1617][2024-09-22 15:07:11,050][ERROR] Failed to add wg interface
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1337, in start_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 223, in check_output_logged
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command ‘[‘ip’, ‘link’, ‘add’, ‘dev’, ‘wg4’, ‘type’, ‘wireguard’]’ returned non-zero exit status 2.
server_id = “66efbd98a4c55fbccc299385”
[guarded-thunder-1617][2024-09-22 15:07:11,050][ERROR] Popen returned error exit code
cmd = [“ip”, “link”, “add”, “dev”, “wg4”, “type”, “wireguard”]
return_code = 2
Process stderr:
Error: Unknown device type.
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 937, in _bootstrap
self._bootstrap_inner()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 980, in _bootstrap_inner
self.run()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 917, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1692, in _run_thread
self.start_wg()
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1337, in start_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 216, in check_output_logged
logger.error(‘Popen returned error exit code’, ‘utils’,
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/logger/init.py”, line 55, in error
kwargs[‘traceback’] = traceback.format_stack()
[guarded-thunder-1617][2024-09-22 15:07:11,058][ERROR] Server error occurred while running
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1692, in _run_thread
self.start_wg()
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1337, in start_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 223, in check_output_logged
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command ‘[‘ip’, ‘link’, ‘add’, ‘dev’, ‘wg4’, ‘type’, ‘wireguard’]’ returned non-zero exit status 2.
server_id = “66efbd98a4c55fbccc299385”
instance_id = “66efd02ee54bf5d891e628a3”
[guarded-thunder-1617][2024-09-22 15:07:11,144][ERROR] Failed to stop wg interface
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1416, in stop_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 223, in check_output_logged
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command ‘[‘ip’, ‘link’, ‘set’, ‘wg4’, ‘down’]’ returned non-zero exit status 1.
server_id = “66efbd98a4c55fbccc299385”
[guarded-thunder-1617][2024-09-22 15:07:11,145][ERROR] Popen returned error exit code
cmd = [“ip”, “link”, “set”, “wg4”, “down”]
return_code = 1
Process stderr:
Cannot find device “wg4”
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 937, in _bootstrap
self._bootstrap_inner()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 980, in _bootstrap_inner
self.run()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 917, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1877, in _run_thread
self.stop_wg()
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1416, in stop_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 216, in check_output_logged
logger.error(‘Popen returned error exit code’, ‘utils’,
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/logger/init.py”, line 55, in error
kwargs[‘traceback’] = traceback.format_stack()
[guarded-thunder-1617][2024-09-22 15:07:11,150][ERROR] Failed to del wg interface
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1426, in stop_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 223, in check_output_logged
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command ‘[‘ip’, ‘link’, ‘del’, ‘dev’, ‘wg4’]’ returned non-zero exit status 1.
server_id = “66efbd98a4c55fbccc299385”
[guarded-thunder-1617][2024-09-22 15:07:11,150][ERROR] Popen returned error exit code
cmd = [“ip”, “link”, “del”, “dev”, “wg4”]
return_code = 1
Process stderr:
Cannot find device “wg4”
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 937, in _bootstrap
self._bootstrap_inner()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 980, in _bootstrap_inner
self.run()
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 917, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1877, in _run_thread
self.stop_wg()
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1426, in stop_wg
utils.check_output_logged([
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 216, in check_output_logged
logger.error(‘Popen returned error exit code’, ‘utils’,
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/logger/init.py”, line 55, in error
kwargs[‘traceback’] = traceback.format_stack()

Use the WIreGuard installation documentation to install the kmod-wireguard wireguard-tools packages.