mongod: error while loading shared libraries: libstdc++.so.6
mongod: error while loading shared libraries: libstdc++.so.6
環境說明:
OS:Oracle Linux Server release 6.3
DB:MongoDB 1.8.2
問題:
mongod安裝後啟動失敗。
[mongo@cjcos01 ~]$ mongod -config /usr/local/mongodb/conf/mongodb.conf mongod: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
檢查缺少哪些包:
[root@cjcos01 os]# yum whatprovides libstdc++.so.6
Loaded plugins: refresh-packagekit, security
libstdc++-4.4.6-4.el6.i686 : GNU Standard C++ Library
Repo : Oralin6u3
Matched from:
Other : libstdc++.so.6
安裝libstdc++-4.4.6-4.el6.i686:
[root@cjcos01 os]# yum install libstdc++-4.4.6-4.el6.i686
再次啟動mongod,可以正常啟動:
[root@cjcos01 os]# su - mongo
[mongo@cjcos01 ~]$ mongod -config /usr/local/mongodb/conf/mongodb.conf
[mongo@cjcos01 ~]$ forked process: 15819
all output going to: /usr/local/mongodb/log/mongodb.log
登入mongo:
[root@cjcos01 os]# su - mongo
[mongo@cjcos01 ~]$ mongo
MongoDB shell version: 1.8.2 connecting to: test > show dbs; admin(empty) cjc0.0625GB local(empty)
歡迎關注我的微信公眾號"IT小Chen",共同學習,共同成長!!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2698180/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error while loading shared librariesErrorWhile
- ./ggsci: error while loading shared librariesErrorWhile
- sqlplus: error while loading shared librariesSQLErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared libraries: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- innobackupex: error while loading shared libraries: libssl.so.6ErrorWhile
- glodengate配置時報ggsci: error while loading shared librariesErrorWhile
- ORACLE SQLPLUS 報 error while loading shared libraries[轉]OracleSQLErrorWhile
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libstdc++.so.5: cannot openErrorWhileC++
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- linux編譯Android原始碼的時候出錯:error while loading shared libraries: libstdc++.so.6Linux編譯Android原始碼ErrorWhileC++
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- error while loading shared libraries 錯誤解決辦法總結ErrorWhile
- sqlplus: error while loading shared libraries: libsqlplus.soSQLErrorWhile
- [mysql]error while loading shared libraries: libaio.so.1: 解決方案MySqlErrorWhileAI
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- root.sh / vipca: error while loading shared libraries: libpth read.so.PCAErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- 【故障處理】csscan工具無法使用,報錯“error while loading shared libraries...”CSSErrorWhile
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- 安裝EBS R12.1.1-error while loading shared libraries: libdb.so.2ErrorWhile
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject