小编jas*_*lew的帖子

在Mac OS X上卸载MongoDB

当我尝试从终端运行mongod时,我收到以下错误:

2014-07-02T23:56:24.797-0700 [initandlisten] ERROR:听():绑定()失败错误号:48个地址已在使用对插座:0.0.0.0:27017 2014-07-02T23:56:24.797-0700 [initandlisten]错误:addr已在使用中

我最近意识到我的Mac上有两个版本的MongoDB,并认为这可能是上述错误的来源.(另外,我不需要两个版本.)我尝试使用谷歌搜索,但无法找到有关如何卸载的明确说明.我有开发版本2.7.0和2.6.3.

非常感谢您的帮助!

mongodb

23
推荐指数
3
解决办法
4万
查看次数

终端错误on-load zsh("...找不到命令:^ M")

我正在从oh-my-zsh转换到prezto.现在每次打开终端窗口时都会遇到以下错误:

/Users/jasenlew/.zshenv:7: command not found: ^M
/Users/jasenlew/.zshenv:13: parse error near `\n'
/Users/jasenlew/.zprofile:7: command not found: ^M
/Users/jasenlew/.zprofile:11: command not found: ^M
/Users/jasenlew/.zprofile:80: parse error near `\n'
/Users/jasenlew/.zshrc:7: command not found: ^M
/Users/jasenlew/.zshrc:15: parse error near `\n'
/Users/jasenlew/.zlogin:7: command not found: ^M
/Users/jasenlew/.zlogin:15: command not found: ^M
/Users/jasenlew/.zlogin:9: command not found: ^M
/Users/jasenlew/.zlogin:12: command not found: then^M
/Users/jasenlew/.zlogin:16: command not found: ^M
/Users/jasenlew/.zlogin:21: parse error near `\n'
/Users/jasenlew/.zlogin:zcompile:13: can't open file: /Users/jasenlew/.zcompdump^M^M
/Users/jasenlew/.zlogin:14: command not found: fi^M
Run Code Online (Sandbox Code Playgroud)

我已经删除了oh-my-zsh,并按照repo/instructions安装了prezto:https://github.com/hackreactor-labs/prezto …

shell terminal zsh zshrc oh-my-zsh

2
推荐指数
1
解决办法
2361
查看次数

标签 统计

mongodb ×1

oh-my-zsh ×1

shell ×1

terminal ×1

zsh ×1

zshrc ×1