Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

安装完MongoDB后尝试mongod -dbpath命令为什么会一直卡在连接端口?

$
0
0

Y:\MongoDB\bin>mongod -dbpath Y:\MongoDB\data 2017-04-02T17:08:52.887+1000 I CONTROL [initandlisten] MongoDB starting : pid=7364 port=27017 dbpath=Y:\MongoDB\data 64-bit host=NCE 2017-04-02T17:08:52.890+1000 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2 2017-04-02T17:08:52.892+1000 I CONTROL [initandlisten] db version v3.4.3 2017-04-02T17:08:52.892+1000 I CONTROL [initandlisten] git version: f07437fb5a6cca07c10bafa78365456eb1d6d5e1 2017-04-02T17:08:52.892+1000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips 22 Sep 2016 2017-04-02T17:08:52.893+1000 I CONTROL [initandlisten] allocator: tcmalloc 2017-04-02T17:08:52.893+1000 I CONTROL [initandlisten] modules: none 2017-04-02T17:08:52.893+1000 I CONTROL [initandlisten] build environment: 2017-04-02T17:08:52.893+1000 I CONTROL [initandlisten] distmod: 2008plus-ssl 2017-04-02T17:08:52.894+1000 I CONTROL [initandlisten] distarch: x86_64 2017-04-02T17:08:52.894+1000 I CONTROL [initandlisten] target_arch: x86_64 2017-04-02T17:08:52.894+1000 I CONTROL [initandlisten] options: { storage: { dbPath: “Y:\MongoDB\data” } } 2017-04-02T17:08:52.898+1000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3525M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), 2017-04-02T17:08:53.055+1000 I CONTROL [initandlisten] 2017-04-02T17:08:53.055+1000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. 2017-04-02T17:08:53.057+1000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. 2017-04-02T17:08:53.057+1000 I CONTROL [initandlisten] 2017-04-02T17:08:53.819+1000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'Y:/MongoDB/data/diagnostic.data’ 2017-04-02T17:08:53.875+1000 I INDEX [initandlisten] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: “incompatible_with_version_32”, ns: “admin.system.version” } 2017-04-02T17:08:53.875+1000 I INDEX [initandlisten] building index using bulk method; build may temporarily use up to 500 megabytes of RAM 2017-04-02T17:08:53.891+1000 I INDEX [initandlisten] build index done. scanned 0 total records. 0 secs 2017-04-02T17:08:53.894+1000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.4 2017-04-02T17:08:53.906+1000 I NETWORK [thread1] waiting for connections on port 27017

然后便一直会在这一步停止。我使用的windows 10系统,第一次防火墙会有提示,然后我选择允许,但是仍会一直停留在这一步。 在localhost:27017会提示 It looks like you are trying to access MongoDB over HTTP on the native driver port. 但就是会一直卡在那一步,请问这是怎么回事?


Viewing all articles
Browse latest Browse all 14821

Trending Articles