0

数据是直接从A服务器/data/db目录拷贝到B服务器/data/db。
现在启动成功,但是日志打印出些看不懂的信息出来,而且启动后查询不到进程和端口
[zywa@adsl-172-10-3-106 ~]$ /zywa/mongodb-3.4/bin/mongod –config=/zywa/mongodb-3.4/conf/mongo.conf
about to fork child process, waiting until server is ready for connections.
forked process: 15380
child process started successfully, parent exiting
[zywa@adsl-172-10-3-106 ~]$

2017-12-15T09:05:26.963+0000 I CONTROL [main] ***** SERVER RESTARTED *****
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] MongoDB starting : pid=15380 port=32001 dbpath=/zywa/mongodb-3.4/data/db 64-bit host=adsl-172-10-3-106.dsl.sndg02.sbcglobal.net
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] db version v3.4.9
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] allocator: tcmalloc
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] modules: none
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] build environment:
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] distmod: rhel70
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] distarch: x86_64
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] target_arch: x86_64
2017-12-15T09:05:26.972+0000 I CONTROL [initandlisten] options: { config: “/zywa/mongodb-3.4/conf/mongo.conf”, net: { port: 32001 }, processManagement: { fork: true, pidFilePath: “/zywa/mongodb-3.4/logs/mongo.pid” }, replication: { oplogSizeMB: 1024 }, storage: { dbPath: “/zywa/mongodb-3.4/data/db”, directoryPerDB: true }, systemLog: { destination: “file”, logAppend: true, path: “/zywa/mongodb-3.4/logs/mongo.log” } }
2017-12-15T09:05:27.007+0000 I STORAGE [initandlisten]
2017-12-15T09:05:27.029+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2017-12-15T09:05:27.029+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2017-12-15T09:05:27.029+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1404M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2017-12-15T09:05:27.175+0000 I CONTROL [initandlisten]
2017-12-15T09:05:27.175+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-12-15T09:05:27.175+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2017-12-15T09:05:27.175+0000 I CONTROL [initandlisten]
2017-12-15T09:05:27.249+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory ‘/zywa/mongodb-3.4/data/db/diagnostic.data’
2017-12-15T09:05:27.302+0000 I INDEX [initandlisten] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: “incompatible_with_version_32”, ns: “admin.system.version” }
2017-12-15T09:05:27.302+0000 I INDEX [initandlisten] building index using bulk method; build may temporarily use up to 500 megabytes of RAM
2017-12-15T09:05:27.303+0000 I INDEX [initandlisten] build index done. scanned 0 total records. 0 secs
2017-12-15T09:05:27.303+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.4
2017-12-15T09:05:27.304+0000 I NETWORK [thread1] waiting for connections on port 32001
2017-12-15T09:05:28.001+0000 F – [ftdc] Invalid access at address: 0x198
2017-12-15T09:05:28.016+0000 F – [ftdc] Got signal: 11 (Segmentation fault).

0x7f144d0735e1 0x7f144d0727f9 0x7f144d072e66 0x7f144a7d77e0 0x7f144a4696d2 0x7f144a465941 0x7f144a518f90 0x7f144d22734d 0x7f144d230728 0x7f144d232e6a 0x7f144d07ca97 0x7f144c60992a 0x7f144c60aa4f 0x7f144c6f2b52 0x7f144c6e73e4 0x7f144c6eaf5d 0x7f144dae9df0 0x7f144a7cfaa1 0x7f144a50628d
—– BEGIN BACKTRACE —–
{“backtrace”:[{“b”:”7F144BAFE000″,”o”:”15755E1″,”s”:”_ZN5mongo15printStackTraceERSo”},{“b”:”7F144BAFE000″,”o”:”15747F9″},{“b”:”7F144BAFE000″,”o”:”1574E66″},{“b”:”7F144A7C8000″,”o”:”F7E0″},{“b”:”7F144A421000″,”o”:”486D2″,”s”:”__printf_fp”},{“b”:”7F144A421000″,”o”:”44941″,”s”:”_IO_vfprintf”},{“b”:”7F144A421000″,”o”:”F7F90″,”s”:”__vsnprintf_chk”},{“b”:”7F144BAFE000″,”o”:”172934D”,”s”:”_ZN16TCMalloc_Printer6printfEPKcz”},{“b”:”7F144BAFE000″,”o”:”1732728″},{“b”:”7F144BAFE000″,”o”:”1734E6A”,”s”:”_ZN22TCMallocImplementation8GetStatsEPci”},{“b”:”7F144BAFE000″,”o”:”157EA97″},{“b”:”7F144BAFE000″,”o”:”B0B92A”,”s”:”_ZNK5mongo19ServerStatusSection13appendSectionEPNS_16OperationContextERKNS_11BSONElementEPNS_14BSONObjBuilderE”},{“b”:”7F144BAFE000″,”o”:”B0CA4F”,”s”:”_ZN5mongo15CmdServerStatus3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_7BSONObjEiRS8_RNS_14BSONObjBuilderE”},{“b”:”7F144BAFE000″,”o”:”BF4B52″},{“b”:”7F144BAFE000″,”o”:”BE93E4″,”s”:”_ZN5mongo23FTDCCollectorCollection7collectEPNS_6ClientE”},{“b”:”7F144BAFE000″,”o”:”BECF5D”,”s”:”_ZN5mongo14FTDCController6doLoopEv”},{“b”:”7F144BAFE000″,”o”:”1FEBDF0″},{“b”:”7F144A7C8000″,”o”:”7AA1″},{“b”:”7F144A421000″,”o”:”E528D”,”s”:”clone”}],”processInfo”:{ “mongodbVersion” : “3.4.9”, “gitVersion” : “876ebee8c7dd0e2d992f36a848ff4dc50ee6603e”, “compiledModules” : [], “uname” : { “sysname” : “Linux”, “release” : “2.6.32-220.el6.x86_64”, “version” : “#1 SMP Tue Dec 6 19:48:22 GMT 2011”, “machine” : “x86_64” }, “somap” : [ { “b” : “7F144BAFE000”, “elfType” : 3, “buildId” : “57169176E3855985910A9DE900C9CD70651CC807” }, { “b” : “7FFFE4EC5000”, “elfType” : 3, “buildId” : “71E48146FA2DCAC5D4D82A1EF860D535627AA1B9” }, { “b” : “7F144B670000”, “path” : “/usr/lib64/libssl.so.10”, “elfType” : 3, “buildId” : “BECFB85A8BC084042D5BF2BA9E66325CE798B659” }, { “b” : “7F144B28B000”, “path” : “/usr/lib64/libcrypto.so.10”, “elfType” : 3, “buildId” : “CBDA444A7109874C5350AE9CEEF3F82F749B347F” }, { “b” : “7ED6E4483000”, “path” : “/lib64/librt.so.1”, “elfType” : 3, “buildId” : “86FE5BC1F46B8F8AA9A7A479FF991900DB93F720” }, { “b” : “7ED6E4E7F000”, “path” : “/lib64/libdl.so.2”, “elfType” : 3, “buildId” : “045D39F19533291EBD72D0EE0247F9D49BE2521E” }, { “b” : “7ED6E43FB000”, “path” : “/lib64/libm.so.6”, “elfType” : 3, “buildId” : “B60EF3FCE5D4D2D8BAD2585D5CAAA1167B35DBFD” }, { “b” : “7ED855FE5000”, “path” : “/lib64/libgcc_s.so.1”, “elfType” : 3, “buildId” : “BC7550A8A7C2D706FE4E489058BADC963465DBB7” }, { “b” : “7ED6E43C8000”, “path” : “/lib64/libpthread.so.0”, “elfType” : 3, “buildId” : “B3BD4C596D72FCBE4607C86FEEC14F47B46D0DCC” }, { “b” : “7F144A421000”, “path” : “/lib64/libc.so.6”, “elfType” : 3, “buildId” : “C41A28C6940B3742E58E87AE4C01F676A0AF7F9B” }, { “b” : “7ED6E60DC000”, “path” : “/lib64/ld-linux-x86-64.so.2”, “elfType” : 3, “buildId” : “DB04BDF55FE66BADD1081D833C17B4881E0EEDB9” }, { “b” : “7ED6D65DF000”, “path” : “/lib64/libgssapi_krb5.so.2”, “elfType” : 3, “buildId” : “87F1C23045216178FEA1723D80392CE25253F5E3” }, { “b” : “7ED6D7F00000”, “path” : “/lib64/libkrb5.so.3”, “elfType” : 3, “buildId” : “AC50B0607A56BFDB0F28B2059ADBC6C14E661281” }, { “b” : “7ED6D88FC000”, “path” : “/lib64/libcom_err.so.2”, “elfType” : 3, “buildId” : “4623A78918C882770E81AE7B5EE9DDF8DD2B6674” }, { “b” : “7ED6D66D0000”, “path” : “/lib64/libk5crypto.so.3”, “elfType” : 3, “buildId” : “355D765A262E1D19A84D4B2707B8800BDE875AED” }, { “b” : “7ED6E24BA000”, “path” : “/lib64/libz.so.1”, “elfType” : 3, “buildId” : “5FA8E5038EC04A774AF72A9BB62DC86E1049C4D6” }, { “b” : “7ED6D6EAF000”, “path” : “/lib64/libkrb5support.so.0”, “elfType” : 3, “buildId” : “DFD32F0808469788E66BF4C97FA12E8EEFEE70F9” }, { “b” : “7ED6D70AC000”, “path” : “/lib64/libkeyutils.so.1”, “elfType” : 3, “buildId” : “8A8734DC37305D8CC2EF8F8C3E5EA03171DB07EC” }, { “b” : “7ED6E1692000”, “path” : “/lib64/libresolv.so.2”, “elfType” : 3, “buildId” : “DDF6449707FD4C49DDE32A293EEE9AC218BFC460” }, { “b” : “7ED6E1873000”, “path” : “/lib64/libselinux.so.1”, “elfType” : 3, “buildId” : “C6D22E92109645646945630DE92507C2BB264E8F” } ] }}
mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x7f144d0735e1]
mongod(+0x15747F9) [0x7f144d0727f9]
mongod(+0x1574E66) [0x7f144d072e66]
libpthread.so.0(+0xF7E0) [0x7f144a7d77e0]
libc.so.6(__printf_fp+0xB22) [0x7f144a4696d2]
libc.so.6(_IO_vfprintf+0x2931) [0x7f144a465941]
libc.so.6(__vsnprintf_chk+0xB0) [0x7f144a518f90]
mongod(_ZN16TCMalloc_Printer6printfEPKcz+0xBD) [0x7f144d22734d]
mongod(+0x1732728) [0x7f144d230728]
mongod(_ZN22TCMallocImplementation8GetStatsEPci+0x5A) [0x7f144d232e6a]
mongod(+0x157EA97) [0x7f144d07ca97]
mongod(_ZNK5mongo19ServerStatusSection13appendSectionEPNS_16OperationContextERKNS_11BSONElementEPNS_14BSONObjBuilderE+0x3A) [0x7f144c60992a]
mongod(_ZN5mongo15CmdServerStatus3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_7BSONObjEiRS8_RNS_14BSONObjBuilderE+0xF2F) [0x7f144c60aa4f]
mongod(+0xBF4B52) [0x7f144c6f2b52]
mongod(_ZN5mongo23FTDCCollectorCollection7collectEPNS_6ClientE+0x3E4) [0x7f144c6e73e4]
mongod(_ZN5mongo14FTDCController6doLoopEv+0x27D) [0x7f144c6eaf5d]
mongod(+0x1FEBDF0) [0x7f144dae9df0]
libpthread.so.0(+0x7AA1) [0x7f144a7cfaa1]
libc.so.6(clone+0x6D) [0x7f144a50628d]
—– END BACKTRACE —–

mongodb配置信息如下
storage:
dbPath: /zywa/mongodb-3.4/data/db
directoryPerDB: true
engine: wiredTiger
journal:
enabled: true
commitIntervalMs: 100
wiredTiger:
engineConfig:
directoryForIndexes: true

systemLog:
destination: file
logAppend: true
logRotate: rename
path: /zywa/mongodb-3.4/logs/mongo.log
quiet: false

processManagement:
fork: true
pidFilePath: /zywa/mongodb-3.4/logs/mongo.pid

net:
bindIp: “172.10.3.106”
http:
enabled: false
maxIncomingConnections: 200
port: 27017
wireObjectCheck: true

operationProfiling:
slowOpThresholdMs: 100
mode: off