I got similar msg also for apache but i fixed with recreating var/log/folders and getenforce .

Mongo still have error logs:

 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 Wed 2020-07-22 09:08:08 UTC; 17s ago
     Docs: https://docs.mongodb.org/manual
  Process: 3888 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=100)
  Process: 3886 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)
  Process: 3884 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)
  Process: 3883 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)

Jul 22 09:08:07 maximumroulette systemd[1]: Starting MongoDB Database Server...
Jul 22 09:08:08 maximumroulette systemd[1]: mongod.service: control process exited, code=exited st...100Jul 22 09:08:08 maximumroulette systemd[1]: Failed to start MongoDB Database Server.
Jul 22 09:08:08 maximumroulette systemd[1]: Unit mongod.service entered failed state.
Jul 22 09:08:08 maximumroulette systemd[1]: mongod.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.