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 libraries: libclntsh.so.10.1ErrorWhile
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- linux編譯Android原始碼的時候出錯:error while loading shared libraries: libstdc++.so.6Linux編譯Android原始碼ErrorWhileC++
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- linux puppeteer 截圖提示缺少chrome-linux/chrome error while loading shared libraries: libXdamage.so.1LinuxChromeErrorWhile
- 管理mongod程序Go
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- Dynamics CRM CRM Reporting Error: Error occurred while fetching the data extension的解決方法ErrorWhile
- OGG-15050 Error loading Java VM runtime library: (2 No such file or directory)ErrorJava
- git push fatal: HttpRequestException encountered. An error occurred while sending the requestGitHTTPExceptionErrorWhile
- An error occurred while updating the entries. See the inner exception for details.ErrorWhileExceptionAI
- ERROR3948: Loading local data is disabled - this must be enabled on both the client and server sidesErrorclientServerIDE
- 視覺SLAM十四講第九講 執行程式中碰到的shared libraries相關的坑。視覺SLAM行程
- Qt開發,報錯:Error while building/deploying project untitled (kit: ....)QTErrorWhileUIProject
- mongod命令的一些引數以及引數--pidfilepath與mongod.lock區別Go
- org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.SQLExceptionErrorWhile
- RuntimeError: Error(s) in loading state_dict for SSD: Missing key(s) in解決辦法Error
- com.android.build.api.transform.TransformException: Error while generating the main dex list.AndroidUIAPIORMExceptionErrorWhileAI
- 排錯./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either doErrorHTTPUIXML
- loading
- 在 fish 終端下報錯 source: Error while reading file “xxx” 等問題ErrorWhile
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- 問題結局辦法:Error loading psycopg2 module: No module named ‘psycopg2‘Error
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- Loading ... done
- Java 迴圈 - for, while 及 do…whileJavaWhile
- ORACLE OMS啟動失敗之BEA-300040 I/O error while writing node manager statusOracleErrorWhile
- Signals-The Boost C++ LibrariesC++
- Cannot dlopen some GPU libraries.GPU