Hi James,

The work-around you suggest works, I've used it many times. It does not
cure the root cause though. The problem comes back after each reboot.

It seems the root cause is mongodb being started by both
/etc/init.d/mongodb as well as the newer upstart mechanism. They behave
slightly differently when it comes to ownership of the lock file.

If I remove /etc/rc*d/*mongodb, remove /var/lib/mongodb/mongod.lock and
then reboot, the problem is gone.

I don't know how and when /etc/init.d/mongodb was linked to /etc/rc*d.
Perhaps when installing MongoDB by means of a Chef recipe downloaded from the 
Chef community cookbooks.

Hope this helps,
Olle

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mongodb in Ubuntu.
https://bugs.launchpad.net/bugs/1173012

Title:
  package isc-dhcp-server 4.2.4-1ubuntu10.3 failed to install/upgrade:
  underprocessen installerade post-installation-skript gav felkod 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1173012/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to