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. 自定义Title

    xml: <jp.co.view.TitleLayout android:id="@+id/titleLayout" android:layout_width="m ...

  2. BZOJ4199 [Noi2015]品酒大会 【后缀数组 + 单调栈 + ST表】

    题目 一年一度的"幻影阁夏日品酒大会"隆重开幕了.大会包含品尝和趣味挑战两个环节,分别向优胜者颁发"首席品 酒家"和"首席猎手"两个奖项,吸 ...

  3. 【2018.10.10】[HNOI2008] GT考试(bzoj1009)

    10pts: 暴力枚举字符串,Hash判是否出现.(真会有人写么) 时间复杂度$O(10^n*n)$. 40pts: 学过OI的人都会写的dp 如果这道题的40pts($n\le 250000$)设成 ...

  4. 【bzoj2733】[HNOI2012]永无乡 线段树合并

    Description 永无乡包含 n 座岛,编号从 1 到 n,每座岛都有自己的独一无二的重要度,按照重要度可 以将这 n 座岛排名,名次用 1 到 n 来表示.某些岛之间由巨大的桥连接,通过桥可以 ...

  5. HDU [P3949] XOR

    线性基求第 k 小异或值 http://www.cnblogs.com/Mr-WolframsMgcBox/p/8567844.html 这道题消元下来是一个上三角矩阵,代码简单,但是不使用与本题的情 ...

  6. POJ 2762 Going from u to v or from v to u? Tarjan算法 学习例题

    Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 17104   Accepted: 4594 Description In o ...

  7. DP的序--Codeforces956E. Wardrobe

    $n \leq 10000$个盒子,有高度,高度总和$\leq 10000$,盒子有重要的和不重要的,问最多有多少重要盒子的底端在区间$[L,R]$. 这是个入门级的DP,但需要一点胆量MD这题能放D ...

  8. C++ 使用成员初始化列表的一个小坑

    注意在成员列表中初始化的顺序并不是列表顺序 而是: 在类中声明的顺序! EventLoop::EventLoop() :looping(false), quit(false),_tid(curThre ...

  9. 大话Spark(3)-一图深入理解WordCount程序在Spark中的执行过程

    本文以WordCount为例, 画图说明spark程序的执行过程 WordCount就是统计一段数据中每个单词出现的次数, 例如hello spark hello you 这段文本中hello出现2次 ...

  10. Executors

    提供了工厂方法: Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, Thread ...