Guest User

Untitled

a guest
Apr 20th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. sudo apt-get install -y mongodb-org
  2.  
  3. MongoDB shell version v3.6.4
  4. connecting to: mongodb://127.0.0.1:27017
  5. 2018-04-20T12:02:10.947+0530 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
  6. 2018-04-20T12:02:10.999+0530 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
  7. connect@src/mongo/shell/mongo.js:251:13
  8. @(connect):1:6
  9. exception: connect failed
  10.  
  11. ● mongod.service - High-performance, schema-free document-oriented database
  12. Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset:
  13. Active: failed (Result: exit-code) since Fri 2018-04-20 12:04:50 IST; 37s ago
  14. Docs: https://docs.mongodb.org/manual
  15. Process: 28034 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exite
  16. Main PID: 28034 (code=exited, status=217/USER)
  17.  
  18. Apr 20 12:04:50 Inspiron-N5010 systemd[1]: Started High-performance, schema-free
  19. Apr 20 12:04:50 Inspiron-N5010 systemd[1]: mongod.service: Main process exited,
  20. Apr 20 12:04:50 Inspiron-N5010 systemd[1]: mongod.service: Unit entered failed s
  21. Apr 20 12:04:50 Inspiron-N5010 systemd[1]: mongod.service: Failed with result 'e
  22. lines 1-11/11 (END)
Add Comment
Please, Sign In to add comment