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

Start application from user input compiled binary error #44

Open
dicklei opened this issue Sep 9, 2019 · 3 comments
Open

Start application from user input compiled binary error #44

dicklei opened this issue Sep 9, 2019 · 3 comments

Comments

@dicklei
Copy link

dicklei commented Sep 9, 2019

你好:
有些问题需要请教一下,
我想使用pmgo 同时启用二进制文件运行
但是我git checkout beta,编译报错
另外,这种通过传入二进制文件的方式好像运行不起来,有时候它不认true这个参数,有时出现FATA[0000] Failed to start go bin due to: ERROR

请问这些怎么解决?

@struCoder
Copy link
Owner

struCoder commented Sep 17, 2019

@dicklei
你好,感谢反馈,你在尝试写一个简单的webserver然后编译,在使用pmgo启动都不行?

@dicklei
Copy link
Author

dicklei commented Oct 10, 2019

你好,不行的

@helloworldpark
Copy link

helloworldpark commented Nov 18, 2019

@dicklei @struCoder
I also had the same issue. In my case, the solution was to

  1. Kill all the pmgo processes
  2. Delete(or at least change the name of) ~/.pmgo/config.toml
  3. (Optional) When calling pmgo start, give flag --dns=":33333" (or any other arbitrary port number).

The case is that, if there are pmgo process already running(I'll call it the old one), the beta-version of pmgo fails to call the remote master process of the beta itself but calls the old one, i.e. there is a conflict. I think this part should be specified on the README.

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

3 participants