check if mongodb is running

https://bugzilla.novell.com/show_bug.cgi?id=863720