freebsd 11 java,这个错误对freebsd 11.2的mongod 4.0.4意味着什么

好吧,所以我在Freebsd 11.2上编译了mongodb 4.0.4,但我不能用它来拯救我的生命 . 经过10个小时尝试了一百万件事......我想我让其他人看看它 .

这就是我启动服务器的方式(mongod)

su -m mongodb -c "mongod --replSet reps0 --configsvr --bind_ip localhost,192.168.2.31 --enableMajorityReadConcern=false --smallfiles"

这是我得到的输出....

2018-12-09T21:06:13.729-0500 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'

2018-12-09T21:06:13.730-0500 W CONTROL [main] Config servers require majority read concern, but it was explicitly disabled. The override is being ignored and the process is continuing with majority read concern enabled.

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] MongoDB starting : pid=4242 port=27019 dbpath=/data/configdb 64-bit host=configsvr2

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] db version v4.0.4

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] git version: f288a3bdf201007f3693c58e140056adf8b04839

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2p 14 Aug 2018

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] allocator: system

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] modules: none

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] build environment:

2018-12-09T21:06:13.755-0500 I CONTROL [initandlisten] distarch: x86_64

2018-12-09T21:06:13.756-0500 I CONTROL [initandlisten] target_arch: x86_64

2018-12-09T21:06:13.756-0500 I CONTROL [initandlisten] options: { net: { bindIp: "localhost,192.168.2.31" }, replication: { enableMajorityReadConcern: false, replSet: "reps0" }, sharding: { clusterRole: "configsvr" }, storage: { mmapv1: { smallFiles: true } } }

2018-12-09T21:06:13.757-0500 W STORAGE [initandlisten] Detected unclean shutdown - /data/configdb/mongod.lock is not empty.

2018-12-09T21:06:13.757-0500 I STORAGE [initandlisten] Detected data files in /data/configdb created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.

2018-12-09T21:06:13.757-0500 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.

2018-12-09T21:06:13.757-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=256M,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),statistics_log=(wait=0),verbose=(recovery_progress),

2018-12-09T21:06:18.939-0500 I STORAGE [initandlisten] WiredTiger message [1544407578:939771][4242:0x809016000], txn-recover: Main recovery loop: starting at 5/256 to 6/256

2018-12-09T21:06:18.940-0500 I STORAGE [initandlisten] WiredTiger message [1544407578:940393][4242:0x809016000], txn-recover: Recovering log 5 through 6

2018-12-09T21:06:19.125-0500 I STORAGE [initandlisten] WiredTiger message [1544407579:125931][4242:0x809016000], txn-recover: Recovering log 6 through 6

2018-12-09T21:06:19.293-0500 I STORAGE [initandlisten] WiredTiger message [1544407579:293083][4242:0x809016000], txn-recover: Set global recovery timestamp: 0

2018-12-09T21:06:19.938-0500 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)

2018-12-09T21:06:19.952-0500 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger

2018-12-09T21:06:19.952-0500 I CONTROL [initandlisten]

2018-12-09T21:06:19.953-0500 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.

2018-12-09T21:06:19.953-0500 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.

2018-12-09T21:06:19.953-0500 I CONTROL [initandlisten]

2018-12-09T21:06:19.953-0500 I CONTROL [initandlisten]

2018-12-09T21:06:19.953-0500 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 5734 processes, 28224 files. Number of processes should be at least 14112 : 0.5 times number of files.

2018-12-09T21:06:19.960-0500 I STORAGE [initandlisten] Dropping unknown ident: collection-0-7220625976210894592

2018-12-09T21:06:19.963-0500 I STORAGE [initandlisten] Dropping unknown ident: index-1-7220625976210894592

2018-12-09T21:06:19.966-0500 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: 6bd04d82-c362-44bc-8158-61b41a1d4d65

2018-12-09T21:06:19.995-0500 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/configdb/diagnostic.data'

2018-12-09T21:06:19.997-0500 F - [free_mon] terminate() called. An exception is active; attempting to gather more information

2018-12-09T21:06:19.997-0500 I SHARDING [thread1] creating distributed lock ping thread for process ConfigServer (sleeping for 30000ms)

2018-12-09T21:06:19.997-0500 I STORAGE [initandlisten] createCollection: local.replset.oplogTruncateAfterPoint with generated UUID: 981703fb-72a5-484e-8075-344a2eac0ee8

2018-12-09T21:06:20.000-0500 F - [free_mon] DBException::toString(): NotYetInitialized: no replset config has been received

Actual exception type: mongo::error_details::ExceptionForImpl

0x343446b 0x3433ddf 0x80558eeb8 0x80558ef21 0x80558f163 0x1951238 0x1959073 0x19df4d4

----- BEGIN BACKTRACE -----

{"backtrace":[{"b":"1021000","o":"241346B","s":"_ZN5mongo15printStackTraceERSo"},{"b":"1021000","o":"2412DDF","s":"_ZN5mongo29reportOutOfMemoryErrorAndExitEv"},{"b":"805500000","o":"8EEB8","s":"_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE"},{"b":"805500000","o":"8EF21","s":"_ZSt9terminatev"},{"b":"805500000","o":"8F163","s":"__cxa_throw"},{"b":"1021000","o":"930238","s":"_ZN5mongo13error_details23throwExceptionForStatusERKNS_6StatusE"},{"b":"1021000","o":"938073","s":"_ZN5mongo21uassertedWithLocationERKNS_6StatusEPKcj"},{"b":"1021000","o":"9BE4D4","s":"_ZN5mongo4repl19CmdReplSetGetConfig3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE"}],"processInfo":{ "mongodbVersion" : "4.0.4", "gitVersion" : "f288a3bdf201007f3693c58e140056adf8b04839", "compiledModules" : [], "uname" : { "sysname" : "FreeBSD", "release" : "11.2-RELEASE", "version" : "FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC", "machine" : "amd64" } }}

mongod(_ZN5mongo15printStackTraceERSo+0x3B) [0x343446b]

mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x60F) [0x3433ddf]

libstdc++.so.6(_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE+0x78) [0x80558eeb8]

libstdc++.so.6(_ZSt9terminatev+0x11) [0x80558ef21]

libstdc++.so.6(__cxa_throw+0x43) [0x80558f163]

mongod(_ZN5mongo13error_details23throwExceptionForStatusERKNS_6StatusE+0x2748) [0x1951238]

mongod(_ZN5mongo21uassertedWithLocationERKNS_6StatusEPKcj+0x191) [0x1959073]

mongod(_ZN5mongo4repl19CmdReplSetGetConfig3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0xA4) [0x19df4d4]

----- END BACKTRACE -----

Abort

这是我关心的路线......

2018-12-09T21:06:20.000-0500 F - [free_mon] DBException::toString(): NotYetInitialized: no replset config has been received

我试图设置一个三个成员configsvr副本集....所以当然,如果我现在只启动它们,它们将不会被初始化 . 我尝试了一堆东西,没有任何效果......

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值