Home > database >  Directing a startup error
Directing a startup error

Time:11-16

Configure the server log display an error message
. Abandoning this batch of oplog entries and re - evaluating our sync source.
The 2019-05-29 T22: harmer. 261 + 0800 I REPL [signalProcessingThread] Stopping replication snapshot thread
The 2019-05-29 T22: harmer. 264 + 0800 I REPL [signalProcessingThread] Stopping replication storage threads
The 2019-05-29 T22: harmer. 268 + 0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry: : under caused by: : CallbackCanceled: Callback canceled
The 2019-05-29 T22: harmer. 269 + 0800 I FTDC [signalProcessingThread] Shutting down full - time diagnostic data capture
The 2019-05-29 T22: harmer. 283 + 0800 I STORAGE/signalProcessingThread WiredTigerKVEngine shutting down
The 2019-05-29 T22: harmer. 412 + 0800 I STORAGE [signalProcessingThread] shutdown: o fs lock...
The 2019-05-29 T22: harmer. 412 + 0800 I CONTROL [signalProcessingThread] now exiting
The 2019-05-29 T22: harmer. 412 + 0800 I CONTROL [signalProcessingThread] shutting down with code: 0
The 2019-05-29 T23:01:17. 440 + 0800 I CONTROL [main] * * * * * SERVER RESTARTED * * * * *
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] mongo starting: pid=6948 port=20000 dbpath=/software/mongo/config/data 64 - bit host=dzswj_mongodb_db1
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] db version v3.4.4
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] git version: 888390515874 a9debd1b6c5d36559ca86b44babd
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1 e - fips 11 Feb 2013
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] allocator: tcmalloc
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] modules: none
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] build environment:
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] distmod: rhel62
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] distarch: x86_64
The 2019-05-29 T23:01:17. 516 + 0800 I CONTROL [initandlisten] target_arch: x86_64
2019-05-29T23:01:17.516+0800 I CONTROL [initandlisten] options: { config: "/software/mongodb/conf/config.conf", net: { bindIp: "0.0.0.0", maxIncomingConnections: 20000, port: 20000 }, operationProfiling: { slowOpThresholdMs: 500 }, processManagement: { fork: true, pidFilePath: "/software/mongodb/config/log/configsrv.pid" }, replication: { replSet: "configs" }, security: { authorization: "enabled", clusterAuthMode: "keyFile", keyFile: "/software/mongodb/key/mongdb-keyfile" }, sharding: { clusterRole: "configsvr" }, storage: { dbPath: "/software/mongodb/config/data", directoryPerDB: true, engine: "wiredTiger" }, systemLog: { destination: "file", logAppend: true, path: "/software/mongodb/config/log/configsrv.log" } }
The T23:2019-05-29 01:17. 520 + 0800 I STORAGE/initandlisten exception in initandlisten: 72 Requested option conflicts with current STORAGE engine option for directoryPerDB; You requested true but the current server storage is already set to false and always be changed, terminating
The 2019-05-29 T23:01:17. 520 + 0800 I NETWORK [initandlisten] shutdown: going to close listening sockets...
The 2019-05-29 T23:01:17. 520 + 0800 I NETWORK [initandlisten] o socket file:/TMP/mongo - 20000. The sock
The 2019-05-29 T23:01:17. 520 + 0800 I NETWORK [initandlisten] shutdown: going to flush diaglog...
The 2019-05-29 T23:01:17. 520 + 0800 I CONTROL [initandlisten] now exiting
The 2019-05-29 T23:01:17. 520 + 0800 I CONTROL [initandlisten] shutting down with code: 100



Finally start has showed the wrong
The T10:2019-05-30 throne. 550 + 0800 F CONTROL [main] Failed global initialization: BadValue: shardsvr is not allowed when configsvr is specified

CodePudding user response:

Cluster pattern is copy + shard
And the Lord of the server for 14 15 server is arbitration
14 and 15 service start normal
13 server startup configuration server error:
Failed global initialization: BadValue: shardsvr is not allowed when configsvr is specified
  • Related