When I run this command:
mongod --port 27017 --dbpath /var/lib/mongo/replica --logpath /var/lib/mongo/replica/log --replSet myreplicaset --fork --smallfiles --nojournal
the following error occurred:
about to fork child process, waiting until server is ready for connections. forked process: 13447 ERROR: child process failed, exited with error number 1