发布于 4年前

Mongodb 安装报错

ubuntu 16.04 mongodb enterprise 3.4 安装中遇到的错误

错误一

./mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

解决方法

apt-get install libcurl4-openssl-dev

错误二

./mongod: error while loading shared libraries: libnetsnmpmibs.so.30: cannot open shared object file: No such file or directory

解决方法

apt-get install snmpd snmp snmp-mibs-downloader

如果上面命令报错:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'snmp-mibs-downloader' has no installation candidate

就把snmp-mibs-downloader去掉 执行:

apt-get install snmpd snmp
©2020 edoou.com   京ICP备16001874号-3