用户您好,请详细描述您所遇到的问题:
- 系统软件版本:x3pi_ubuntu_v1.0.2
- 问题涉及的技术领域: 操作系统
- 问题描述:重启旭日x3派以后,MongoDB服务异常停止运行(code=exited, status=100),检查log发现posix_fadvise: Function not implemented
2022-08-02T15:04:27.753+0800 I CONTROL [main] ***** SERVER RESTARTED *****
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] MongoDB starting : pid=12481 port=27017 dbpath=/var/lib/mongodb 64-bit host=ubuntu
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] db version v3.6.8
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] git version: 8e540c0b6db93ce994cc548f000900bdc740f80a
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] allocator: tcmalloc
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] modules: none
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] build environment:
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] distarch: aarch64
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] target_arch: aarch64
2022-08-02T15:04:27.770+0800 I CONTROL [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1", unixDomainSocket: { pathPrefix: "/run/mongodb" } }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongodb.log" } }
2022-08-02T15:04:27.771+0800 I - [initandlisten] Detected data files in /var/lib/mongodb created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2022-08-02T15:04:27.771+0800 I STORAGE [initandlisten]
2022-08-02T15:04:27.771+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2022-08-02T15:04:27.771+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2022-08-02T15:04:27.771+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1455M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2022-08-02T15:04:27.792+0800 E STORAGE [initandlisten] WiredTiger error (38) [1659423867:792916][12481:0x7fa6854040], file:WiredTiger.wt, connection: /var/lib/mongodb/WiredTiger.wt: handle-advise: posix_fadvise: Function not implemented
2022-08-02T15:04:27.793+0800 E STORAGE [initandlisten] WiredTiger error (0) [1659423867:793122][12481:0x7fa6854040], connection: cache server: exiting with 1 pages in memory and 0 pages evicted
2022-08-02T15:04:27.793+0800 E STORAGE [initandlisten] WiredTiger error (0) [1659423867:793169][12481:0x7fa6854040], connection: cache server: exiting with 97 image bytes in memory
2022-08-02T15:04:27.793+0800 E STORAGE [initandlisten] WiredTiger error (0) [1659423867:793210][12481:0x7fa6854040], connection: cache server: exiting with 385 bytes in memory
2022-08-02T15:04:27.803+0800 E - [initandlisten] Assertion: 28595:38: Function not implemented src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 421
2022-08-02T15:04:27.804+0800 I STORAGE [initandlisten] exception in initAndListen: Location28595: 38: Function not implemented, terminating
2022-08-02T15:04:27.804+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets...
2022-08-02T15:04:27.804+0800 I NETWORK [initandlisten] removing socket file: /run/mongodb/mongodb-27017.sock
2022-08-02T15:04:27.804+0800 I CONTROL [initandlisten] now exiting
2022-08-02T15:04:27.804+0800 I CONTROL [initandlisten] shutting down with code:100