Page 1 of 1

ExpressVPN daemon not starting  [Solved]

Posted: Sun Jan 10, 2021 10:23 am
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

Re: ExpressVPN daemon not starting

Posted: Sun Jan 10, 2021 12:46 pm
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.

Re: ExpressVPN daemon not starting

Posted: Sun Jan 10, 2021 2:52 pm
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.

Re: ExpressVPN daemon not starting

Posted: Sun Jan 10, 2021 3:14 pm
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.

Re: ExpressVPN daemon not starting

Posted: Sun Jan 10, 2021 3:41 pm
by Hellrazor
Complicated but clear. Thanks a lot.

Re: (Solved)ExpressVPN daemon not starting

Posted: Fri Jan 15, 2021 11:26 am
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

Re: ExpressVPN daemon not starting

Posted: Tue Feb 09, 2021 10:01 am
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.