ExpressVPN daemon not starting  [Solved]

Message
Author
Hellrazor
Posts: 6
Joined: Mon Dec 21, 2020 9:15 am

ExpressVPN daemon not starting  [Solved]

#1 Post by Hellrazor »

I have been trying to install expressVPN on MX-Linux with sysvinit. works fine if I boot with systemd.

I did follow these two threads: viewtopic.php?f=108&t=61024 and then this one here viewtopic.php?f=108&t=60972.
but it is not working for me.

I instead get this error: [FAIL] Restarting ExpressVPN service: expressvpnd failed!

thanks for your help
Last edited by Hellrazor on Sun Jan 10, 2021 3:42 pm, edited 1 time in total.

User avatar
fehlix
Developer
Posts: 12685
Joined: Wed Apr 11, 2018 5:09 pm

Re: ExpressVPN daemon not starting

#2 Post by fehlix »

Hellrazor wrote: Sun Jan 10, 2021 10:23 am I have been trying to install expressVPN on MX-Linux with sysvinit. works fine if I boot with systemd.

I did follow these two threads: viewtopic.php?f=108&t=61024 and then this one here viewtopic.php?f=108&t=60972.
but it is not working for me.

I instead get this error: [FAIL] Restarting ExpressVPN service: expressvpnd failed!

thanks for your help
Seems they changed something, to make it not working again...
A fixed MXPI-installer version attached as file mxpi_expressvpn_pm.tar.gz
To install the MXPI pm-file do this:
Download the file mxpi_expressvpn_pm.tar.gz.
Open terminal within the downloaded folder:
and run this command:

Code: Select all


sudo tar  --directory=/  -xzvf  ./mxpi_expressvpn_pm.tar.gz

Now start MXPI (MX Package Installer) and (re-)install ExpressVPN.
Let us know whether it works now.
You do not have the required permissions to view the files attached to this post.

Hellrazor
Posts: 6
Joined: Mon Dec 21, 2020 9:15 am

Re: ExpressVPN daemon not starting

#3 Post by Hellrazor »

Works very well, thank you fehlix. Tested on fresh install and on reinstall.

I am curious to understand as why it worked with antix linux and not with MX? Both are using sysvinit.

User avatar
fehlix
Developer
Posts: 12685
Joined: Wed Apr 11, 2018 5:09 pm

Re: ExpressVPN daemon not starting

#4 Post by fehlix »

Hellrazor wrote: Sun Jan 10, 2021 2:52 pm Works very well, thank you fehlix. Tested on fresh install and on reinstall.

I am curious to understand as why it worked with antix linux and not with MX? Both are using sysvinit.
That's a good question:
The reason, they do check with there installer whethr they boot in Systemd or not,
in the old version by running

Code: Select all

which systemctl
But in MX we do have systemctl installed, (in order to be able to boot in systemd by selectiiong on the Grub menu). And in antiX you do not have systemctl installed.

So I original fixed it by replacing the unreliable check
with

Code: Select all

test -d /run/systemd/system

which is the only proper test to check for running in systemd.
Now with the latest deb-package they "improved" the test
from

Code: Select all

which systemctl 
to

Code: Select all

command -v systemctl 
Still an unreliable test, so I adjusted my fix , to change either which-/or the commnad-v test to the proper test one.
There are some other small issues within their init.d script, which I fixed by just converting
their systemd.service file to a simplified SysVinit-service script.
That's mainly it.

Hellrazor
Posts: 6
Joined: Mon Dec 21, 2020 9:15 am

Re: ExpressVPN daemon not starting

#5 Post by Hellrazor »

Complicated but clear. Thanks a lot.

User avatar
joseph.giannaci
Posts: 22
Joined: Thu Feb 20, 2020 10:41 pm

Re: (Solved)ExpressVPN daemon not starting

#6 Post by joseph.giannaci »

What I had to do was to re-boot the computer with systemd, remove and purge the package, reboot the computer with SysV init, unpack that tar file (using that command that was provided), then reinstall using the package manager.
it werkd

Code: Select all

$ inxi
CPU: 8-core AMD Ryzen 7 5800X (-MT MCP-) speed/min/max: 2325/2200/4200 MHz
Kernel: 6.1.0-33-amd64 x86_64 Up: 13m Mem: 2334.9/64202.0 MiB (3.6%)
Storage: 4.57 TiB (8.9% used) Procs: 368 Shell: Bash inxi: 3.3.26

User avatar
razor2021
Posts: 498
Joined: Mon Feb 08, 2021 4:49 pm

Re: ExpressVPN daemon not starting

#7 Post by razor2021 »

fehlix wrote: Sun Jan 10, 2021 12:46 pm
Hellrazor wrote: Sun Jan 10, 2021 10:23 am I have been trying to install expressVPN on MX-Linux with sysvinit. works fine if I boot with systemd.

I did follow these two threads: viewtopic.php?f=108&t=61024 and then this one here viewtopic.php?f=108&t=60972.
but it is not working for me.

I instead get this error: [FAIL] Restarting ExpressVPN service: expressvpnd failed!

thanks for your help
Seems they changed something, to make it not working again...
A fixed MXPI-installer version attached as file mxpi_expressvpn_pm.tar.gz
To install the MXPI pm-file do this:
Download the file mxpi_expressvpn_pm.tar.gz.
Open terminal within the downloaded folder:
and run this command:

Code: Select all


sudo tar  --directory=/  -xzvf  ./mxpi_expressvpn_pm.tar.gz

Now start MXPI (MX Package Installer) and (re-)install ExpressVPN.
Let us know whether it works now.
I had installed MX19 last year, but I am still amazed that this workaround still works to correct the expressvpn install issues. So, thanking you for the fix in your attachment.

Thanks again.
Mixed of desktops and laptops, I have a Gravis Ultrasound Classic card (unfortunately its ISA-slot based) ... - I must be a dino. :popcorn:
Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64

Post Reply

Return to “Software / Configuration”