storage engine option for directoryPerDB

Requested option conflicts with current storage engine option for directoryPerDB; you requested true but the current server storage is already set to false and cannot be changed, terminating.

 

 

https://docs.mongodb.com/manual/reference/configuration-options/index.html

 

2017-11-23T19:25:05.708+0800 I ACCESS   [conn9] SCRAM-SHA-1 authentication failed for products_admin on products from client 192.168.2.96:56158 ; UserNotFound: Could not find user products_admin@products
2017-11-23T19:25:05.710+0800 I -        [conn9] end connection 192.168.2.96:56158 (2 connections now open)
2017-11-23T19:25:11.127+0800 I COMMAND  [conn3] terminating, shutdown command received
2017-11-23T19:25:11.127+0800 I NETWORK  [conn3] shutdown: going to close listening sockets...
2017-11-23T19:25:11.127+0800 I NETWORK  [conn3] closing listening socket: 7
2017-11-23T19:25:11.127+0800 I NETWORK  [conn3] closing listening socket: 8
2017-11-23T19:25:11.127+0800 I NETWORK  [conn3] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:25:11.127+0800 I NETWORK  [conn3] shutdown: going to flush diaglog...
2017-11-23T19:25:11.127+0800 I FTDC     [conn3] Shutting down full-time diagnostic data capture
2017-11-23T19:25:11.131+0800 I STORAGE  [conn3] WiredTigerKVEngine shutting down
2017-11-23T19:25:11.180+0800 I STORAGE  [conn3] shutdown: removing fs lock...
2017-11-23T19:25:11.180+0800 I CONTROL  [conn3] now exiting
2017-11-23T19:25:11.180+0800 I CONTROL  [conn3] shutting down with code:0
2017-11-23T19:28:11.667+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29304 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:28:11.691+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "hadoop1,hadoop2", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:28:11.719+0800 E NETWORK  [initandlisten] listen(): bind() failed Cannot assign requested address for socket: 192.168.2.212:27017
2017-11-23T19:28:11.719+0800 E NETWORK  [initandlisten] Failed to set up sockets during startup.
2017-11-23T19:28:11.719+0800 E STORAGE  [initandlisten] Failed to set up listener: InternalError: Failed to set up sockets
2017-11-23T19:28:11.719+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:28:11.719+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:28:11.719+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:28:11.719+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:28:11.719+0800 I CONTROL  [initandlisten] shutting down with code:48
2017-11-23T19:29:40.803+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29386 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:29:40.833+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "localhost", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:29:40.866+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:29:40.866+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 cannot be changed, terminating
2017-11-23T19:29:40.866+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:29:40.866+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:29:40.866+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:29:40.866+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:29:40.866+0800 I CONTROL  [initandlisten] shutting down with code:100
2017-11-23T19:30:26.618+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29432 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:30:26.643+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:30:26.644+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "0.0.0.0", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:30:26.673+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:30:26.673+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 cannot be changed, terminating
2017-11-23T19:30:26.673+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:30:26.673+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:30:26.673+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:30:26.673+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:30:26.673+0800 I CONTROL  [initandlisten] shutting down with code:100
2017-11-23T19:31:42.064+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29503 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:31:42.081+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "127.0.0.1", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:31:42.104+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:31:42.104+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 cannot be changed, terminating
2017-11-23T19:31:42.104+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:31:42.104+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:31:42.104+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:31:42.104+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:31:42.104+0800 I CONTROL  [initandlisten] shutting down with code:100
2017-11-23T19:35:25.135+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29705 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:35:25.160+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "hadoop1", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:35:25.178+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:35:25.178+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 cannot be changed, terminating
2017-11-23T19:35:25.178+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:35:25.178+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:35:25.178+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:35:25.178+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:35:25.178+0800 I CONTROL  [initandlisten] shutting down with code:100
2017-11-23T19:37:21.433+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29811 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:37:21.467+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "192.168.2.51", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:37:21.502+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:37:21.502+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 cannot be changed, terminating
2017-11-23T19:37:21.502+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:37:21.502+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:37:21.502+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:37:21.502+0800 I CONTROL  [initandlisten] shutting down with code:100
2017-11-23T19:38:36.832+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] MongoDB starting : pid=29882 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop1
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T19:38:36.862+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T19:38:36.863+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T19:38:36.884+0800 I -        [initandlisten] Detected data files in /mnt/mongodb_data/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2017-11-23T19:38:36.884+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 cannot be changed, terminating
2017-11-23T19:38:36.884+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T19:38:36.884+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2017-11-23T19:38:36.884+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T19:38:36.884+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T19:38:36.884+0800 I CONTROL  [initandlisten] shutting down with code:100
[root@hadoop1 log]# 

  

 

posted @ 2017-11-23 11:48  papering  阅读(602)  评论(0编辑  收藏  举报