OK, renamed kibana.yml (which was created by the install) and created a new one with vim and copied and pasted the two lines you used and got the exact same message down to the execution time of 1.563s CPU time.
I had used apt to install both elasticsearch and kibana, no flag of any kind (see below).
I uninstalled, removed /etc/kibana/ and /usr/share/kibana/. Rebooted and then reinstalled using
apt install kibana
It installed kibana 8.5.2 (same ver as elasticsearch). That resulted in the exact same message down to the execution time according to diff.
That should not be as the date and time has changed from Jan 27 (above in prev msg) and journalctl -u kibana.service
should show a different message with current date and time!
Date shows current time so that's working.
Elasticsearch query with curl -u elastic:<my-passwd> -k 'https://<my-lan-ip>:9200'
returned the normal results.
/var/log/kibana remains empty.
apt's last entry:
Start-Date: 2022-11-30 09:42:01
Commandline: apt install kibana
Install: kibana:amd64 (8.5.2)
End-Date: 2022-11-30 09:42:12
dpkg.log:
2022-11-30 09:42:01 startup archives unpack
2022-11-30 09:42:02 install kibana:amd64 8.5.2 8.5.2
2022-11-30 09:42:02 status half-installed kibana:amd64 8.5.2
2022-11-30 09:42:12 status unpacked kibana:amd64 8.5.2
2022-11-30 09:42:12 startup packages configure
2022-11-30 09:42:12 configure kibana:amd64 8.5.2
2022-11-30 09:42:12 status unpacked kibana:amd64 8.5.2
2022-11-30 09:42:12 status half-configured kibana:amd64 8.5.2
2022-11-30 09:42:12 status installed kibana:amd64 8.5.2
syslog:
Nov 30 09:42:12 we-regenerate systemd[1]: Reloading.
Nov 30 09:42:12 we-regenerate systemd[1]: open-vm-tools.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
Nov 30 09:42:12 we-regenerate systemd[1]: Started Kibana.
Nov 30 09:42:13 we-regenerate dbus-daemon[701]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.20' (uid=0 pid=1438 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
Nov 30 09:42:13 we-regenerate systemd[1]: Starting PackageKit Daemon...
Nov 30 09:42:13 we-regenerate PackageKit: daemon start
Nov 30 09:42:13 we-regenerate dbus-daemon[701]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 30 09:42:13 we-regenerate systemd[1]: Started PackageKit Daemon.
Nov 30 09:42:13 we-regenerate kibana[1411]: FATALĂ‚ CLI ERROR Error: ENOENT: no such file or directory, open '/etc/kibana/kibana.yml'
Nov 30 09:42:13 we-regenerate kibana[1411]: at Object.openSync (node:fs:590:3)
Nov 30 09:42:13 we-regenerate kibana[1411]: at readFileSync (node:fs:458:35)
Nov 30 09:42:13 we-regenerate kibana[1411]: at readYaml (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:25:69)
Nov 30 09:42:13 we-regenerate kibana[1411]: at getConfigFromFiles (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:57:18)
Nov 30 09:42:13 we-regenerate kibana[1411]: at RawConfigService.loadConfig (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/raw_config_service.js:56:70)
Nov 30 09:42:13 we-regenerate kibana[1411]: at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:57:20)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command. (/usr/share/kibana/src/cli/serve/serve.js:216:11)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command. (/usr/share/kibana/src/cli/command.js:102:20)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command.listener (/usr/share/kibana/node_modules/commander/index.js:370:29)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command.emit (node:events:513:28)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command.parseArgs (/usr/share/kibana/node_modules/commander/index.js:892:12)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Command.parse (/usr/share/kibana/node_modules/commander/index.js:642:21)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Object. (/usr/share/kibana/src/cli/cli.js:49:9)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module.require (node:internal/modules/cjs/loader:1057:19)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)
Nov 30 09:42:13 we-regenerate kibana[1411]: message repeated 5 times: [ at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)]
Nov 30 09:42:13 we-regenerate kibana[1411]: at require (node:internal/modules/cjs/helpers:103:18)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Object. (/usr/share/kibana/src/cli/dist.js:16:1)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:13 we-regenerate kibana[1411]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Nov 30 09:42:13 we-regenerate kibana[1411]: at node:internal/main/run_main_module:22:47
Nov 30 09:42:13 we-regenerate systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Nov 30 09:42:13 we-regenerate systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 30 09:42:13 we-regenerate systemd[1]: kibana.service: Consumed 1.658s CPU time.
Nov 30 09:42:16 we-regenerate systemd[1]: kibana.service: Scheduled restart job, restart counter is at 1.
Nov 30 09:42:16 we-regenerate systemd[1]: Stopped Kibana.
Nov 30 09:42:16 we-regenerate systemd[1]: kibana.service: Consumed 1.658s CPU time.
Nov 30 09:42:16 we-regenerate systemd[1]: Started Kibana.
Nov 30 09:42:18 we-regenerate kibana[1514]: FATALĂ‚ CLI ERROR Error: ENOENT: no such file or directory, open '/etc/kibana/kibana.yml'
Nov 30 09:42:18 we-regenerate kibana[1514]: at Object.openSync (node:fs:590:3)
Nov 30 09:42:18 we-regenerate kibana[1514]: at readFileSync (node:fs:458:35)
Nov 30 09:42:18 we-regenerate kibana[1514]: at readYaml (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:25:69)
Nov 30 09:42:18 we-regenerate kibana[1514]: at getConfigFromFiles (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:57:18)
Nov 30 09:42:18 we-regenerate kibana[1514]: at RawConfigService.loadConfig (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/raw_config_service.js:56:70)
Nov 30 09:42:18 we-regenerate kibana[1514]: at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:57:20)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command. (/usr/share/kibana/src/cli/serve/serve.js:216:11)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command. (/usr/share/kibana/src/cli/command.js:102:20)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command.listener (/usr/share/kibana/node_modules/commander/index.js:370:29)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command.emit (node:events:513:28)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command.parseArgs (/usr/share/kibana/node_modules/commander/index.js:892:12)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Command.parse (/usr/share/kibana/node_modules/commander/index.js:642:21)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Object. (/usr/share/kibana/src/cli/cli.js:49:9)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module.require (node:internal/modules/cjs/loader:1057:19)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)
Nov 30 09:42:18 we-regenerate kibana[1514]: message repeated 5 times: [ at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)]
Nov 30 09:42:18 we-regenerate kibana[1514]: at require (node:internal/modules/cjs/helpers:103:18)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Object. (/usr/share/kibana/src/cli/dist.js:16:1)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:18 we-regenerate kibana[1514]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Nov 30 09:42:18 we-regenerate kibana[1514]: at node:internal/main/run_main_module:22:47
Nov 30 09:42:18 we-regenerate systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Nov 30 09:42:18 we-regenerate systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 30 09:42:18 we-regenerate systemd[1]: kibana.service: Consumed 1.558s CPU time.
Nov 30 09:42:21 we-regenerate systemd[1]: kibana.service: Scheduled restart job, restart counter is at 2.
Nov 30 09:42:21 we-regenerate systemd[1]: Stopped Kibana.
Nov 30 09:42:21 we-regenerate systemd[1]: kibana.service: Consumed 1.558s CPU time.
Nov 30 09:42:21 we-regenerate systemd[1]: Started Kibana.
Nov 30 09:42:22 we-regenerate kibana[1524]: FATALĂ‚ CLI ERROR Error: ENOENT: no such file or directory, open '/etc/kibana/kibana.yml'
Nov 30 09:42:22 we-regenerate kibana[1524]: at Object.openSync (node:fs:590:3)
Nov 30 09:42:22 we-regenerate kibana[1524]: at readFileSync (node:fs:458:35)
Nov 30 09:42:22 we-regenerate kibana[1524]: at readYaml (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:25:69)
Nov 30 09:42:22 we-regenerate kibana[1524]: at getConfigFromFiles (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/read_config.js:57:18)
Nov 30 09:42:22 we-regenerate kibana[1524]: at RawConfigService.loadConfig (/usr/share/kibana/node_modules/@kbn/config/target_node/src/raw/raw_config_service.js:56:70)
Nov 30 09:42:22 we-regenerate kibana[1524]: at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:57:20)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command. (/usr/share/kibana/src/cli/serve/serve.js:216:11)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command. (/usr/share/kibana/src/cli/command.js:102:20)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command.listener (/usr/share/kibana/node_modules/commander/index.js:370:29)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command.emit (node:events:513:28)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command.parseArgs (/usr/share/kibana/node_modules/commander/index.js:892:12)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Command.parse (/usr/share/kibana/node_modules/commander/index.js:642:21)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Object. (/usr/share/kibana/src/cli/cli.js:49:9)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module.require (node:internal/modules/cjs/loader:1057:19)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)
Nov 30 09:42:22 we-regenerate kibana[1524]: message repeated 5 times: [ at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:101:39)]
Nov 30 09:42:22 we-regenerate kibana[1524]: at require (node:internal/modules/cjs/helpers:103:18)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Object. (/usr/share/kibana/src/cli/dist.js:16:1)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Nov 30 09:42:22 we-regenerate kibana[1524]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Nov 30 09:42:22 we-regenerate kibana[1524]: at node:internal/main/run_main_module:22:47
Nov 30 09:42:22 we-regenerate systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Nov 30 09:42:22 we-regenerate systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 30 09:42:22 we-regenerate systemd[1]: kibana.service: Consumed 1.552s CPU time.
Nov 30 09:42:25 we-regenerate systemd[1]: kibana.service: Scheduled restart job, restart counter is at 3.
Nov 30 09:42:25 we-regenerate systemd[1]: Stopped Kibana.
Nov 30 09:42:25 we-regenerate systemd[1]: kibana.service: Consumed 1.552s CPU time.
Nov 30 09:42:25 we-regenerate systemd[1]: kibana.service: Start request repeated too quickly.
Nov 30 09:42:25 we-regenerate systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 30 09:42:25 we-regenerate systemd[1]: Failed to start Kibana.
Nov 30 09:42:55 we-regenerate systemd[1]: kibana.service: Start request repeated too quickly.
Nov 30 09:42:55 we-regenerate systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 30 09:42:55 we-regenerate systemd[1]: Failed to start Kibana.
journalctl -u kibana.service
still shows the log from Nov 27 so something must be wrong there.
Max disk use is 5% on 200G which could have been why journalctl did not update. I had rebooted the server before reinstalling. Restarted it with systemctl daemon-reload
.
Haha, OK!
Nothing wrong with journalctl, it outputs to a function similar to less but hitting the End key does not result in jumping to the end, as it does in less. I had to use arrow down to reach the end which is totally up-to-date. The keys does however work the same as vim, which I had not considered up to this point.
Does not solve the kibana issue. Same after a pretty complete uninstall and reinstall.
Apt does report half-configured kibana, but maybe that's just a progress report.