jozef-slezak / jaeger-postgresql

Jaeger Storage Plugin -> PostgreSQL
MIT License
21 stars 13 forks source link

jaeger-all-in-one running from docker-compose.yaml file cannot exec binary #6

Open ArQcane opened 1 year ago

ArQcane commented 1 year ago

{"level":"fatal","ts":1696996008.1216166,"caller":"./main.go:110","msg":"Failed to init storage factory","error":"grpc-plugin builder failed to create a store: error attempting to connect to plugin rpc client: fork/exec /etc/cmd/jaeger-pg-store: exec format error","stacktrace":"main.main.func1\n\t./main.go:110\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.7.0/command.go:940\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.7.0/command.go:1068\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.7.0/command.go:992\nmain.main\n\t./main.go:243\nruntime.main\n\truntime/proc.go:267"}

This is the error i keep getting after running docker-compose up.

docker-compose.yaml: `version: "3" services:

Jaeger

jaeger-all-in-one: image: jaegertracing/all-in-one:latest ports:

ArQcane commented 1 year ago

I have also tried building the plugin with CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build ./cmd/jaeger-pg-store/ since im on a mac. New to Golang in general.