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
cronnode cronweb启动不了 #205
Comments
centos7 mongo6.0 默认安装没有创建用户密码 确认mongo有启动 [root@localhost cronsun]# ./cronnode -conf conf/base.json [root@localhost cronsun]# ./cronweb -conf conf/base.json |
他这个好像支持mongo4 |
尝试过,mongo 6.0不支持,mongo 4.4可以 |
Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!
What version of Go and cronsun version are you using?
你用的是哪个版本的 Go 和 哪个版本的 cronsun?
cronsun-0.3.5
What operating system and processor architecture are you using (
go env
)?你用的是哪个操作系统,什么架构的?
centos7
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。
[root@localhost cronsun]# ./cronnode -conf conf/base.json
2022-07-02T14:45:02.070+0800 ERROR node/server.go:38 Connect to MongoDB [127.0.0.1:27017] failed: no reachable servers
[root@localhost cronsun]# ./cronweb -conf conf/base.json
2022-07-02T14:57:50.360+0800 ERROR web/server.go:39 Connect to MongoDB [127.0.0.1:27017] failed: no reachable servers
github.com/shunfei/cronsun/log.Errorf
/Users/qleelulu/dev/source/golang/src/github.com/shunfei/cronsun/log/log.go:39
main.main
/Users/qleelulu/dev/source/golang/src/github.com/shunfei/cronsun/bin/web/server.go:39
runtime.main
/usr/local/Cellar/go/1.11/libexec/src/runtime/proc.go:201
What did you expect to see?
你期望得到什么样的结果?
成功启动
What did you see instead?
现在你得到的结果是什么样的?
启动不了
The text was updated successfully, but these errors were encountered: