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. ios弹性头部

    很久没写博客了,金天有点时间来写下,一直觉得弹性头部很炫,看起来高大上,写起来蛮简单的 层次分析 一共有3层,最底部是图像层,中间是scrollView或者它的子类,最上层是scrollView上面添 ...

  2. TeraTerm设定(窗体大小,字体字号)保存为默认值

    Tera Term是一款很好的SSH工具,大家经常遇到一个头疼的问题,每次打开的时候,都要自己重新设置一遍Font. 介绍一下把自己喜欢的字体,设置好后,保存到默认配置中的方法. 设置窗体大小: 设置 ...

  3. xml和数组互转

    /** * 输出xml字符 * @param $params 参数名称 * return string 返回组装的xml **/ public function data_to_xml( $param ...

  4. Count Numbers

    Count Numbers 时间限制: 8 Sec  内存限制: 128 MB 题目描述 Now Alice wants to sum up all integers whose digit sum ...

  5. UVa10234 Race

    递推,设有i个人排在第一名,剩下的人排在后面,方案有f[i]种,则f[i]=sum(c[n][i]*f[n-i]) 1<=i<=n /*by SilverN*/ #include<a ...

  6. *Codeforces989D. A Shade of Moonlight

    数轴上$n \leq 100000$个不重叠的云,给坐标,长度都是$l$,有些云速度1,有些云速度-1,风速记为$w$,问在风速不大于$w_{max}$时,有几对云可能在0相遇.每一对云单独考虑. 多 ...

  7. gridview无数据源实现更新数据库(即断开更新数据库)

    原文发布时间为:2008-08-01 -- 来源于本人的百度文章 [由搬家工具导入] using System;using System.Data;using System.Configuration ...

  8. 关于内存 转载自http://blog.csdn.net/xluren/article/details/8150723

    首先感谢下原作者,写的真的非常明白,非常详细 1.预备知识—程序的内存分配 一个由C/C++编译的程序占用的内存分为以下几个部分 1.栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局 ...

  9. [OS X实用技巧]机器人应用:一键将图片转换为PNG/JPEG/TIFF

    转自:http://www.maczhi.com/archives/2842.html 按教程老出错....试验了后使用: - 取得指定Finder对象,其它不变,但运行后不会出错. OS X实用技巧 ...

  10. Laravel 控制器的response

    public function response(){ //响应json $data = [ 'errCode' => 0, 'errMsg' => 'success', 'data' = ...