I'm getting the error "Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"

Hi all. Who worked with mongodb transactions/replications. I need your help.
I configured my mongodb config file (1 screen)
I’m getting the error “Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding "processManagement.fork" to false”

I changed (screen 2) my mongo service file (/usr/lib/systemd/system/mongod.service)

And changed the value of “MONGODB_CONFIG_OVERRIDE_NOFOR” to zero (it didn’t help). Then I just deleted the Environment value (didn’t help).

Please help, it’s very important to me

Hi @Danish_M1_N_A,

As mentioned here, i think it’ s enough remove this enviroment variable.

From the documentation:

Regards

It doesn’t work for me. The error disappeared when I removed all authorization or/and keyFile from security

1 Like