When I double click the pre-compiled Windows agent binary, nothing happens.
When I double click the pre-compiled Windows agent binary, nothing happens.
The pre-compiled Merlin Agent for Windows is compiled with an option that prevents the program from showing.
Double clicking the
merlinAgent-Windows-x64.exe file will launch the agent and it will connect to the hard coded
URL (default is https://127.0.0.1:443/). The agent will eventually die once it fails to contact the server.Solutions:- Recompile merlinAgent with the hard coded URL of your server
- Run it from the command line using the
-urlflag to specify your server - View the custom agent page for details on building and compiling the agent from source
- The agent can be compiled without the
-H=windowsguiso that it doesn’t disappear when executed by double clicking the file
I get errors when trying to compile Merlin.
I get errors when trying to compile Merlin.
The biggest contributor for getting errors while compiling is forgetting to ensure the
GOPATH environment
variable is set.Solution:
View the custom agent page for details on ensuring the environment is configured properly.Input and output redirection pipes don't work
Input and output redirection pipes don't work
Pipes
| and redirectors < and > are functions of a shell. By default, Merlin only executes programs in the
host’s PATH variable.Solutions:- Use the
shellcommand - Specify the shell (i.e
/bin/bash) when using theruncommand