First of all; thanks for creating DirectSlave.
I'm having an issue with an fresh install of DirectSlave GO/3.2 Advanced;
I think the installation was succesfull, but when adding directslave to a Directadmin instance in the multiserver setup I get the error "Error: Login failed".
I can login to the web interface with the same credentials, so I know they are correct. It doesn't matter if is use HTTPS or not. In the action.log an error occoures:
2019/02/15 16:24:46 Authorization failed from x.x.x.x
Any idea how to solve this?
First, check your login and password. For second, run DS with --debug option then check connection again, there is some entries in error.log must explain whats' happening.
If nothing changes, contact me PM, I think I can help you.
Ok i've found the issue. When saving the config there was never a request to directslave, but I still got the error "Invalid User: <redacted>". Until I shortened the username, then the request arrived at directslave. So there was no issue in directslave; the issue was the max length of the username enforced by directadmin.
Executing /etc/init.d/directslave start .. Starting DirectSlave.../etc/init.d/directslave: 24: /etc/init.d/directslave: /usr/local/directslave/bin/directslave: not found