How to fix the controll process exited error code

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:

i install opensearch-dashbords on vm debian 11 but i cant strat it

Configuration:

OpenSearch Dashboards is served by a back end server. This setting specifies the port to use.

server.port: 5601

Specifies the address to which the OpenSearch Dashboards server will bind. IP addresses and host names are both valid values.

The default is ‘localhost’, which usually means remote machines will not be able to connect.

To allow connections from remote users, set this parameter to a non-loopback address.

server.host: “192.168.1.17”

opensearch.hosts: [https://192.168.1.17:9200]
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: kibanaserver
opensearch.requestHeadersWhitelist: [authorization, securitytenant]

opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: [Private, Global]
opensearch_security.readonly_mode.roles: [kibana_read_only]

Use this setting if you are running opensearch-dashboards without https

opensearch_security.cookie.secure: false

Relevant Logs or Screenshots:

Can you show the error logs when you start OpenSearch-Dashboards?

User

– Journal begins at Sun 2024-04-21 13:36:28 CET, ends at Sun 2024-04-21 15:19:38 CET. –
Apr 21 14:35:48 debian systemd[1]: Started “OpenSearch Dashboards”.
Apr 21 14:35:49 debian opensearch-dashboards[8325]: /usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml/loader.js:173
Apr 21 14:35:49 debian opensearch-dashboards[8325]: throw generateError(state, message);
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ^
Apr 21 14:35:49 debian opensearch-dashboards[8325]: YAMLException: end of the stream or a document separator is expected at line 199, colum>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: opensearch.hosts: [https://192.1
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ^
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at generateError (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at throwError (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml/lo>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at readDocument (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml/>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at loadDocuments (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at load (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-yaml/loader.j>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at Object.safeLoad (/usr/share/opensearch-dashboards/node_modules/js-yaml/lib/js-ya>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at readYaml (/usr/share/opensearch-dashboards/node_modules/@osd/apm-config-loader/t>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at exports.getConfigFromFiles (/usr/share/opensearch-dashboards/node_modules/@osd/a>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at exports.loadConfiguration (/usr/share/opensearch-dashboards/node_modules/@osd/ap>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: at module.exports (/usr/share/opensearch-dashboards/src/apm.js:58:15) {
Apr 21 14:35:49 debian opensearch-dashboards[8325]: reason: ‘end of the stream or a document separator is expected’,
Apr 21 14:35:49 debian opensearch-dashboards[8325]: mark: Mark {
Apr 21 14:35:49 debian opensearch-dashboards[8325]: name: null,
Apr 21 14:35:49 debian opensearch-dashboards[8325]: buffer: ‘—\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# Copyright OpenSearch Contributors\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# SPDX-License-Identifier: Apache-2.0\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# Description:\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# Default configuration for OpenSearch Dashboards\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# OpenSearch Dashboards is served by a back end server. This setting specifies t>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ’ server.port: 5601\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: '# Specifies the address to which the OpenSearch Dashboards server will bind. IP >
Apr 21 14:35:49 debian opensearch-dashboards[8325]: "# The default is ‘localhost’, which usually means remote machines will not be ab>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# To allow connections from remote users, set this parameter to a non-loopback a>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ’ server.host: “192.168.1.17”\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: '# Enables you to specify a path to mount OpenSearch Dashboards at if you are run>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: '# Use the server.rewriteBasePath setting to tell OpenSearch Dashboards if it s>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# from requests it receives, and to prevent a deprecation warning at startup.\n’>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# This setting cannot end in a slash.\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# server.basePath: “”\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: '# Specifies whether OpenSearch Dashboards should rewrite requests that are prefi>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# server.basePath or require that they are rewritten by your reverse proxy.\n’>
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# server.rewriteBasePath: false\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# The maximum payload size in bytes for incoming server requests.\n’ +
Apr 21 14:35:49 debian opensearch-dashboards[8325]: ‘# server.maxPayloadBytes: 1048576\n’ +