mongoDB无法启动问题

发布问题 回首页

mongoDB无法启动问题

★ 0 成为第一个关注这个问题的人

工程师您好:
由于服务器非正常开关,导致数据库无法启动。尝试删掉mongodb的lock文件,用repair模式启动,没有解决问题,具体报错如下,谢谢:
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] MongoDB starting : pid=8744 port=27017 dbpath=/opt/mongodb/mongodb-linux-aarch64-ubuntu1604-3.4.6/data/ 64-bit host=Kylin
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] db version v3.4.6
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] git version: c55eb86ef46ee7aede3b1e2a5d184a7df4bfb5b5
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] allocator: tcmalloc
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] modules: none
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] build environment:
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] distmod: ubuntu1604
2018-05-22T09:05:00.696+0800 I CONTROL [initandlisten] distarch: aarch64
2018-05-22T09:05:00.697+0800 I CONTROL [initandlisten] target_arch: aarch64
2018-05-22T09:05:00.697+0800 I CONTROL [initandlisten] options: { processManagement: { fork: true }, storage: { dbPath: “/opt/mongodb/mongodb-linux-aarch64-ubuntu1604-3.4.6/data/” }, systemLog: { destination: “file”, path: “/opt/mongodb/mongodb-linux-aarch64-ubuntu1604-3.4.6/logs” } }
2018-05-22T09:05:00.766+0800 I – [initandlisten] Detected data files in /opt/mongodb/mongodb-linux-aarch64-ubuntu1604-3.4.6/data/ created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.
2018-05-22T09:05:00.767+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3466M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2018-05-22T09:05:00.829+0800 E STORAGE [initandlisten] WiredTiger error (0) [1526951100:829352][8744:0x7fa58a8000], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 45056: block header checksum of 572533809 doesn’t match expected checksum of 2746424170
2018-05-22T09:05:00.829+0800 E STORAGE [initandlisten] WiredTiger error (0) [1526951100:829461][8744:0x7fa58a8000], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value
2018-05-22T09:05:00.829+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1526951100:829504][8744:0x7fa58a8000], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-05-22T09:05:00.829+0800 I – [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
2018-05-22T09:05:00.829+0800 I – [initandlisten]

***aborting after fassert() failure

2018-05-22T09:05:00.835+0800 F – [initandlisten] Got signal: 6 (Aborted).

0x55839c1c58 0x55839c0f08 0x55839c13e0 0x7fa58b0510 0x7fa5427568
—– BEGIN BACKTRACE —–
{“backtrace”:[{"b":"5582589000","o":"1438C58","s":"_ZN5mongo15printStackTraceERSo"},{"b":"5582589000","o":"1437F08"},{"b":"5582589000","o":"14383E0"},{"b":"7FA58B0000","o":"510","s":"__kernel_rt_sigreturn"},{"b":"7FA53F6000","o":"31568","s":"gsignal"}],”processInfo”:{ “mongodbVersion” : “3.4.6″, “gitVersion” : “c55eb86ef46ee7aede3b1e2a5d184a7df4bfb5b5″, “compiledModules” : [], “uname” : { “sysname” : “Linux”, “release” : “4.4.13-20170224.kylin.5.server”, “version” : “#45 SMP Fri Apr 7 08:35:29 CST 2017″, “machine” : “aarch64″ }, “somap” : [ { "b" : "5582589000", "elfType" : 3, "buildId" : "ED1127CFC2443A78A5981E8A5C2C6544170EB6E6" }, { "b" : "7FA58B0000", "elfType" : 3, "buildId" : "A397DE4C854860E56ACCD7901426663D307C7A62" }, { "b" : "7FA5805000", "path" : "/lib/aarch64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "EFCA464F3C7D95E7566C9D22FBFFB16FCE7C466E" }, { "b" : "7FA5660000", "path" : "/lib/aarch64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "AD22106748449947E5603274E05B9BB4A7030392" }, { "b" : "7FA5649000", "path" : "/lib/aarch64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "2289935F58DD0091093FFC1A7E0E83A0552831F7" }, { "b" : "7FA5636000", "path" : "/lib/aarch64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "097EE136D507CBA16F604D54576CB919CF0DA81F" }, { "b" : "7FA558B000", "path" : "/lib/aarch64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "3DEB649373D56EC74CF345B57EA7362C97868EA1" }, { "b" : "7FA556A000", "path" : "/lib/aarch64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "64608ADEB2C58B14BE2F630772F04AF18AC603FB" }, { "b" : "7FA553E000", "path" : "/lib/aarch64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "3C54CA1BDB759B82B45E811AB48DD58BF01A80AB" }, { "b" : "7FA53F6000", "path" : "/lib/aarch64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "7737ED6DD60DA1A9B6D399559520C743DE8AE22E" }, { "b" : "7FA5885000", "path" : "/lib/ld-linux-aarch64.so.1", "elfType" : 3, "buildId" : "12967155D513D07F706BBDE449E26997CB65C091" } ] }}
mongod(_ZN5mongo15printStackTraceERSo+0×48) [0x55839c1c58]
mongod(+0x1437F08) [0x55839c0f08]
mongod(+0x14383E0) [0x55839c13e0]
(__kernel_rt_sigreturn+0×0) [0x7fa58b0510]
libc.so.6(gsignal+0×38) [0x7fa5427568]
—– END BACKTRACE —–

yxdxmu 在大约 之前添加了 Open 状态
  • 提问于
  • Answers0 个
  • 浏览 8 次
  • 最新活跃于

问题状态

  • Open

类别

1 个 参与者

mongoDB无法启动问题》有13个想法

  1. 谢答,但个人认为不准确,1.mr我觉得不适合实时计算,更贴合后期数据统计需求,2.aggregate必须支持自定义函数,就好像你定义个abc(1,2)一样肯定是计算了,现在的问题是abc(1,2)这个参数我想传个字段进去,比如abc($qty,2)这样….他就不好使了….难道大家没有在aggregate中用字段进行计算的经历么?

发表评论