RSS feed
  • service error when starting mongodb

    Posted on August 26th, 2011 2 comments

    I was trying to start mongodb just now and couldn't understand why it wasn't working. Turns out I needed to be sudo - not the most clear error message ...

     
    $ service mongodb start
    start: Rejected send message, 1 matched rules; type="method_call", sender=":1.11
    212" (uid=1000 pid=1360 comm="start) interface="com.ubuntu.Upstart0_6.Job" membe
    r="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart
    " (uid=0 pid=1 comm="/sbin/init"))
    $ sudo service mongodb start
    mongodb start/running, process 1326
    

2 Responses to “service error when starting mongodb”

  1. I just ran into the same issue. Did you find a solution?

    Thanks

  2. yeah, I had to run: sudo service mongodb start. Originally I had forgotten to sudo.

Leave a Reply