open-falcon-archive / of-release

falcon-plus

Home Page:https://github.com/open-falcon/falcon-plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

heartbeat启动时,提示数据库表不存在,表不全

softyun1 opened this issue · comments

数据库初始化后,graph下有endpoint/endpoint_counter/tag_endpoint表,但是hbs启动时,提示以下错误:(本来还有一个host错误,我手工创建了host表)
2017/03/22 16:53:59 template.go:68: ERROR: Error 1146: Table 'graph.grp_tpl' doesn't exist
2017/03/22 16:53:59 expression.go:14: ERROR: Error 1146: Table 'graph.expression' doesn't exist
2017/03/22 16:53:59 host.go:45: ERROR: Error 1054: Unknown column 'maintain_begin' in 'where clause'
2017/03/22 16:54:59 plugin.go:13: ERROR: Error 1146: Table 'graph.plugin_dir' doesn't exist
2017/03/22 16:54:59 template.go:14: ERROR: Error 1146: Table 'graph.grp_tpl' doesn't exist
2017/03/22 16:54:59 group.go:13: ERROR: Error 1146: Table 'graph.grp_host' doesn't exist
2017/03/22 16:54:59 template.go:45: ERROR: Error 1146: Table 'graph.tpl' doesn't exist
2017/03/22 16:54:59 template.go:68: ERROR: Error 1146: Table 'graph.grp_tpl' doesn't exist
2017/03/22 16:54:59 expression.go:14: ERROR: Error 1146: Table 'graph.expression' doesn't exist
2017/03/22 16:54:59 host.go:45: ERROR: Error 1054: Unknown column 'maintain_begin' in 'where clause'
2017/03/22 16:55:59 plugin.go:13: ERROR: Error 1146: Table 'graph.plugin_dir' doesn't exist
2017/03/22 16:55:59 template.go:14: ERROR: Error 1146: Table 'graph.grp_tpl' doesn't exist
2017/03/22 16:55:59 group.go:13: ERROR: Error 1146: Table 'graph.grp_host' doesn't exist
2017/03/22 16:55:59 template.go:45: ERROR: Error 1146: Table 'graph.tpl' doesn't exist
2017/03/22 16:55:59 template.go:68: ERROR: Error 1146: Table 'graph.grp_tpl' doesn't exist
2017/03/22 16:55:59 expression.go:14: ERROR: Error 1146: Table 'graph.expression' doesn't exist
2017/03/22 16:55:59 host.go:45: ERROR: Error 1054: Unknown column 'maintain_begin' in 'where clause'

定位了下,是自动安装脚本里,没有这些内容。