Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to start the exporter #12
I'm sure I just haven't done something right - but I'm unable to even start the exporter.
I have installed Golang 1.12, and then removed and installed 1.11. So currently on 1.11 but the issue occurs on both.
Downloaded the pihole_exporter-linux-amd64 file as I am using Ubuntu Server however when I do ./pihole_exporter-linux-amd64 I get the error message "command not found" - I'm sure i've missed something very basic, I'm not very cluey with this kind of stuff.
I am also unable to run the GO111MODULE=on go mod vendor as I get a 'cannot find main module' error so maybe it's a golang issue? All help is appreciated.
You are trying to execute the binary file so you don’t have to / can’t install Go modules.
I think you have « command not found » because you have to mark the binary as executable running:
Then you should be able to call: