mongod 启动 Illegal instruction (core dumped)

运行mongod -f mongo.conf出现报错 Illegal instruction (core dumped)

mongodb 版本为

mongodb-linux-x86_64-rhel70-6.0.1.tgz

Linux 版本为
在这里插入图片描述
错误原因为mongodb的版本为6.0.1,而服务器版本为3.10,gcc为4.8.5,而mongodb6.0.1的gcc 要比服务器支持的gcc版本高,所以出现了这个问题

要解决这个问题,需要把mongodb的版本降低,或者升级现在的linux,比起升级linux,还是降低mongodb的版本要简单点。

mongodb的版本降低到4.4就没有问题了,重新启动就行了

mongodb-linux-x86_64-rhel62-4.4.16.tgz
  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Focus on data usage and better design schemas with the help of MongoDB About This Book Create reliable, scalable data models with MongoDB Optimize the schema design process to support applications of all kinds Use this comprehensive guide to implement advanced schema designs Who This Book Is For This book is intended for database professionals, software developers, and architects who have some previous experience with MongoDB and now want to shift their focus to the concepts of data modeling. If you wish to develop better schema designs for MongoDB-based applications, this book is ideal for you. In Detail This book covers the basic concepts in data modeling and also provides you with the tools to design better schemas. With a focus on data usage, this book will cover how queries and indexes can influence the way we design schemas, with thorough examples and detailed code. The book begins with a brief discussion of data models, drawing a parallel between relational databases, NoSQL, and consequently MongoDB. Next, the book explains the most basic MongoDB concepts, such as read and write operations, indexing, and how to design schemas by knowing how applications will use the data. Finally, we will talk about best practices that will help you optimize and manage your database, presenting you with a real-life example of data modeling on a real-time logging analytics application. Table of Contents Chapter 1. Introducing Data Modeling Chapter 2. Data Modeling with MongoDB Chapter 3. Querying Documents Chapter 4. Indexing Chapter 5. Optimizing Queries Chapter 6. Managing the Data Chapter 7. Scaling Chapter 8. Logging and Real-time Analytics with MongoDB

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

无奈的码农

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值