Mongod with REHL 8

Hi all,

i have installed mongodb 5.03 on RHEL 8 but i cant start with systemctl start mongod

Job for mongod.service failed because the control process exited with error code.
See “systemctl status mongod.service” and “journalctl -xe” for details.

systemctl status mongod.service
● mongod.service - MongoDB Database Server
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2021-10-05 00:09:52 AEST; 1min 5s ago
Docs: https://docs.mongodb.org/manual
Process: 3665 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=1/FAILURE)
Process: 3662 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 3660 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 3657 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)

Oct 05 00:09:52 ava-tran systemd[1]: Starting MongoDB Database Server…
Oct 05 00:09:52 ava-tran mongod[3665]: about to fork child process, waiting until server is ready for connections.
Oct 05 00:09:52 ava-tran mongod[3665]: forked process: 3668
Oct 05 00:09:52 ava-tran mongod[3665]: ERROR: child process failed, exited with 1
Oct 05 00:09:52 ava-tran mongod[3665]: To see additional information in this output, start without the “–fork” option.
Oct 05 00:09:52 ava-tran systemd[1]: mongod.service: Control process exited, code=exited status=1
Oct 05 00:09:52 ava-tran systemd[1]: mongod.service: Failed with result ‘exit-code’.
Oct 05 00:09:52 ava-tran systemd[1]: Failed to start MongoDB Database Server.

Please advice as I am new to MongoDB

David

Does your mongod.log shows any additional details on error number 1
You may check your config file for the log path