[Bug 1251654] [NEW] Remove /var/lib/mongodb/mongodb.lock trying to start mongodb service

2013-11-15 Thread Enrique Arizón Benito
Public bug reported: After non-clean shutdown /var/lib/mongodb/mongodb.lock avoid mongodb to start properly. Adding next line to /etc/init/mongodb.conf (anywhere in the script section before launching the daemon) fixes the problem: ps -eo %u | grep -q ^mongodb$ || rm -f

[Bug 1251654] [NEW] Remove /var/lib/mongodb/mongodb.lock trying to start mongodb service

2013-11-15 Thread Enrique Arizón Benito
Public bug reported: After non-clean shutdown /var/lib/mongodb/mongodb.lock avoid mongodb to start properly. Adding next line to /etc/init/mongodb.conf (anywhere in the script section before launching the daemon) fixes the problem: ps -eo %u | grep -q ^mongodb$ || rm -f