问题描述
安装kmonitor时启动kingbase_export失败
[root@node202 kingbase_exporter]# cd /root/monitor/kingbase_exporter
[root@node202 kingbase_exporter]# sh start
[root@node202 kingbase_exporter]# cd /root/monitor
[root@node202 monitor]# sh kmonitor.sh status
}
[root@node202 kingbase_exporter] cd /root/monitor/kingbase_exporter
--查看日志
cat kingbase_exporter.log
原因分析:
报错是端口:54321
那就是检查不到端口为54321的数据库
我们数据库的
解决方案:
[ycyh@node202 data]$ grep port kingbase.conf
#port = 54321 # (change requires restart)
#ssl_passphrase_command_supports_reload = off
# supported by the operating system:
# supported by the operating system:
# supported by the operating system:
# %r = remote host and port
port = 54326
[ycyh@node202 data]$ exit
–修改端口
vi application.yaml