Note that there are some explanatory texts on larger screens.

plurals
  1. POMongodb failing on Debian
    primarykey
    data
    text
    <p>I'm building a MongoDB VM and just cannot get it too work. The output is as follows:</p> <pre><code>After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y [master 462b01d] saving uncommitted changes in /etc prior to apt run Author: root &lt;root@mongo&gt; 1 files changed, 5 insertions(+), 5 deletions(-) Setting up mongodb-10gen (2.4.5) ... Starting database: mongodb failed! invoke-rc.d: initscript mongodb, action "start" failed. dpkg: error processing mongodb-10gen (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1) root@mongo:~# </code></pre> <p>I've been following the official <a href="http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/" rel="nofollow noreferrer">install instructions</a> from the mongodb website. I found <a href="https://jira.mongodb.org/secure/attachment/24512/init.d.patch" rel="nofollow noreferrer">this patch fix</a> but this doesn't fix the error either, just throws a new one. I've also seen removing a bad package from dpkg/status can fix the error but I wouldn't even know where to start.</p> <p><strong>EDIT 1</strong></p> <p>I followed the steps in the top <a href="https://stackoverflow.com/questions/16120397/mongo-jsl112-error-couldnt-connect-to-server-127-0-0-127017-at-src-mongo-she">voted answer here</a> and now I can access the mongo shell, but when I <code>service mongodb start</code> it still says failed. I wasn't able to access the shell before so that's something, yeah?</p> <pre><code>root@mongo:~# service mongodb start Starting database: mongodb failed! root@mongo:~# mongo MongoDB shell version: 2.4.5 connecting to: test Welcome to the MongoDB shell. For interactive help, type "help". For more comprehensive documentation, see http://docs.mongodb.org/ Questions? Try the support group http://groups.google.com/group/mongodb-user &gt; ^C bye root@mongo:~# </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload