Connection Error = can't connect couldn't connect to server localhost:19495 (127.0.0.1), connection attempt failed2021-03-28T21:36:04.545+0300 [initandlisten] MongoDB starting : pid=6712 port=19495 dbpath=current 64-bit host=HOME-PC
2021-03-28T21:36:04.547+0300 [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
2021-03-28T21:36:04.547+0300 [initandlisten] db version v2.6.6
2021-03-28T21:36:04.547+0300 [initandlisten] git version: 608e8bc319627693b04cc7da29ecc300a5f45a1f
2021-03-28T21:36:04.547+0300 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
2021-03-28T21:36:04.547+0300 [initandlisten] allocator: system
2021-03-28T21:36:04.547+0300 [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 19495 }, storage: { dbPath: "current", journal: { enabled: true }, smallFiles: true } }
**************
old lock file: current\mongod.lock. probably means unclean shutdown,
but there are no journal files to recover.
this is likely human error or filesystem corruption.
please make sure that your journal directory is mounted.
found 1 dbs.
see: http://dochub.mongodb.org/core/repair for more information
*************
2021-03-28T21:36:04.548+0300 [initandlisten] exception in initAndListen: 12596 old lock file, terminating
2021-03-28T21:36:04.548+0300 [initandlisten] dbexit:
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: going to close listening sockets...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: going to flush diaglog...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: going to close sockets...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: waiting for fs preallocator...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: lock for final commit...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: final commit...
2021-03-28T21:36:04.548+0300 [initandlisten] shutdown: closing all files...
2021-03-28T21:36:04.548+0300 [initandlisten] closeAllFiles() finished
2021-03-28T21:36:04.548+0300 [initandlisten] dbexit: really exiting now
Connection Error = can't connect couldn't connect to server localhost:19495 (127.0.0.1) failed, connection attempt failed
Стоит на домашнем ноуте, не на сервере...
20 минут назад все работало, но видимо устало, ничего не включал, не выключал, антивируса нету (снес пару дней как). Порты не блочил.
Пил чай (грязную кружку могу приложить в качестве доказательства)
Версия бас старая.
