gobysec / gobysec/Goby

nohup 重定向日志后台启动

Open
#505 2 comments 0 reactions 0 assignees View on GitHub
fixed
Dominant language
No language data
Stars
1.5k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

界面执行命令启动正常,客户端正常链接,
使用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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.