About to fork child process, waiting until server is ready for connections. forked process: 6558 ERROR: child process failed, exited with 48

Hello @Shahima_khan,

I just had the same issue and the problem for me was that I did not stop the services before running the ‘mongod --config /opt/hombrew/etc/mongod.conf --fork’ command. From reading the thread I believe your issue is the same.

Try running ‘brew services stop mongodb-community@{version}

Then run 'mongod --config /opt/hombrew/etc/mongod.conf --fork’.

Hope this helps!

1 Like