[SERVER-38266] Problem with the server and shell Created: 27/Nov/18  Updated: 15/Jan/19  Resolved: 15/Jan/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Yosef Simhony [X] Assignee: Eric Sedor
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-38267 Problem with the server and shell Closed
is duplicated by SERVER-38268 Problem with the server and shell Closed
Participants:

 Description   

When I start the server I get this error:
  # 2018-11-26T13:36:01.880+0000 I CONTROL [initandlisten] MongoDB starting : pid=6174 port=27017 dbpath=data 64-bit host=yosefsimhony-webdevbootcamp-6534443

  1. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] db version v3.6.9
  2. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] git version: 167861a164723168adfaaa866f310cb94010428f
  3. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
  4. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] allocator: tcmalloc
  5. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] modules: none
  6. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] build environment:
  7. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] distmod: ubuntu1404
  8. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] distarch: x86_64
  9. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] target_arch: x86_64
  10. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] options: { storage:
    Unknown macro: { dbPath}

    }

  11. 2018-11-26T13:36:01.881+0000 I - [initandlisten] Detected data files in data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
  12. 2018-11-26T13:36:01.881+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=25657M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),,log=(enabled=false),
  13. 2018-11-26T13:36:02.504+0000 I STORAGE [initandlisten] WiredTiger message [1543239362:504418][6174:0x7f27e7883a80], txn-recover: Set global recovery timestamp: 0
  14. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  15. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
  16. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
  17. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  18. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
  19. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
  20. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP
  21. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
  22. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
  23. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
  24. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  25. 2018-11-26T13:36:02.561+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'data/diagnostic.data'
  26. 2018-11-26T13:36:02.562+0000 I NETWORK [initandlisten] waiting for connections on port 27017
  27.  

 

I have read about this problem here: https://jira.mongodb.org/browse/SERVER-18448 , but I couldn't solve it.

(If Zarko answer me - I have shared my c9 project with you earlier, with permission of RW).

Thanks.

When I start the server I get this error:
  # 2018-11-26T13:36:01.880+0000 I CONTROL [initandlisten] MongoDB starting : pid=6174 port=27017 dbpath=data 64-bit host=yosefsimhony-webdevbootcamp-6534443

  1. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] db version v3.6.9
  2. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] git version: 167861a164723168adfaaa866f310cb94010428f
  3. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
  4. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] allocator: tcmalloc
  5. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] modules: none
  6. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] build environment:
  7. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] distmod: ubuntu1404
  8. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] distarch: x86_64
  9. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] target_arch: x86_64
  10. 2018-11-26T13:36:01.881+0000 I CONTROL [initandlisten] options: { storage:
    Unknown macro: { dbPath}

    }

  11. 2018-11-26T13:36:01.881+0000 I - [initandlisten] Detected data files in data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
  12. 2018-11-26T13:36:01.881+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=25657M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),,log=(enabled=false),
  13. 2018-11-26T13:36:02.504+0000 I STORAGE [initandlisten] WiredTiger message [1543239362:504418][6174:0x7f27e7883a80], txn-recover: Set global recovery timestamp: 0
  14. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  15. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
  16. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
  17. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  18. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
  19. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
  20. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP
  21. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
  22. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
  23. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
  24. 2018-11-26T13:36:02.546+0000 I CONTROL [initandlisten]
  25. 2018-11-26T13:36:02.561+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'data/diagnostic.data'
  26. 2018-11-26T13:36:02.562+0000 I NETWORK [initandlisten] waiting for connections on port 27017
  27.  

I have read about this problem here: https://jira.mongodb.org/browse/SERVER-18448 , but I couldn't solve it.

 The content of my WiredTiger.wt file is: A�

maybe there is connection...

Thanks.



 Comments   
Comment by Eric Sedor [ 15/Jan/19 ]

Hello again; we haven’t heard back from you for some time so I’m going to mark this ticket as resolved.

But if this is still an issue for you, please let us know how the above went for you and we can reopen/continue the ticket.

Comment by Eric Sedor [ 28/Nov/18 ]

Hello! Can you please try including --bind_ip 127.0.0.1 (or another appropriate value)? See bind_ip at https://docs.mongodb.com/manual/reference/program/mongod/#core-options for information, and let us know if this doesn't help.

Generated at Thu Feb 08 04:48:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.