You are not logged in.

#1 2016-06-20 12:14:53

clearwater67
Member
From: Ukraine, Kharkov
Registered: 2009-11-03
Posts: 6

mongod doesn't start with --fork option

Hi

I'm trying to start mongod with the following command:

"mongod --replSet s0 --pidfilepath "$HOME/data/s0-r0.pid" --logpath "$HOME/data/s0-r0.log" --dbpath "$HOME/data/shard0/rs0" --port 37017 --fork --shardsvr --smallfiles"

In return I have the following message:
"about to fork child process, waiting until server is ready for connections."
this message hangs forever.

all paths are available.

Without "--fork" option mongod runs fine.
Any suggestions?

Thanks,
Vadym

Offline

#2 2016-07-03 10:03:30

potens
Member
Registered: 2016-03-14
Posts: 14

Re: mongod doesn't start with --fork option

Hi,

I don't have the solution, but I have the same problem you have and, until now, my googlefoo doesn't help a lot.

Did you find anything about that ?

Thanks,

Nicolas

Offline

#3 2017-01-15 18:41:31

icoz
Member
Registered: 2016-06-27
Posts: 1

Re: mongod doesn't start with --fork option

Have same problem with version:

db version v3.4.1
git version: 5e103c4f5583e2566a45d740225dc250baacfbd7
OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016
allocator: tcmalloc
modules: none
build environment:
    distarch: x86_64
    target_arch: x86_64

Any ideas?

Offline

#4 2017-01-22 02:10:52

defeo
Member
Registered: 2017-01-22
Posts: 10

Re: mongod doesn't start with --fork option

Same version, same problem. I solved using nohup, but would love to have --fork working.

Last edited by defeo (2017-01-22 02:11:14)

Offline

#5 2017-01-22 05:50:54

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: mongod doesn't start with --fork option

There is a bug already open for this issue, but it hasn't seen much activity since several months.

https://bugs.archlinux.org/task/50302

Please post any suggestions/workarounds on the bug report itself.

Offline

Board footer

Powered by FluxBB