当我运行 Ant Media Server 监控工具时,ElasticSearch 无法启动?

When I run the Ant Media Server monitoring tools, ElasticSearch cannot be started?

安装Ant Media Server监控工具时,ElasticSearch服务无法启动,报如下错误

Job for elasticsearch.service failed because a fatal signal was delivered to the control process.
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.

我该如何解决这个问题?

这个错误是一般错误,为了说清楚,有必要查看systemctl status elasticsearch.service命令的输出。但是根据我的经验,是内存不足导致服务无法启动。为此,您可以 运行 带有 -m 参数的监控工具脚本。

用法示例:

./install-monitoring-tools.sh -m 1g

参考链接:

https://antmedia.io/ultimate-guide-for-webrtc-hero-with-ant-media-server/

https://github.com/ant-media/Ant-Media-Server/wiki/How-to-Monitor-Ant-Media-Servers