Logs isn't showing in kibana

Dear Team,

Due to certain server dependency problems, my Elk server recently crashed. To recover Elk, I used an old Elk snapshot of the server and updated all configuration settings for the new IP.

unable to access the server log in the Kibana console. Could you please assist with debugging the problem.

When attempting to retrieve the latest version of Kibana from the server, the following error was received.

root@elk:/var/log/filebeat# /usr/share/kibana/bin/kibana --version
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/usr/share/kibana/config/kibana.yml'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at readYaml (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/utils/read_config.js:27:52)
    at Object.exports.getConfigFromFiles (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/utils/read_config.js:52:22)
    at exports.loadConfiguration (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/config_loader.js:33:38)
    at module.exports (/usr/share/kibana/src/apm.js:47:15)
    at Object.<anonymous> (/usr/share/kibana/src/cli/dist.js:21:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
root@elk:/var/log/filebeat# /usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml
Kibana should not be run as root.  Use --allow-root to continue.
root@elk:/var/log/filebeat# /usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml --allow-root
  log   [01:10:06.413] [info][plugins-service] Plugin "visTypeXy" is disabled.
  log   [01:10:06.419] [info][plugins-service] Plugin "auditTrail" is disabled.
  log   [01:10:06.462] [warning][config][deprecation] Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0."
  log   [01:10:06.483] [fatal][root] Error: Port 5601 is already in use. Another instance of Kibana may be running!
    at Root.shutdown (/usr/share/kibana/src/core/server/root/index.js:67:18)
    at Root.setup (/usr/share/kibana/src/core/server/root/index.js:46:18)
    at process._tickCallback (internal/process/next_tick.js:68:7)

 FATAL  Error: Port 5601 is already in use. Another instance of Kibana may be running!

What does /var/log/kibana/kibana.log show?

@warkolm Thanks for your reply.
logs not processing in kibana.log file but kibana service running fine.

Please suggest me to debug the areas to fix this.

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