Skip to content

cronnode cronweb启动不了 #205

@jhkangah

Description

@jhkangah

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

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

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

  3. 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

  1. What did you expect to see?
    你期望得到什么样的结果?
    成功启动

  2. What did you see instead?
    现在你得到的结果是什么样的?
    启动不了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions