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. Linux硬件配置信息

      在网上找了N久,发现了一篇不错的文档,转载一下: 1.查看机器所有硬件信息: dmidecode |more dmesg |more 这2个命令出来的信息都非常多,所以建议后面使用"|m ...

  2. OpenJ_Bailian——4115鸣人和佐助(带状态的A*)

    鸣人和佐助 Time Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Submit Status Desc ...

  3. [POJ1664] 放苹果 (动态规划,组合数学)

    题目描述 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分发(5,1,1和1,1,5是同一种方法) 输入输出格式 输入格式: 第一行是测试数据的数目t(0 <= ...

  4. P1140 相似基因 (动态规划)

    题目背景 大家都知道,基因可以看作一个碱基对序列.它包含了4种核苷酸,简记作A,C,G,T.生物学家正致力于寻找人类基因的功能,以利用于诊断疾病和发明药物. 在一个人类基因工作组的任务中,生物学家研究 ...

  5. Mysql 使用存储过程添加新字段

    -- 1, 注意SQL 语句开始处不要空格 -- 2, 在使用 [--] 进行注释时,后面请加空格 USE `test`; -- lastUpdateTime drop procedure if ex ...

  6. maven编码gbk的不可映射字符

    如图,老是出现这个错误,百度说是打开源文件,更改编码格式,或者是更改File Encodings 的编码格式,或者是更改java compiler --use computer为eclipse, 都不 ...

  7. 【westorm系列之二】配置格式化

    1.执行格式化后,给句尾加分号

  8. C51单片机头文件和启动文件

    STARTUP.A51//启动文件. 清理RAM.设置堆栈等.即执行完start.a51后跳转到.c文件的main函数 <reg51.h>  //特殊寄存器的字节地址和位地址,sfr定义字 ...

  9. argument to nsmutablearray method addobject cannot be nil 警告

    You cannot add nil to an NSMutableArray, and you will raise an exception if you try to. There's NSNu ...

  10. 一道题目- Find the smallest range that includes at least one number from each of the k lists

    You have k lists of sorted integers. Find the smallest range that includes at least one number from ...