{"action":"closed","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4718","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4718/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4718/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4718/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/4718","id":185099832,"number":4718,"title":"Failed to connect to MongoDB","user":{"login":"B2RN","id":1649923,"avatar_url":"https://avatars.githubusercontent.com/u/1649923?v=3","gravatar_id":"","url":"https://api.github.com/users/B2RN","html_url":"https://github.com/B2RN","followers_url":"https://api.github.com/users/B2RN/followers","following_url":"https://api.github.com/users/B2RN/following{/other_user}","gists_url":"https://api.github.com/users/B2RN/gists{/gist_id}","starred_url":"https://api.github.com/users/B2RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B2RN/subscriptions","organizations_url":"https://api.github.com/users/B2RN/orgs","repos_url":"https://api.github.com/users/B2RN/repos","events_url":"https://api.github.com/users/B2RN/events{/privacy}","received_events_url":"https://api.github.com/users/B2RN/received_events","type":"User","site_admin":false},"labels":[{"id":261733042,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20support","name":"type: support","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-25T12:17:03Z","updated_at":"2016-10-28T08:30:07Z","closed_at":"2016-10-28T08:30:07Z","body":"Moved from being a comment on an old ticket to a proper ticket. The old ticket (#4448) was closed before the user confirmed that it's working.\r\n\r\nLet me know if you need any more information, copy paste of my update follows:\r\n\r\nThis hasn't been solved. Just ran a clean install on a CentOS 7.2 minimal install:\r\n\r\n```\r\n[root@rocket-srv1 Rocket.Chat]# cat /etc/redhat-release \r\nCentOS Linux release 7.2.1511 (Core) \r\n```\r\n\r\n```\r\n[root@rocket-srv1 Rocket.Chat]# which node\r\n/bin/node\r\n[root@rocket-srv1 Rocket.Chat]# node -v\r\nv4.5.0\r\n[root@rocket-srv1 Rocket.Chat]# \r\n```\r\n\r\n```\r\n[root@rocket-srv1 Rocket.Chat]# systemctl status mongod\r\n● mongod.service - SYSV: Mongo is a scalable, document-oriented database.\r\n   Loaded: loaded (/etc/rc.d/init.d/mongod)\r\n   Active: active (running) since Thu 2016-10-13 14:03:21 CEST; 4min 47s ago\r\n     Docs: man:systemd-sysv-generator(8)\r\n Main PID: 8191 (mongod)\r\n   CGroup: /system.slice/mongod.service\r\n           └─8191 /usr/bin/mongod -f /etc/mongod.conf\r\n\r\nOct 13 14:03:20 rocket-srv1.foo systemd[1]: Starting SYSV: Mongo is a scalable, document-oriented database....\r\nOct 13 14:03:20 rocket-srv1.foo runuser[8187]: pam_unix(runuser:session): session opened for user mongod...d=0)\r\nOct 13 14:03:21 rocket-srv1.foo mongod[8178]: Starting mongod: [  OK  ]\r\nOct 13 14:03:21 rocket-srv1.foo systemd[1]: Started SYSV: Mongo is a scalable, document-oriented database..\r\nHint: Some lines were ellipsized, use -l to show in full.\r\n[root@rocket-srv1 Rocket.Chat]# \r\n```\r\n\r\n```\r\n[root@rocket-srv1 Rocket.Chat] node main.js\r\n\r\n/opt/Rocket.Chat/programs/server/node_modules/fibers/future.js:313\r\n                                                throw(ex);\r\n                                                ^\r\nMongoError: failed to connect to server [localhost:27017] on first connect\r\n    at Object.Future.wait (/opt/Rocket.Chat/programs/server/node_modules/fibers/future.js:449:15)\r\n    at new MongoConnection (packages/mongo/mongo_driver.js:216:27)\r\n    at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)\r\n    at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)\r\n    at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)\r\n    at new Mongo.Collection (packages/mongo/collection.js:103:40)\r\n    at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)\r\n    at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)\r\n    at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)\r\n    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)\r\n    - - - - -\r\n    at [object Object].<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mo\r\nngodb-core/lib/topologies/server.js:313:35)                                                                          \r\n    at emitOne (events.js:77:13)\r\n    at [object Object].emit (events.js:169:7)\r\n    at [object Object].<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mo\r\nngodb-core/lib/connection/pool.js:260:12)                                                                            \r\n    at [object Object].g (events.js:260:16)\r\n    at emitTwo (events.js:87:13)\r\n    at [object Object].emit (events.js:172:7)\r\n    at Socket.<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-cor\r\ne/lib/connection/connection.js:162:49)                                                                               \r\n    at Socket.g (events.js:260:16)\r\n    at emitOne (events.js:77:13)\r\n[root@rocket-srv1 Rocket.Chat]# \r\n```\r\n\r\nCan provide more logs and so on, or it might be something that I messed up.\r\n\r\nCheers,\r\nJuraj"}}
{"actor":{"display_login":"B2RN"}}