You are not logged in.

#1 2020-11-25 01:52:56

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

As you can understand i can not connect nordvpn servers at startup but I can manually connect by typing " nordvpn c " at terminal . I don't know what i have changed because nordvpn-bin was working fine before for many months maybe over a year.

Some infos:

nordvpn-bin 3.8.6-1 is installed

nordvpn settings
Technology: NordLynx
Kill Switch: disabled
CyberSec: enabled
Notify: enabled
Auto-connect: enabled
DNS: disabled

i have wireguard-tools wiredguar-dkms. I am not using openvpn.

i am not sure if it was ever needed but after this autoconnect issue i edited resolv.conf file and added NordVPN's DNS server addresses, 103.86.96.100 and 103.86.99.100

 systemctl status nordvpnd.service
● nordvpnd.service - NordVPN Daemon
     Loaded: loaded (/usr/lib/systemd/system/nordvpnd.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-11-25 00:17:55 GMT; 39min ago
TriggeredBy: ● nordvpnd.socket
   Main PID: 42545 (nordvpnd)
      Tasks: 14 (limit: 19122)
     Memory: 40.3M
     CGroup: /system.slice/nordvpnd.service
             └─42545 /usr/sbin/nordvpnd

/usr/lib/systemd/system/nordvpnd.service

[Unit]
Description=NordVPN Daemon
Requires=nordvpnd.socket
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/nordvpnd
NonBlocking=true
KillMode=process
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

i have i3wm so i tried changing i3 config by adding this line

exec nordvpn c

But it did not work either.

I uninstalled nordvpn-bin and also removed /var/lib/nordvpn too and reinstall aur package but nothing has changed. And at journal i saw this.

nordvpnud.socket: TCP_NODELAY failed: Operation not supported
Kas 25 00:13:25 tsoh systemd[664]: Listening on NordVPN User Daemon Socket.
Kas 25 00:13:25 tsoh systemd[664]: Listening on p11-kit server.
Kas 25 00:13:25 tsoh systemd[664]: Listening on Sound System.
Kas 25 00:13:25 tsoh systemd[664]: Listening on D-Bus User Message Bus Socket.
Kas 25 00:13:25 tsoh systemd[664]: Reached target Sockets.
Kas 25 00:13:25 tsoh systemd[664]: Reached target Basic System.
Kas 25 00:13:25 tsoh systemd[664]: Started NordVPN User Daemon.
Kas 25 00:13:25 tsoh systemd[664]: Reached target Main User Target.
Kas 25 00:13:25 tsoh systemd[664]: Startup finished in 114ms.
Kas 25 00:13:25 tsoh systemd[671]: nordvpnud.service: Failed at step EXEC spawning /usr/sbin/nordvpnud: No such file or directory
Kas 25 00:13:25 tsoh systemd[664]: nordvpnud.service: Main process exited, code=exited, status=203/EXEC
Kas 25 00:13:25 tsoh systemd[664]: nordvpnud.service: Failed with result 'exit-code'.

So how can i add or install this missing nordvpnud.service or if you think this not the main problem what do you suggest?
Thanks.

Last edited by Kidmiracleman (2020-12-23 07:13:00)

Offline

#2 2020-11-25 06:19:07

ayekat
Member
Registered: 2011-01-17
Posts: 1,417
Website

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

So how can i add or install this missing nordvpnud.service or if you think this not the main problem what do you suggest?

According to that journalctl output, "nordvpnud.service" is not missing; it's there, systemd tries to start it, and it fails.

To me, "nordvpnud" looks like a typo of "nordvpnd". What is the output of these commands?

systemctl status nordvpnud.service
systemctl cat nordvpnud.service

{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#3 2020-11-25 08:54:24

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

Right now i am not near to my computer but if i remember correctly there was no nordvpnud.service. At journal it also says /usr/sbin/nordvpnud : no such a file or directory. And ud part is not a typo i guess. If i remember correctly again it is short for ‘“user deamon” but i am not an expert. I am just writing this from my ipad and from my memory. I am not sure of everything. I will post again when i reach my computer.

Offline

#4 2020-11-25 09:21:20

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 59

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

A possibility.  In the UK, the two servers I was using for connections appeared to go off line as I was unable to get a connection. After a few hours waiting and trying I changed to a new server and that gave an immediate connection and no problem since. Another PC (same OS ) connecting with a different server never failed to connect.

Offline

#5 2020-11-25 09:54:43

ayekat
Member
Registered: 2011-01-17
Posts: 1,417
Website

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

[…] if i remember correctly there was no nordvpnud.service.

According to your journal, there is:

Kas 25 00:13:25 tsoh systemd[671]: nordvpnud.service: […]

If that service then tries to run /usr/sbin/nordvpnud, that would explain the error message. The follow-up question would then be: why is that file missing and/or which package is supposed to provide it?

@NoSavvy: I don't think that connectivity issues will lead to missing files on the client system. But I'm admittedly not familiar enough with NordVPN to know what exactly is the expected behaviour (though I sure hope it doesn't just randomly add/remove files in /usr at runtime smile).


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#6 2020-11-25 12:41:55

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

systemctl status nordvpnud.service
Unit nordvpnud.service could not be found.
systemctl cat nordvpnud.service
No files found for nordvpnud.service.

Nope, there is no nordvpnud file. i checked /bin folder , /sbin folder too. I can see nordvpn and nordvpnd files are in /bin and /sbin folders.

I am not sure but i also have ufw and sshguard but i used them with nordvpn without a problem before too, is there any chance that they may cause something?

Offline

#7 2020-11-25 13:15:16

ayekat
Member
Registered: 2011-01-17
Posts: 1,417
Website

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

Actually… just noticed the `systemd[664]` part, indicating it's a user daemon.

What is the output of this?

systemctl status 664

And (only) if that shows the user daemon for yourself, what is the output of this?

systemctl --user status nordvpnud.service

{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#8 2020-11-26 11:20:59

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

sudo systemctl status 664
Failed to get unit for PID 664: PID 664 does not belong to any loaded unit.


sudo systemctl --user status nordvpnud.service
Failed to connect to bus: Böyle bir dosya ya da dizin yok #there no such a file or folder

Offline

#9 2020-11-26 11:50:59

ayekat
Member
Registered: 2011-01-17
Posts: 1,417
Website

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

The `--user status` was meant to be run as a non-user. Is this still the same boot-session as previously?

What is the output of this?

systemctl --user status

{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#10 2020-11-26 12:42:13

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

systemctl status 664
● session-1.scope - Session 1 of user kidmiracleman
     Loaded: loaded (/run/systemd/transient/session-1.scope; transient)
  Transient: yes
     Active: active (running) since Thu 2020-11-26 12:34:41 GMT; 1min 9s ago
      Tasks: 193
     Memory: 904.2M
     CGroup: /user.slice/user-1000.slice/session-1.scope
             ├─  632 lightdm --session-child 14 17
             ├─  645 i3-with-shmlog
             ├─  654 easystroke
             ├─  656 dunst -config /home/kidmiracleman/.config/dunst/dunstrc
             ├─  658 polybar example
             ├─  660 plank
             ├─  664 compton --config /home/kidmiracleman/cstconfs/comptonsampleconf.conf
             ├─  989 /usr/lib/firefox/firefox
             ├─ 1178 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 239191 >
             ├─ 1292 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 6470 -prefMapSize 2391>
             ├─ 2058 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7488 -prefMapSize 2391>
             ├─ 5517 urxvt
             ├─ 5533 bash
             ├─12819 /home/usr/bin/bash /home/kidmiracleman/cstconfs/spotiftnamepoly.sh
             ├─12820 systemctl status 664
             ├─12821 pgrep -x spotify
             └─12822 less



systemctl --user status
● tsoh
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Thu 2020-11-26 12:34:41 GMT; 4min 3s ago
   CGroup: /user.slice/user-1000.slice/user@1000.service
           ├─pulseaudio.service 
           │ ├─686 /usr/bin/pulseaudio --daemonize=no --log-target=journal
           │ └─756 /usr/lib/pulse/gsettings-helper
           ├─gvfs-daemon.service 
           │ ├─680 /usr/lib/gvfsd
           │ └─687 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
           ├─init.scope 
           │ ├─637 /usr/lib/systemd/systemd --user
           │ └─638 (sd-pam)
           ├─at-spi-dbus-bus.service 
           │ ├─694 /usr/lib/at-spi-bus-launcher
           │ ├─700 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │ └─707 /usr/lib/at-spi2-registryd --use-gnome-session
           ├─dbus.service 
           │ ├─652 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           │ └─703 /usr/lib/dconf-service
           └─bamfdaemon.service 
             └─710 /usr/lib/bamf/bamfdaemon

also after connecting manually

kidmiracleman:~ $ nordvpn c Denmark 
Connecting to Denmark #225 (dk225.nordvpn.com)
You are connected to Denmark #225 (dk225.nordvpn.com)!
kidmiracleman:~ $ systemctl status 664
● session-1.scope - Session 1 of user kidmiracleman
     Loaded: loaded (/run/systemd/transient/session-1.scope; transient)
  Transient: yes
     Active: active (running) since Thu 2020-11-26 12:34:41 GMT; 5min ago
      Tasks: 194
     Memory: 1.0G
     CGroup: /user.slice/user-1000.slice/session-1.scope
             ├─  632 lightdm --session-child 14 17
             ├─  645 i3-with-shmlog
             ├─  654 easystroke
             ├─  656 dunst -config /home/kidmiracleman/.config/dunst/dunstrc
             ├─  658 polybar example
             ├─  660 plank
             ├─  664 compton --config /home/kidmiracleman/cstconfs/comptonsampleconf.conf
             ├─  989 /usr/lib/firefox/firefox
             ├─ 1178 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 239191 -parentBuildID 20201116150749 -appdir /usr/li>
             ├─ 1292 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 6470 -prefMapSize 239191 -parentBuildID 20201116150749 -appdir /usr>
             ├─ 2058 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7488 -prefMapSize 239191 -parentBuildID 20201116150749 -appdir /usr>
             ├─ 5517 urxvt
             ├─ 5533 bash
             ├─51015 /home/usr/bin/bash /home/kidmiracleman/cstconfs/spotiftnamepoly.sh
             ├─51016 systemctl status 664
             ├─51017 less
             └─51018 pgrep -x spotify
kidmiracleman:~ $ systemctl --user status
● tsoh
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Thu 2020-11-26 12:34:41 GMT; 5min ago
   CGroup: /user.slice/user-1000.slice/user@1000.service
           ├─pulseaudio.service 
           │ ├─686 /usr/bin/pulseaudio --daemonize=no --log-target=journal
           │ └─756 /usr/lib/pulse/gsettings-helper
           ├─gvfs-daemon.service 
           │ ├─680 /usr/lib/gvfsd
           │ └─687 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
           ├─init.scope 
           │ ├─637 /usr/lib/systemd/systemd --user
           │ └─638 (sd-pam)
           ├─at-spi-dbus-bus.service 
           │ ├─694 /usr/lib/at-spi-bus-launcher
           │ ├─700 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │ └─707 /usr/lib/at-spi2-registryd --use-gnome-session
           ├─dbus.service 
           │ ├─652 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           │ └─703 /usr/lib/dconf-service
           └─bamfdaemon.service 
             └─710 /usr/lib/bamf/bamfdaemon

Offline

#11 2020-11-26 13:34:34

ayekat
Member
Registered: 2011-01-17
Posts: 1,417
Website

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

OK, there doesn't appear to be any change, and no user service being launched when connecting.

I guess someone familiar with NordVPN will have to explain what the purpose of nordvpnud.service is, and what it is supposed to do (I couldn't find any useful resources on this on the Web yet).


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#12 2020-11-26 14:07:43

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

Thank you ayekat, at least you tried to help.

Last edited by Kidmiracleman (2020-11-26 14:12:12)

Offline

#13 2020-11-26 20:36:40

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

Today there was an update for nodvpn-bin  ( 3.8.7-1 )from aur. I hoped it is gonna fix it but no...

Offline

#14 2020-12-23 07:12:25

Kidmiracleman
Member
Registered: 2017-07-15
Posts: 9

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

From aur comments:
sudo groupadd -r nordvpn
sudo gpasswd -a USERNAME nordvpn. #USERNAME will be of course your username.

And it is solved

Last edited by Kidmiracleman (2020-12-23 07:13:47)

Offline

#15 2021-01-13 18:24:02

equalizer876
Member
Registered: 2018-09-11
Posts: 58

Re: nordvpn-bin autoconnect problem at startup / no nordvpnud [SOLVED]

If you're using NordVPN you are going to have a very bad time.

Offline

Board footer

Powered by FluxBB