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

cron启动报错 #204

Open
jhkangah opened this issue Jul 25, 2022 · 1 comment
Open

cron启动报错 #204

jhkangah opened this issue Jul 25, 2022 · 1 comment

Comments

@jhkangah
Copy link

Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!

  1. What version of Go and cronsun version are you using?
    你用的是哪个版本的 Go 和 哪个版本的 cronsun?

  2. What operating system and processor architecture are you using (go env)?
    你用的是哪个操作系统,什么架构的?

  3. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。

  4. What did you expect to see?
    你期望得到什么样的结果?

  5. What did you see instead?
    现在你得到的结果是什么样的?

@jhkangah
Copy link
Author

centos7 mongo6.0 默认安装没有创建用户密码 确认mongo有启动

[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

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

1 participant