Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1352

master\slave mode db.printSlaveReplicationInfo() error!

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 6 weeks, 2 days ago