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"

 

posted @ 2018-06-07 10:54  春风十里的情  阅读(3303)  评论(0编辑  收藏  举报