Cannot statrt OPENSEARCH with GL on UbuntuServer 22.04

I try to install OpenSearch on my Ubuntu Server 22.04 but when I try to start OpenSearch it has errors.

Jun 19 09:59:44 citdubuntuserver systemd[1]: opensearch.service: start operation timed out. Terminating.
Jun 19 09:59:44 citdubuntuserver systemd[1]: opensearch.service: Failed with result 'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit opensearch.service has entered the 'failed' state with result 'timeout'.
Jun 19 09:59:44 citdubuntuserver systemd[1]: Failed to start OpenSearch.
░░ Subject: A start job for unit opensearch.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit opensearch.service has finished with a failure.
░░
░░ The job identifier is 856 and the job result is failed.
Jun 19 09:59:44 citdubuntuserver systemd[1]: opensearch.service: Consumed 47.926s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit opensearch.service completed and consumed the indicated resources.

root@citdubuntuserver:~# systemctl status opensearch.service
× opensearch.service - OpenSearch
Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Mon 2023-06-19 09:59:44 +07; 5min ago
Docs: https://opensearch.org/
Process: 1910 ExecStart=/usr/share/opensearch/bin/systemd-entrypoint -p ${PID_DIR}/opensearch.pid --quiet (code=exited, status=143)
Main PID: 1910 (code=exited, status=143)
CPU: 47.926s

This is install video i try

https://www.youtube.com/watch?v=O83aKtv1ZJI

How can I resolve?

Hey @fivedna

Since Deb package is fairly new, I used these instruction for my server.

you can use this command.

journalctl -xu opensearch

to find out why your service is failing.

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

@fivedna Its been late but you can check path.data and path.logs directories permission which should be accessible to opensearch service to start it without issue.

Hope this helps you or others who occured similar issue.

Happy Logging Everyone :smiley: