Can't start kibana


(Lm Yj Q) #1

I haved disabled xpack.security.enabled and xpack.watcher.enabled in kibana and elasticsearch referring https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html
then the log come out

-> # /usr/share/kibana/bin/kibana
  log   [02:53:10.844] [info][optimize] Optimizing and caching bundles for graph, monitoring, kibana, timelion and status_page. This may take a few minutes
  log   [02:57:13.920] [info][optimize] Optimization of bundles for graph, monitoring, kibana, timelion and status_page complete in 243.06 seconds
  log   [02:57:14.004] [info][status][plugin:kibana@5.3.1] Status changed from uninitialized to green - Ready
  log   [02:57:14.157] [info][status][plugin:elasticsearch@5.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:57:14.209] [info][status][plugin:xpack_main@5.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:57:14.233] [error][status][plugin:xpack_main@5.3.1] Status changed from yellow to red - Authentication Exception
  log   [02:57:14.234] [error][status][plugin:elasticsearch@5.3.1] Status changed from yellow to red - Authentication Exception
  log   [02:57:14.316] [error][status][plugin:graph@5.3.1] Status changed from uninitialized to red - Authentication Exception
  log   [02:57:14.324] [info][status][plugin:monitoring@5.3.1] Status changed from uninitialized to green - Ready
  log   [02:57:14.330] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
  log   [02:57:14.335] [error][status][plugin:reporting@5.3.1] Status changed from uninitialized to red - Authentication Exception
  log   [02:57:14.389] [error][status][plugin:searchprofiler@5.3.1] Status changed from uninitialized to red - Authentication Exception
  log   [02:57:14.403] [error][status][plugin:tilemap@5.3.1] Status changed from uninitialized to red - Authentication Exception
  log   [02:57:14.418] [info][status][plugin:console@5.3.1] Status changed from uninitialized to green - Ready
  log   [02:57:14.694] [info][status][plugin:timelion@5.3.1] Status changed from uninitialized to green - Ready
  log   [02:57:14.700] [info][listening] Server running at http://0.0.0.0:5601
  log   [02:57:14.704] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red
  log   [03:00:15.436] [warning][process] Error: reply interface called twice
    at Object.exports.assert (/usr/share/kibana/node_modules/hapi/node_modules/hoek/lib/index.js:736:11)
    at Function.internals.response (/usr/share/kibana/node_modules/hapi/lib/reply.js:133:10)
    at reply (/usr/share/kibana/node_modules/hapi/lib/reply.js:70:22)
    at /usr/share/kibana/src/ui/index.js:202:9
    at undefined.throw (native)
    at step (/usr/share/kibana/src/ui/index.js:9:273)
 error  [03:00:15.451]  TypeError: Cannot read property 'toJSON' of undefined
    at withXpackInfo (/usr/share/kibana/plugins/x-pack/plugins/xpack_main/server/lib/replace_injected_vars.js:5:32)
    at replaceInjectedVars$ (/usr/share/kibana/plugins/x-pack/plugins/xpack_main/server/lib/replace_injected_vars.js:10:12)
    at tryCatch (/usr/share/kibana/node_modules/regenerator/runtime.js:61:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/share/kibana/node_modules/regenerator/runtime.js:328:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/share/kibana/node_modules/regenerator/runtime.js:94:21)
    at invoke (/usr/share/kibana/node_modules/regenerator/runtime.js:136:37)
    at callInvokeWithMethodAndArg (/usr/share/kibana/node_modules/regenerator/runtime.js:172:16)
    at previousPromise (/usr/share/kibana/node_modules/regenerator/runtime.js:194:19)
    at AsyncIterator.enqueue (/usr/share/kibana/node_modules/regenerator/runtime.js:193:13)
    at AsyncIterator.prototype.(anonymous function) [as next] (/usr/share/kibana/node_modules/regenerator/runtime.js:94:21)
    at Object.runtime.async (/usr/share/kibana/node_modules/regenerator/runtime.js:215:14)
    at replaceInjectedVars (/usr/share/kibana/plugins/x-pack/plugins/xpack_main/server/lib/replace_injected_vars.js:3:22)
    at /usr/share/kibana/src/ui/index.js:67:22
    at undefined.next (native)
    at step (/usr/share/kibana/src/ui/index.js:9:273)
    at /usr/share/kibana/src/ui/index.js:9:443
    at /usr/share/kibana/src/ui/index.js:9:99
    at tryCatcher (/usr/share/kibana/node_modules/bluebird/js/main/util.js:26:23)
    at ReductionPromiseArray._promiseFulfilled (/usr/share/kibana/node_modules/bluebird/js/main/reduce.js:109:18)
    at ReductionPromiseArray.init (/usr/share/kibana/node_modules/bluebird/js/main/promise_array.js:92:18)
    at ReductionPromiseArray.init (/usr/share/kibana/node_modules/bluebird/js/main/reduce.js:42:10)
    at Async._drainQueue (/usr/share/kibana/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (/usr/share/kibana/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues (/usr/share/kibana/node_modules/bluebird/js/main/async.js:15:14)

the explorer only response a json: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}


(Brandon Kobel) #2

@LmYjQ if you disable the security plugin in Kibana, but have it running in Elasticsearch, you'll have to specify elasticsearch.username and elasticsearch.password in the kibana.yml located at /etc/kibana/kibana.yml


(Lm Yj Q) #3

:slight_smile: Thank you Brandom~


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.