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]#

  

storage engine option for directoryPerDB的更多相关文章

  1. 14.1.1 InnoDB as the Default MySQL Storage Engine

    14.1 Introduction to InnoDB 14.1.1 InnoDB as the Default MySQL Storage Engine 14.1.2 Checking InnoDB ...

  2. MySQL报错:Got error 28 from storage engine

    今天碰到数据库出错: Got error 28 from storage engine 查了一下,数据库文件所在的盘应该没事,应该是数据库用的临时目录空间不够 问题原因: 磁盘临时空间不够导致. 解决 ...

  3. MySQL - 问题集 - "Got error 28 from storage engine"

    数据库的临时目录空间不够,修改配置文件中的tmpdir,指向一个硬盘空间很大的目录即可. windows下,找到配置文件my.ini. [mysqld] tmpdir=D:/work/tool/mys ...

  4. Mysql: ERROR 1030 (HY000): Got error 28 from storage engine

    今天帮同事解决一个问题的时候,遇到了下面的异常: ERROR 1030 (HY000): Got error 28 from storage engine 我们的数据库是mysql,我们的sql语句是 ...

  5. MEMORY Storage Engine MEMORY Tables TEMPORARY TABLE max_heap_table_size

    http://dev.mysql.com/doc/refman/5.7/en/create-table.html You can use the TEMPORARY keyword when crea ...

  6. mysql 1030 Got error 28 from storage engine

    mysql 1030 Got error 28 from storage engine 错误原因:磁盘临时空间不够. 解决办法:df -h 查看设备存储的使用情况 du -h --max-depth= ...

  7. 在phpmyadmin中执行sql语句出现的错误:Unknown storage engine 'InnoDB'

    在phpmyadmin中执行sql语句出现的错误:Unknown storage engine 'InnoDB' 解决方法:解决方法:             1.关闭MySQL数据库       2 ...

  8. mysql出现Got error 28 from storage engine错误

    今天晚上碰到app数据库出错Got error 28 from storage engine 服务程序出现这样的错误 Sql.Data---Error writing file '/tmp/ML2ig ...

  9. 关于Mysql当中"Got error 134 from storage engine"的解决办法

    今天在开发程序的时候,有一个表, 当调用这个类别时总是调用不出来,很是恼火.后台打印sql语句为: SELECT * FROM `xx_article` WHERE `cid1` =6 LIMIT 0 ...

随机推荐

  1. RAC+单节点搭建DG

    primary RAC to single standby 参考文献:RAC+单实例DATAGUARD 配置   http://blog.csdn.net/miyatang/article/detai ...

  2. 利用ps,grep,kill联合杀掉相关进程

    #!/bin/sh . "./set-server-env.sh" 这里是输出ps -ef |grep java 结果的第二列的内容然后通过xargs传递给kill -9,其实第二 ...

  3. WebLoad XML-parser methods

    WebLOAD provides an embedded, third-party XML parser object to improve the multi-platform support fo ...

  4. hdu6071[最短路+解不等式] 2017多校4

    求出所有,从2走到x所需的花费在对 t = 2*min(d1,2, d2,3) 模运算下,  所有剩余系的最短路即可(把一个点拆成 t 个点, 每个点代表一种剩余系), 知道了所有剩余系就可以凑出答案 ...

  5. Java定时器Web(转)

    通过定时器进行任务的执行是比较常见的情况,下面的是个简单的示例: 主要借助于监听器和TimerTask和Timer类进行实现,另外spring提供了定时器的高级实现好像是quarts. package ...

  6. 蜥蜴 BZOJ 1066

    蜥蜴 [问题描述] 在一个r行c列的网格地图中有一些高度不同的石柱,一些石柱上站着一些蜥蜴,你的任务是让尽量多的蜥蜴逃到边界外. 每行每列中相邻石柱的距离为1,蜥蜴的跳跃距离是d,即蜥蜴可以跳到平面距 ...

  7. noj 2068 爱魔法的露露 [线性扫一遍]

    njczy2010 2068 Accepted 325MS   8052K 1450Byte G++ 2014-11-13 11:20:40.0 爱魔法的露露 时间限制(普通/Java) : 1200 ...

  8. msp430项目编程51

    msp430综合项目---扩展项目一51 1.电路工作原理 2.代码(显示部分) 3.代码(功能实现) 4.项目总结

  9. MySQL 中 key, primary key ,unique key,index的区别

    一.key与primary key区别 CREATE TABLE wh_logrecord ( logrecord_id int(11) NOT NULL auto_increment, user_n ...

  10. C++ 中new

    operator new在C++中的各种写法 (2011-09-21 14:59:33) 标签: 杂谈   乍一看,在C++中动态分配内存很简单:new是分配,delete是释放,就这么简单.然而,这 ...