[DOCS-1352] master\slave mode db.printSlaveReplicationInfo() error! Created: 07/Apr/13  Updated: 03/Nov/17  Resolved: 17/Apr/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Barrie Segal
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

db version v2.4.1
os:Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Location: http://docs.mongodb.org/ecosystem/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
Referrer: http://docs.mongodb.org/ecosystem/drivers/
Screen Resolution: 1366 x 768
repo: docs-ecosystem
source: index


Participants:
Days since reply: 10 years, 45 weeks, 4 days ago

 Description   

eg:
> db.printSlaveReplicationInfo();
source: xxx.xxx.xxx.xxx:xxxx
syncedTo: Sat Jan 17 1970 03:14:58 GMT+0800 (CST)
= 1363933386 secs ago (378870.38hrs)
the synced time is error

start info :

          • SERVER RESTARTED *****

Wed Apr 3 17:42:24.088 [initandlisten] MongoDB starting : pid=12291 port=xxxx dbpath=/xxxx/xxxxx/db slave=1 64-bit host=localhost.localdomain
Wed Apr 3 17:42:24.089 [initandlisten]
Wed Apr 3 17:42:24.089 [initandlisten] ** WARNING: You are running on a NUMA machine.
Wed Apr 3 17:42:24.089 [initandlisten] ** We suggest launching mongod like this to avoid performance problems:
Wed Apr 3 17:42:24.089 [initandlisten] ** numactl --interleave=all mongod [other options]
Wed Apr 3 17:42:24.089 [initandlisten]
Wed Apr 3 17:42:24.089 [initandlisten] db version v2.4.1
Wed Apr 3 17:42:24.089 [initandlisten] git version: 1560959e9ce11a693be8b4d0d160d633eee75110
Wed Apr 3 17:42:24.089 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49
Wed Apr 3 17:42:24.089 [initandlisten] allocator: tcmalloc
Wed Apr 3 17:42:24.089 [initandlisten] options:

{ auth: "true", bind_ip: "xxx.xxx.xxx.xxx,127.0.0.1", config: "/xxx/xxxx/xxxx.conf", dbpath: "/xxx/xxxx/xxxx/db", fork: "true", logappend: "true", logpath: "/xxx/xxxx/xxxx.log", maxConns: 1024, port: xxxx, slave: "true", source: "xxx.xxx.xxx.xxx:xxx" }

Wed Apr 3 17:42:24.092 [initandlisten] journal dir=/xxx/xxxx/xxxx/db/journal
Wed Apr 3 17:42:24.092 [initandlisten] recover : no journal files present, no recovery needed
Wed Apr 3 17:42:24.121 [websvr] admin web console waiting for connections on port xxxx

Reporter: dppass
E-mail: dppass@163.com


Generated at Thu Feb 08 07:40:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.