Mongodb refuses to start
by camorri from LinuxQuestions.org on (#6MMSK)
I have installed allienbobs Mongodb package on Slackware 15.0. I have followed the instructions on this link:
https://alien.slackbook.org/blog/how...-on-slackware/
Here are the results:
Code:root@duelie:~# /etc/rc.d/rc.mongodb start
about to fork child process, waiting until server is ready for connections.
forked process: 5818
ERROR: child process failed, exited with 1
To see additional information in this output, start without the "--fork" option.
MongoDB server failed to start, exiting now...I edited /etc/mongod.conf and changed the "fork" to false, and receivd even less informaiton on what is wrong.
Here is the last error line from mongod.log.
Code:{"t":{"$date":"2024-05-07T10:35:37.054-04:00"},"s":"I", "c":"CONTROL", "id":23330,
82 "ctx":"main","msg":"ERROR: Cannot write pid file to {path_string}: {errAndStr_second}",
83 "attr":{"path_string":"/var/run/mongodb/mongod.pid","errAndStr_second":"No such file or directory"}}Any help would be appreciated. I have no experience with data base programs.
https://alien.slackbook.org/blog/how...-on-slackware/
Here are the results:
Code:root@duelie:~# /etc/rc.d/rc.mongodb start
about to fork child process, waiting until server is ready for connections.
forked process: 5818
ERROR: child process failed, exited with 1
To see additional information in this output, start without the "--fork" option.
MongoDB server failed to start, exiting now...I edited /etc/mongod.conf and changed the "fork" to false, and receivd even less informaiton on what is wrong.
Here is the last error line from mongod.log.
Code:{"t":{"$date":"2024-05-07T10:35:37.054-04:00"},"s":"I", "c":"CONTROL", "id":23330,
82 "ctx":"main","msg":"ERROR: Cannot write pid file to {path_string}: {errAndStr_second}",
83 "attr":{"path_string":"/var/run/mongodb/mongod.pid","errAndStr_second":"No such file or directory"}}Any help would be appreciated. I have no experience with data base programs.