OpenSearch 3.7.0 fails to start

OpenSearch 3.7.0 fails to start. I have Almalinux 10 installed. I needed OpenSearch for magento 2.

Describe the issue:

When run the command: sudo systemctl start opensearch and you will see: Job for opensearch.service failed because the control process exited with error code.
See “systemctl status opensearch.service” and “journalctl -xeu opensearch.service” for details.

What I need to do so it start?

I resolved the issues, so it start now.

/etc/sysconfig/opensearch

OPENSEARCH_JAVA_OPTS=“-Djava.io.tmpdir=/var/lib/opensearch/tmp”

/etc/opensearch/jvm.options

-Xms12g
-Xmx12g

If there is still something wrong with the configuration, please let me know.

Hi @User26, welcome to the OpenSearch community and glad to hear that OpenSearch is starting now.

From the logs, it appears that the Security plugin is installed and enabled, but the SSL/TLS configuration has not been completed.
You can also confirm Security plugin state by running the below command:

/usr/share/opensearch/bin/opensearch-plugin list

The Security plugin errors still need to be addressed. To configure security plugin please use install_demo_configuration.sh script or use the example from OpenSearch documentation.
https://docs.opensearch.org/latest/security/configuration/yaml/#opensearchyml

To use demo configuration script, please run the below commands.

export OPENSEARCH_INITIAL_ADMIN_PASSWORD='<strong-password>'
cd /usr/share/opensearch/plugins/opensearch-security/tools
./install_demo_configuration.sh

Follow the terminal prompts to complete the setup.
For more details, please refer to:
https://docs.opensearch.org/latest/security/getting-started/#setting-up-the-demo-configuration

To better understand your setup, could you clarify what you’re trying to achieve? Is this intended to be a single-node deployment? Or are you planning to build a multi-node cluster?