-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
Affects Version/s: 2.6.5, 2.8.0-rc0
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Uninstalling MongoDB community or enterprise package on SUSE11 and RHEL6, does not stop the mongod service if it's already running.
The issue exists for all platforms using .rpm installer.
Steps to reproduce:
- zypper addrepo --no-gpgcheck http://downloads-distro.mongodb.org/repo/suse/os/x86_64/ mongodb
- zypper install mongodb-org
- service mongod start
- ensure that the service is running
- zypper remove 'mongo*'
- notice that the service is still running by running command: ps aux | grep mongod
Steps to reproduce on RHEL6 and CentOS 6.4 for community (enterprise also has the same issue):
- Install mongodb following instructions from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
- service mongod start
- yum remove -y mongo*
- ps aux | grep mongod // running
- yum install -y mongodb-org
- service mongod start // Fails
- ps aux | grep mongod // running
- service mongod stop // Fails