kibana FATAL CLI ERROR YAMLException: can not read a block mapping entry

# kibana版本5.6.3

安装启动bin/kibana时抛出

 FATAL CLI ERROR YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 4, column 1:
    # Specifies the address to which ...
    ^
    at generateError (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:160:10)
    at throwError (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:166:9)
    at readBlockMapping (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1027:9)
    at composeNode (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1315:12)
    at readDocument (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1478:3)
    at loadDocuments (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1538:5)
    at load (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1555:19)
    at safeLoad (/data/kibana-5.6.3-linux-x86_64/node_modules/js-yaml/lib/js-yaml/loader.js:1573:10)
    at files.map.path (/data/kibana-5.6.3-linux-x86_64/src/cli/serve/read_yaml_config.js:10:56)

原因为编辑server.host:”0.0.0.0″时,冒号后面没有空格导致没有成功映射

解决方案:修改为server.host:  “0.0.0.0”

 

    原文作者:春风十里的情
    原文地址: https://www.cnblogs.com/jiangds/p/9149502.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞