MongoDB:副本集出现大量authenticate db日志
 Sun Jan 11 00:15:06.082 [conn34]  authenticate db: local { authenticate: 1, nonce: "b0d836d66e2ae743", user: "__system", key: "8c947498e52c2d06dedbef54493b2d59" }
Sun Jan 11 00:15:08.987 [conn35]  authenticate db: local { authenticate: 1, nonce: "1a46748b7d4563c7", user: "__system", key: "909e80722ca76eef9d6caabcf7c93d00" }
Sun Jan 11 00:15:36.102 [conn36]  authenticate db: local { authenticate: 1, nonce: "da457a6a7e0d1399", user: "__system", key: "fcff2c9874017eb110740a5a8c14e3c3" }
Sun Jan 11 00:15:39.043 [conn37]  authenticate db: local { authenticate: 1, nonce: "2746c257ee12fa5c", user: "__system", key: "9c41cde4dbe2029d85e61de4580603c4" }
Sun Jan 11 00:16:06.121 [conn38]  authenticate db: local { authenticate: 1, nonce: "58996c1df071e524", user: "__system", key: "786132d98d66e048bb021240c4e2f2da" }
Sun Jan 11 00:16:09.058 [conn39]  authenticate db: local { authenticate: 1, nonce: "92fc80c3067677b", user: "__system", key: "5fd6583a550d01936f46864ea13bac25" }
Sun Jan 11 00:16:27.844 [conn40]  authenticate db: admin { authenticate: 1, nonce: "143bfc1c9035d970", user: "root", key: "01dee4770f34eebbdaeb143c8f41ae52" }
Sun Jan 11 00:16:36.141 [conn41]  authenticate db: local { authenticate: 1, nonce: "2fd8cba634546715", user: "__system", key: "8f83622ef958b142e706b898d4377ad3" }
Sun Jan 11 00:16:39.079 [conn42]  authenticate db: local { authenticate: 1, nonce: "d386b22b47445c72", user: "__system", key: "45ae4ede9d43d46f024de042150a17ef" }

Sun Jan 11 00:17:06.159 [conn43]  authenticate db: local { authenticate: 1, nonce: "caa54a47012c4158", user: "__system", key: "ed2dcb4b6de4ddaf29521fed4dee26b1" }
Sun Jan 11 00:17:09.094 [conn44]  authenticate db: local { authenticate: 1, nonce: "7243e90dda5122f5", user: "__system", key: "1c9b89243d7e50586571c7727b80a27b" }

clone:PRIMARY> use admin
switched to db admin
clone:PRIMARY> show users
{
        "_id" : ObjectId("54b14dfc218dd9adeb9cb5d0"),
        "user" : "root",
        "readOnly" : false,
        "pwd" : "34e5772aa66b703a319641d42a47d696"
}
clone:PRIMARY> use local
switched to db local
clone:PRIMARY> show users
{
        "_id" : ObjectId("54b14e11218dd9adeb9cb5d1"),
        "user" : "repl",
        "readOnly" : false,
        "pwd" : "c9f242649c23670ff94c4ca00ea06fe7"
}

clone:PRIMARY> rs.status()
{
        "set" : "clone",
        "date" : ISODate("2015-01-10T16:20:08Z"),
        "myState" : 1,
        "members" : [
                {
                        "_id" : 0,
                        "name" : "192.168.119.128:27017",
                        "health" : 1,
                        "state" : 1,
                        "stateStr" : "PRIMARY",
                        "uptime" : 711,
                        "optime" : Timestamp(1420906284, 1),
                        "optimeDate" : ISODate("2015-01-10T16:11:24Z"),
                        "self" : true
                },
                {
                        "_id" : 1,
                        "name" : "192.168.119.128:27018",
                        "health" : 1,
                        "state" : 2,
                        "stateStr" : "SECONDARY",
                        "uptime" : 705,
                        "optime" : Timestamp(1420906284, 1),
                        "optimeDate" : ISODate("2015-01-10T16:11:24Z"),
                        "lastHeartbeat" : ISODate("2015-01-10T16:20:08Z"),
                        "lastHeartbeatRecv" : ISODate("2015-01-10T16:20:08Z"),
                        "pingMs" : 0,
                        "syncingTo" : "192.168.119.128:27017"
                },
                {
                        "_id" : 2,
                        "name" : "192.168.119.128:27019",
                        "health" : 1,
                        "state" : 2,
                        "stateStr" : "SECONDARY",
                        "uptime" : 703,
                        "optime" : Timestamp(1420906284, 1),
                        "optimeDate" : ISODate("2015-01-10T16:11:24Z"),
                        "lastHeartbeat" : ISODate("2015-01-10T16:20:08Z"),
                        "lastHeartbeatRecv" : ISODate("2015-01-10T16:20:07Z"),
                        "pingMs" : 0,
                        "syncingTo" : "192.168.119.128:27017"
                }
        ],
        "ok" : 1
}

这些日志是干什么的,同步复制都正常。

1个回答

看上去是不是系统自己在做一些验证等

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐