Skip to content

Instantly share code, notes, and snippets.

@ruphin
Created April 25, 2016 08:54
Show Gist options
  • Save ruphin/fb78fbbea0d1d7980b457cfe123e898c to your computer and use it in GitHub Desktop.
Save ruphin/fb78fbbea0d1d7980b457cfe123e898c to your computer and use it in GitHub Desktop.
MongoDB HostnameCanonicalizationWorker Fail
mongo:3.2 --configsvr --replSet blobConfig --dbpath /data/db --bind_ip mongo-blob-config-3 --port 27017
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongo-blob-config-3
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] db version v3.2.5
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] git version: 34e65e5383f7ea1726332cb175b73077ec4a1b02
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] allocator: tcmalloc
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] modules: none
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] build environment:
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] distmod: debian71
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] distarch: x86_64
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] target_arch: x86_64
2016-04-25T08:41:52.532+0000 I CONTROL [initandlisten] options: { net: { bindIp: "mongo-blob-config-3", port: 27017 }, replication: { replSet: "blobConfig" }, sharding: { clusterRole: "configsvr" }, storage: { dbPath: "/data/db" } }
2016-04-25T08:41:52.566+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-04-25T08:41:52.566+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
2016-04-25T08:41:52.566+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2016-04-25T08:41:52.566+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=4G,session_max=20000,eviction=(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),
2016-04-25T08:41:53.043+0000 I STORAGE [initandlisten] Starting WiredTigerRecordStoreThread local.oplog.rs
2016-04-25T08:41:53.044+0000 I STORAGE [initandlisten] The size storer reports that the oplog contains 4 records totaling to 368 bytes
2016-04-25T08:41:53.044+0000 I STORAGE [initandlisten] Scanning the oplog to determine where to place markers for truncation
2016-04-25T08:41:53.080+0000 I CONTROL [initandlisten]
2016-04-25T08:41:53.080+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2016-04-25T08:41:53.080+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2016-04-25T08:41:53.080+0000 I CONTROL [initandlisten]
2016-04-25T08:41:53.087+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2016-04-25T08:41:53.087+0000 I NETWORK [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
2016-04-25T08:41:53.090+0000 I NETWORK [initandlisten] waiting for connections on port 27017
2016-04-25T08:41:53.095+0000 W NETWORK [HostnameCanonicalizationWorker] Failed to obtain address information for hostname mongo-blob-config-3: Name or service not known
2016-04-25T08:41:53.105+0000 W NETWORK [ReplicationExecutor] getaddrinfo("mongo-blob-config-3") failed: Name or service not known
2016-04-25T08:41:53.108+0000 I NETWORK [ReplicationExecutor] getaddrinfo("mongo-blob-config-3") failed: Name or service not known
2016-04-25T08:41:53.109+0000 W REPL [ReplicationExecutor] Locally stored replica set configuration does not have a valid entry for the current node; waiting for reconfig or remote heartbeat; Got "NodeNotFound: No host described in new configuration 1 for replica set blobConfig maps to this node" while validating { _id: "blobConfig", version: 1, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "mongo-blob-config-1:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 3.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "mongo-blob-config-2:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 2.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "mongo-blob-config-3:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('571a56c750e456fa41f48927') } }
2016-04-25T08:41:53.110+0000 I REPL [ReplicationExecutor] New replica set config in use: { _id: "blobConfig", version: 1, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "mongo-blob-config-1:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 3.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "mongo-blob-config-2:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 2.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "mongo-blob-config-3:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('571a56c750e456fa41f48927') } }
2016-04-25T08:41:53.110+0000 I REPL [ReplicationExecutor] This node is not a member of the config
2016-04-25T08:41:53.110+0000 I REPL [ReplicationExecutor] transition to REMOVED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment