Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. # mongod.conf
  2.  
  3. # for documentation of all options, see:
  4. # http://docs.mongodb.org/manual/reference/configuration-options/
  5.  
  6. # Where and how to store data.
  7. storage:
  8. dbPath: /home/manager/mongo/data
  9.  
  10. # engine:
  11. # mmapv1:
  12. # smallFiles: true
  13.  
  14. # where to write logging data.
  15. systemLog:
  16. destination: file
  17. logAppend: true
  18. path: /home/manager/mongo/log/mongod.log
  19.  
  20. # network interfaces
  21. net:
  22. port: 27031
  23. bindIp: 127.0.0.1
  24.  
  25. processManagement:
  26. fork: true
  27.  
  28. setParameter:
  29. enableLocalhostAuthBypass: false
  30.  
  31. security:
  32. keyFile: /home/manager/mongo/mongodb-keyfile
  33.  
  34. #operationProfiling:
  35.  
  36. #replication:
  37. # replSetName: rs1
  38.  
  39. #sharding:
  40.  
  41. ## Enterprise-Only Options:
  42.  
  43. #auditLog:
  44.  
  45. #snmp:
  46.  
  47. [Unit]
  48. Description=High-performance, schema-free document-oriented database
  49. After=network.target
  50.  
  51. [Service]
  52. User=manager
  53. ExecStart=/usr/bin/mongod --quiet --config /home/manager/mongo/mongod.conf
  54.  
  55. [Install]
  56. WantedBy=multi-user.target
  57.  
  58. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] MongoDB starting : pid=807 port=27031 dbpath=/home/manager/mongo/data 64-bit host=mongo-rep-01
  59. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] db version v3.2.6
  60. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] git version: 05552b562c7a0b3143a729aaa0838e558dc49b25
  61. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g-fips 1 Mar 2016
  62. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] allocator: tcmalloc
  63. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] modules: none
  64. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] build environment:
  65. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] distmod: ubuntu1404
  66. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] distarch: x86_64
  67. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] target_arch: x86_64
  68. 2016-06-03T10:39:30.657+0000 I CONTROL [initandlisten] options: { config: "/home/manager/mongo/mongod.conf", net: { bindIp: "127.0.0.1", port: 27031 }, processManagement: { fork: true }, security: { keyFile: "/home/manager/mongo/mongodb-keyfile" }, setParameter: { e$
  69. 2016-06-03T10:39:30.688+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=18G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idl$
  70. 2016-06-03T10:39:31.174+0000 I CONTROL [initandlisten]
  71. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
  72. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
  73. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten]
  74. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
  75. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
  76. 2016-06-03T10:39:31.175+0000 I CONTROL [initandlisten]
  77. 2016-06-03T10:39:31.177+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/home/manager/mongo/data/diagnostic.data'
  78. 2016-06-03T10:39:31.177+0000 I NETWORK [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
  79. 2016-06-03T10:39:31.178+0000 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
  80. 2016-06-03T10:39:31.178+0000 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
  81. 2016-06-03T10:39:31.185+0000 I NETWORK [initandlisten] waiting for connections on port 27031
  82. 2016-06-03T10:39:31.185+0000 I CONTROL [signalProcessingThread] now exiting
  83. 2016-06-03T10:39:31.185+0000 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets...
  84. 2016-06-03T10:39:31.185+0000 I NETWORK [signalProcessingThread] closing listening socket: 6
  85. 2016-06-03T10:39:31.185+0000 I NETWORK [signalProcessingThread] closing listening socket: 7
  86. 2016-06-03T10:39:31.186+0000 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-27031.sock
  87. 2016-06-03T10:39:31.186+0000 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog...
  88. 2016-06-03T10:39:31.186+0000 I NETWORK [signalProcessingThread] shutdown: going to close sockets...
  89. 2016-06-03T10:39:31.186+0000 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
  90. 2016-06-03T10:39:32.336+0000 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
  91. 2016-06-03T10:39:32.336+0000 I CONTROL [signalProcessingThread] dbexit: rc: 0
  92.  
  93. root@mongo-rep-01:/home/manager/mongo# sudo systemctl status mongodb
  94. ● mongodb.service - High-performance, schema-free document-oriented database
  95. Loaded: loaded (/etc/systemd/system/mongodb.service; disabled; vendor preset: enabled)
  96. Active: inactive (dead)
  97.  
  98. Jun 03 10:17:17 mongo-rep-01 systemd[1]: Started High-performance, schema-free document-oriented database.
  99. Jun 03 10:17:17 mongo-rep-01 mongod[643]: 2016-06-03T10:17:17.858+0000 W CONTROL [main] Option: storage.smallFiles is deprecated. Please use storage.mmapv1.smallFiles instead.
  100. Jun 03 10:17:17 mongo-rep-01 mongod[643]: about to fork child process, waiting until server is ready for connections.
  101. Jun 03 10:17:17 mongo-rep-01 mongod[643]: forked process: 645
  102. Jun 03 10:18:26 mongo-rep-01 systemd[1]: Started High-performance, schema-free document-oriented database.
  103. Jun 03 10:18:26 mongo-rep-01 mongod[672]: about to fork child process, waiting until server is ready for connections.
  104. Jun 03 10:18:26 mongo-rep-01 mongod[672]: forked process: 674
  105. Jun 03 10:39:30 mongo-rep-01 systemd[1]: Started High-performance, schema-free document-oriented database.
  106. Jun 03 10:39:30 mongo-rep-01 mongod[805]: about to fork child process, waiting until server is ready for connections.
  107. Jun 03 10:39:30 mongo-rep-01 mongod[805]: forked process: 807
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement