Skip to content

xenon启动报错 麻烦帮忙看一下 #175

Description

@729868954

报错内容如下:
[root@MySQL-Master-Xemon xenon]# cat /xenon/data/xenon.log
nohup: ignoring input
xenon:[{Tag:v1.1.4-34-gbae9e0d Time:2023/10/27 14:31:59 Git:bae9e0d GoVersion:go1.20.6 Platform:linux amd64}]
2023/10/28 11:50:02.512056 xenon.go:52: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]
panic: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]

goroutine 1 [running]:
xbase/xlog.(*Log).Panic(0xc00012c3b0, {0x919afa?, 0x90f82d?}, {0xc0000ffc48?, 0xc0000ffc38?, 0x1?})
/root/xenon/src/xbase/xlog/xlog.go:164 +0xc8
main.main()
/root/xenon/src/xenon/xenon.go:52 +0x34a

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