WHM/cPanel unInstall MongoDB Error1
The system cannot check the kernel status
Error: Failed to download metadata for repo 'mongodb': repomd.xml
The system cannot check the kernel status: /usr/bin/yum reported error code 1
How to uninstall MongoDB that was manually installed
How To unInstall MongoDB On CPanel?



:

security advisor ERROR

The system cannot check the kernel status: /usr/bin/yum reported error code 1
Error: Failed to download metadata for repo 'mongodb': repomd.xml

:

ERROR

:
yum list kernel
:

1-Stop MongoDB

:
sudo service mongod stop
2- Remove Package

:
sudo yum erase $(rpm -qa | grep mongodb-org)
3- Remove Data Directories
:
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongo


:
yum reinstall -y mongodb-org-server.x86_64
* ! rm

.

:
https://www.mongodb.com/docs/manual/...db-on-red-hat/
https://stackoverflow.com/questions/...rver-on-centos
https://stackoverflow.com/questions/...db-from-ubuntu
https://stackoverflow.com/questions/...stalling-mongo
https://support.cpanel.net/hc/en-us/...-kernel-status
https://unix.stackexchange.com/quest...godb-on-centos
https://www.hostinger.com/tutorials/...odb-on-ubuntu/