Could not able to start mongod as a service

@Evgeniy_Patlan

Below are the permissions for /home and /mongod

drwxr-xr-x. 3 root root 20 Nov 17 05:04 home

drwxr-xr-x. 8 mongod mongod 180 Nov 17 06:29 mongod

even though I am getting below error when I start.

[mongod@mongst01 home]$ sudo service mongod start

Redirecting to /bin/systemctl start mongod.service

[mongod@mongst01 home]$ sudo service mongod status

Redirecting to /bin/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 2020-11-17 07:45:38 UTC; 7s ago

 Docs: <a href="https://docs.mongodb.org/manual">https://docs.mongodb.org/manual</a>

Process: 2642 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=2)

Main PID: 2642 (code=exited, status=2)

Nov 17 07:45:38 mongst01 systemd[1]: Started MongoDB Database Server.

Nov 17 07:45:38 mongst01 mongod[2642]: Error reading config file: Permission denied

Nov 17 07:45:38 mongst01 mongod[2642]: try ‘/usr/bin/mongod --help’ for more information

Nov 17 07:45:38 mongst01 systemd[1]: mongod.service: main process exited, code=exited, status=2/INVALIDARGUMENT

Nov 17 07:45:38 mongst01 systemd[1]: Unit mongod.service entered failed state.

Nov 17 07:45:38 mongst01 systemd[1]: mongod.service failed.

[mongod@mongst01 home]$