Open ronnylov opened 5 years ago
Hum... This reminds me something... https://github.com/LetheanMovement/lethean/issues/112 ! ;-)
This is solved in debian packaging branch. There is rm before run in service config. Have look to new service definitions here: https://github.com/LetheanMovement/lethean/blob/feature/limosek/dpkg/debian/ or just try debian packages from http://monitor.lethean.io/dl/ It worked for me.
@letheanVPN/developers can someone verify; ty
I helped with debugging of a raspberry pi exit node. We had a situation when the lethean-wallet-vpn-rpc service failed which in turn made the lthnvpnd service to fail.
We checked the log: sudo journalctl -u lethean-wallet-vpn-rpc -e
In this log following message was found: "Failed to create file lethean-wallet-vpn-rpc.14660.login. Check permissions or remove file"
We checked the permissions: ls -al /opt/lthn/var/run -r-------- 1 vpnuser vpnuser 21 Mar 16 15:02 lethean-wallet-vpn-rpc.14660.login
The problem was solved by removing the file as a root user (using sudo rm) and then reboot. I suspect this may happen sometimes when something else makes this service fail instead of a normal shutdown. Not sure of the reason this happened but it may create issues that are a bit difficult to resolve.