Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

Erro ao rodar mongo

Olá! Acredito que meu cliente mongo não está funcionando corretamente e não sei o que fazer e gostaria de ajuda. A variável de ambiente já foi setada e consigo rodar mongod, porém, não da certo o comando mongo.

saída no console

λ mongo
MongoDB shell version v3.6.2
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.6.2
Server has startup warnings:
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten]
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten]
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server.
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
2018-01-24T00:21:15.685-0200 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten]
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten]
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten] ** WARNING: The file system cache of this machine is configured to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten] See http://dochub.mongodb.org/core/wt-windows-system-file-cache
2018-01-24T00:21:15.686-0200 I CONTROL  [initandlisten]
4 respostas

Olá, Antônio.

Em qual ambiente você está rodando o mongod e o mongo shell ?

Digo isso porque o seu shell tem o símbolo λ...

Eu instalei no windows o Cmder e estou utilizando ele.

solução!

Na verdade eu fui testar e esta funcionando normalmente. Consegui criar a coleção de alunos e realizar as operações das aulas. Mas mesmo assim muito obrigado

Que bom, Antônio!