执梦夙兮 2018-10-27 09:13 采纳率: 0%
浏览 1514

mongdb安装后链接失败

,安装好mongdb,服务已经启动成功,之后在命令行使用mongo命令链接mongdb,但是出现如下问题,网上找了好久都没有答案,有人遇到这个问题吗,求解答?

        ![图片说明](https://img-ask.csdn.net/upload/201810/27/1540631195_140182.png)
            日志文件里出现如下错误:
            2018-10-27T16:10:50.543+0800 I CONTROL  [initandlisten] db version v4.0.1

2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] git version: 54f1582fc6eb01de4d4c42f26fc133e623f065fb
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] allocator: tcmalloc
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] modules: none
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] build environment:
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] distmod: 2008plus-ssl
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] distarch: x86_64
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] target_arch: x86_64
2018-10-27T16:10:50.543+0800 I CONTROL [initandlisten] options: { config: "D:\worksoftinstall\MongoDB\bin\mongod.cfg", net: { bindIp: "127.0.0.1", port: 27017 }, service: true, storage: { dbPath: "D:\worksoftinstall\MongoDB\data", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "D:\worksoftinstall\MongoDB\log\mongod.log" } }
2018-10-27T16:10:50.589+0800 I STORAGE [initandlisten] Detected data files in D:\worksoftinstall\MongoDB\data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-10-27T16:10:50.606+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3555M,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),statistics_log=(wait=0),verbose=(recovery_progress),
2018-10-27T16:10:51.198+0800 I STORAGE [initandlisten] WiredTiger message [1540627851:198530][1908:1991193456], txn-recover: Main recovery loop: starting at 2/6784
2018-10-27T16:10:51.295+0800 I STORAGE [initandlisten] WiredTiger message [1540627851:295535][1908:1991193456], txn-recover: Recovering log 2 through 3
2018-10-27T16:10:51.383+0800 I STORAGE [initandlisten] WiredTiger message [1540627851:383540][1908:1991193456], txn-recover: Recovering log 3 through 3
2018-10-27T16:10:51.435+0800 I STORAGE [initandlisten] WiredTiger message [1540627851:435543][1908:1991193456], txn-recover: Set global recovery timestamp: 0
2018-10-27T16:10:51.716+0800 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
2018-10-27T16:10:52.111+0800 I CONTROL [initandlisten]
2018-10-27T16:10:52.111+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-10-27T16:10:52.111+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2018-10-27T16:10:52.111+0800 I CONTROL [initandlisten]
2018-10-27T16:10:52.112+0800 I CONTROL [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.
2018-10-27T16:10:52.112+0800 I CONTROL [initandlisten]
2018-10-27T16:10:52.997+0800 W FTDC [initandlisten] Failed to initialize Performance Counters for FTDC: WindowsPdhError: PdhExpandCounterPathW failed with '在计算机上找不到指定的对象。' for counter '\Memory\Available Bytes'
2018-10-27T16:10:52.997+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'D:/worksoftinstall/MongoDB/data/diagnostic.data'
2018-10-27T16:10:53.042+0800 I NETWORK [initandlisten] waiting for connections on port 27017
2018-10-27T16:10:53.042+0800 I STORAGE [initandlisten] Service running

  • 写回答

1条回答 默认 最新

  • devmiao 2018-10-27 12:07
    关注
    评论

报告相同问题?

悬赏问题

  • ¥20 数学建模,尽量用matlab回答,论文格式
  • ¥15 昨天挂载了一下u盘,然后拔了
  • ¥30 win from 窗口最大最小化,控件放大缩小,闪烁问题
  • ¥20 易康econgnition精度验证
  • ¥15 msix packaging tool打包问题
  • ¥28 微信小程序开发页面布局没问题,真机调试的时候页面布局就乱了
  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能