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

SQL Exporter does not start as service. #124

Open
paraqwest opened this issue Feb 6, 2023 · 0 comments
Open

SQL Exporter does not start as service. #124

paraqwest opened this issue Feb 6, 2023 · 0 comments

Comments

@paraqwest
Copy link

Subj. I can run it as binary, but I can`t use it like service.
OS: Fedora release 36
sql_exporter.service file:
sql_exporter.txt
Reply of systemd:
sql_exporter[18668]: github.com/free/sql_exporter/vendor/github.com/golang/glog.(*loggingT).output(0xec1f80, 0xc000000003, 0xc0000b48f0, 0xe74b45, 0x7, 0x38, 0x0)
sql_exporter[18668]: /go/src/github.com/free/sql_exporter/vendor/github.com/golang/glog/glog.go:720 +0x329
sql_exporter[18668]: github.com/free/sql_exporter/vendor/github.com/golang/glog.(*loggingT).printf(0xec1f80, 0xc000000003, 0x9c5961, 0x1b, 0xc000049f18, 0x1, 0x1)
sql_exporter[18668]: /go/src/github.com/free/sql_exporter/vendor/github.com/golang/glog/glog.go:655 +0x14b
sql_exporter[18668]: github.com/free/sql_exporter/vendor/github.com/golang/glog.Fatalf(0x9c5961, 0x1b, 0xc000049f18, 0x1, 0x1)
sql_exporter[18668]: /go/src/github.com/free/sql_exporter/vendor/github.com/golang/glog/glog.go:1148 +0x67
sql_exporter[18668]: main.main()
sql_exporter[18668]: /go/src/github.com/free/sql_exporter/cmd/sql_exporter/main.go:56 +0x2a6
systemd[1]: sql_exporter.service: Main process exited, code=exited, status=255/EXCEPTION
systemd[1]: sql_exporter.service: Failed with result 'exit-code'.

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

1 participant