Mongodb, the environment is already configured. You can start it by typing mongod directly on the command line but not through the configuration file.

  mongodb, question

1. Start via command line

mongod --port 10000 --fork --logpath /usr/local/mongodb/log/mongodb.log --logappend --dbpath =/data/db

Or configuration file startup will report an error

about to fork child process, waiting until server is ready for connections.
forked process: 1399
ERROR: child process failed, exited with error number 1

Lock files under 2.db have also been deleted and still report errors.

3. Xiao Bai sincerely asks for advice

Master/slave replication and replica set replication are two different mechanisms. The former is no longer recommended for further use. Because you set up here againshardsvr=true, is in a shard set, so you should use replica set. Themaster=trueTry deleting it.
Additionally configuredauth=trueIn this mode, mutual authentication between clusters depends onkeyfile, please add or temporarily disable auth according to the document (note if it is a production environment or it is strongly recommended to turn on auth).