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

FATA[0000] Failed to start go bin due to: ERROR: exit status 2 OUTPUT: #25

Open
nshah14285 opened this issue Feb 5, 2018 · 5 comments

Comments

@nshah14285
Copy link

I have placed the go application inside GOPATH/src/github.com/
From inside GOPATH/src I ran command pmgo start github.com/project/ app-name , it throws the error "FATA[0000] Failed to start go bin due to: ERROR: exit status 2 OUTPUT:"
Where to check the actual cause of error?
Application get started using go run command without any error.
Any idea how to resolve?
Can't we run application from any folder using pmgo.

@struCoder
Copy link
Owner

@nshah14285

See here :#24

@nshah14285
Copy link
Author

I am using Ubutnu system.
I have already placed code inside GOPATH/src directory.
But still getting the error.

@struCoder struCoder reopened this Feb 7, 2018
@nshah14285
Copy link
Author

Below is the error message from ~/.pmgo/main.log

time="2018-02-08T11:49:19+05:30" level=info msg="Starting remote master server..."
time="2018-02-08T11:49:19+05:30" level=info msg="Reviving all processes"
time="2018-02-08T11:49:19+05:30" level=info msg="Reviving proc rabbit"
time="2018-02-08T11:49:19+05:30" level=info msg="All procs revived..."
2018/02/08 11:49:19 method Stop has wrong number of ins: 1

How to change the log level?

@struCoder
Copy link
Owner

struCoder commented Feb 8, 2018

Hi @nshah14285
Currently, log level for pmgo can not be changed by user.
commonly log just log.Info, fatal log just log.Fatal.

@nshah14285
Copy link
Author

I figure out the way to run go application using PMGO.
When I placed the go build application inside GOPATH/src/test/ it run successfully.
Previously, go build file was inside subdirectory like GOPATH/src/test/workers/ which was throwing an error.

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