gpt4 book ai didi

Cannot install nor cancel mongodb installation(无法安装或取消MongoDB安装)

翻译 作者:bug小助手 更新时间:2023-10-26 22:04:39 28 4
gpt4 key购买 nike



I've tried running the setup with and without selecting 'install mongo compass' option, but still I'm neither able to install it nor cancel the installation.
This setup dialogue then freezes without any progress for more than 20-30mins. This is literally just what happens after downloading the setup from their website(https://www.mongodb.com/try/download/community?tck=docs_server) in msi format and starting the install. I'm not sure what I'm doing wrong.
I've selected "complete" setup type then "Install MongoD as a Service MongoDB as a service" and
"Run the service as Network Service user (Default)"

我试过在选择和不选择‘安装Mongo指南针’选项的情况下运行安装程序,但我仍然无法安装它,也无法取消安装。然后,此设置对话冻结20-30分钟以上,没有任何进展。这实际上就是从他们的website(https://www.mongodb.com/try/download/community?tck=docs_server)下载msi格式的安装程序并开始安装后发生的事情。我不确定我做错了什么。我选择了“Complete”安装类型,然后是“Install MongoD as a Service MongoDB as a service”和“Run the service as Network Service User(默认)”。




enter image description here


更多回答

Did you run setup as administrator? Maybe disable "Install MongoD as a Service MongoDB as a service" - you can install the service also manually by running, mongod --install see mongod.exe

您是否以管理员身份运行安装程序?也许可以禁用“将MongoD安装为服务MongoDB作为服务”--您也可以通过运行以下命令手动安装该服务:mongod--install请参阅mongod.exe

@WernfriedDomscheit I did a run as admin and disabled "Install MongoD as a Service MongoDB as a service" as per your suggestion, but unfortunately, it's still the same for the past 15mins.

@WernFriedDomscheit根据您的建议,我以管理员身份运行了一次,并禁用了“将MongoD作为服务安装MongoDB作为服务”,但不幸的是,在过去的15分钟内它仍然是一样的。

What is your Windows version? Did you install it before already? Perhaps the service is running already and installer fails to stop the existing one.

您的Windows版本是什么?你之前已经安装好了吗?可能该服务已经在运行,而安装程序无法停止现有服务。

@WernfriedDomscheit I have windows 10, and no, I've never used nor installed mongodb before. (mongo --version =>mongo not recognised)

@WernFriedDomscheit我有Windows10,不,我从来没有用过也没有安装过MongoDB。(Mongo--版本=>未识别的Mongo)

Did you try to install Mongo Compass? Otherwise, try the zip download. You can install the service as above and you only have to create data and log directory.

你试过安装Mongo Compass吗?否则,请尝试下载压缩包。您可以如上所述安装该服务,您只需创建数据和日志目录。

优秀答案推荐

I experienced the same issue, and it was due to my antivirus software. I turned off both the antivirus and Windows Defender, and that resolved the problem.

我也遇到了同样的问题,这是由于我的杀毒软件造成的。我同时关闭了杀毒软件和Windows Defender,这解决了问题。


更多回答

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com