SHARE
TWEET

Untitled

a guest Jun 25th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ludo@aegir:~$ sudo mongod
  2. 2019-04-25T16:12:15.894+0100 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
  3. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] MongoDB starting : pid=2449 port=27017 dbpath=/data/db 64-bit host=aegir.local.com
  4. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] db version v4.0.9
  5. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] git version: fc525e2d9b0e4bceff5c2201457e564362909765
  6. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
  7. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] allocator: tcmalloc
  8. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] modules: none
  9. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] build environment:
  10. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten]     distmod: debian92
  11. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten]     distarch: x86_64
  12. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten]     target_arch: x86_64
  13. 2019-04-25T16:12:15.897+0100 I CONTROL  [initandlisten] options: {}
  14. 2019-04-25T16:12:15.898+0100 E STORAGE  [initandlisten] Failed to set up listener: SocketException: Address already in use
  15. 2019-04-25T16:12:15.898+0100 I CONTROL  [initandlisten] now exiting
  16. 2019-04-25T16:12:15.898+0100 I CONTROL  [initandlisten] shutting down with code:48
  17.      
  18. ludo@aegir:~$ sudo mongo
  19. MongoDB shell version v4.0.9
  20. connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
  21. 2019-04-25T16:13:41.727+0100 I NETWORK  [js] recv(): message msgLen 1347703880 is invalid. Min 16 Max: 48000000
  22. 2019-04-25T16:13:41.727+0100 E QUERY    [js] Error: network error while attempting to run command 'isMaster' on host '127.0.0.1:27017'  :
  23. connect@src/mongo/shell/mongo.js:343:13
  24. @(connect):2:6
  25. exception: connect failed
  26.      
  27. ludo@aegir:~$ sudo tail -n 25 /var/log/mongodb/mongodb.log
  28. 2019-04-25T15:06:26.766+0100 I CONTROL  [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1", port: 27017 }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongodb.log", verbosity: 1 } }
  29. 2019-04-25T15:06:26.766+0100 D NETWORK  [initandlisten] fd limit hard:4096 soft:1024 max conn: 819
  30. 2019-04-25T15:06:26.927+0100 E STORAGE  [initandlisten] Failed to set up listener: SocketException: Address already in use
  31. 2019-04-25T15:06:26.928+0100 D -        [initandlisten] User Assertion: NotMaster: not primary so can't step down src/mongo/db/db.cpp 893
  32. 2019-04-25T15:06:27.304+0100 I CONTROL  [initandlisten] now exiting
  33. 2019-04-25T15:06:27.304+0100 I CONTROL  [initandlisten] shutting down with code:48
  34. 2019-04-25T15:56:21.871+0100 I CONTROL  [main] ***** SERVER RESTARTED *****
  35. 2019-04-25T15:56:24.045+0100 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
  36. 2019-04-25T15:56:24.992+0100 D NETWORK  [main] fd limit hard:4096 soft:1024 max conn: 819
  37. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] MongoDB starting : pid=767 port=27017 dbpath=/var/lib/mongodb 64-bit host=aegir.local.com
  38. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] db version v4.0.9
  39. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] git version: fc525e2d9b0e4bceff5c2201457e564362909765
  40. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
  41. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] allocator: tcmalloc
  42. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] modules: none
  43. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] build environment:
  44. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten]     distmod: debian92
  45. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten]     distarch: x86_64
  46. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten]     target_arch: x86_64
  47. 2019-04-25T15:56:25.075+0100 I CONTROL  [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1", port: 27017 }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongodb.log", verbosity: 1 } }
  48. 2019-04-25T15:56:25.075+0100 D NETWORK  [initandlisten] fd limit hard:4096 soft:1024 max conn: 819
  49. 2019-04-25T15:56:25.114+0100 E STORAGE  [initandlisten] Failed to set up listener: SocketException: Address already in use
  50. 2019-04-25T15:56:25.114+0100 D -        [initandlisten] User Assertion: NotMaster: not primary so can't step down src/mongo/db/db.cpp 893
  51. 2019-04-25T15:56:25.398+0100 I CONTROL  [initandlisten] now exiting
  52. 2019-04-25T15:56:25.399+0100 I CONTROL  [initandlisten] shutting down with code:48
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top