Jump to content

Recommended Posts

Posted

Hi all,

seeking some assistance kinder stuck on this.

So i have managed to install it on Rocky Linux 9 ok with "dnf install wireguard-tools" configured it fine and upto nearly last step however stuck here trying to start with "systemctl start wg-quick@wg0"

getting this error:

[root@localhost ~]# sudo systemctl start wg-quick@wg0
Job for wg-quick@wg0.service failed because the control process exited with error code.
See "systemctl status wg-quick@wg0.service" and "journalctl -xeu wg-quick@wg0.service" for details.

 

When I check sudo journalctl -u wg-quick@wg0

I see this:

Starting WireGuard via wg-quick(8) for wg0...
Dec 08 00:52:40 localhost wg-quick[51890]: [#] ip link add wg0 type wireguard
Dec 08 00:52:40 localhost wg-quick[51890]: [#] wg setconf wg0 /dev/fd/63
Dec 08 00:52:40 localhost wg-quick[51890]: [#] ip -4 address add 10.0.0.4/24 dev wg0
Dec 08 00:52:40 localhost wg-quick[51890]: [#] ip link set mtu 1420 up dev wg0
Dec 08 00:52:40 localhost wg-quick[51913]: [#] resolvconf -a wg0 -m 0 -x
Dec 08 00:52:40 localhost wg-quick[51917]: mkdir: cannot create directory '/run/resolvconf': Permission denied
Dec 08 00:52:40 localhost wg-quick[51915]: Failed to create needed directory /run/resolvconf
Dec 08 00:52:40 localhost wg-quick[51890]: [#] ip link delete dev wg0
Dec 08 00:52:41 localhost systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 00:52:41 localhost systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'.
Dec 08 00:52:41 localhost systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0.

 

Now, I have already created folder /run/resolvconf with su permission still can get it to start..

 

Any guidance on this please ?

I am missing something... ?

 

many thanks

 

 

<

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines