Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start the exporter #12

Closed
FFI53 opened this issue Aug 8, 2019 · 2 comments
Closed

Unable to start the exporter #12

FFI53 opened this issue Aug 8, 2019 · 2 comments

Comments

@FFI53
Copy link

FFI53 commented Aug 8, 2019

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.

Regards

@eko
Copy link
Owner

eko commented Aug 10, 2019

Hi @Joshhat,

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:

chmod a+x ./pihole_exporter-linux-amd64

Then you should be able to call:

./pihole_exporter-linux-amd64

@eko
Copy link
Owner

eko commented Sep 29, 2019

Closing this issue as there is no activity since 2 months

@eko eko closed this as completed Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants