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

nohup 重定向日志后台启动 #505

Open
dingafter opened this issue Jun 21, 2024 · 2 comments
Open

nohup 重定向日志后台启动 #505

dingafter opened this issue Jun 21, 2024 · 2 comments
Labels

Comments

@dingafter
Copy link

界面执行命令启动正常,客户端正常链接,
使用nohup命令重定向日志启动
nohup ./goby-cmd-linux -apiauth user:pass -mode api -bind 0.0.0.0:8361 >./runlog.log 2>&1 &
启动失败
2024/06/21 15:15:22 [ERROR] API Server exit: listen tcp: lookup tcp/7833 : Unrecognized service
2024/06/21 15:15:22 [StartService ERROR] {content:"server bind failed", errCode: 0}
panic: listen tcp: lookup tcp/7833 : Unrecognized service

goroutine 9 [running]:
git.gobies.org/goby/goby/api.StartAPIServer.func1()
git.gobies.org/goby/goby/api/api.go:352 +0x1ad
created by git.gobies.org/goby/goby/api.StartAPIServer in goroutine 1
git.gobies.org/goby/goby/api/api.go:338 +0x179

@dingafter
Copy link
Author

image

@dingafter
Copy link
Author

goby 2.9.5
CentOS Linux release 7.9.2009 (Core)
3.10.0-1160.92.1.el7.x86_64

@gobysec gobysec added the fixed label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants