Ubuntu 12.0.4 LTS上的CouchDB:停止并重新启动 [英] CouchDB on Ubuntu 12.0.4 LTS: Stop and restart

查看:92
本文介绍了Ubuntu 12.0.4 LTS上的CouchDB:停止并重新启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在评估CouchDB的特定要求,并且是CouchDB的新手。

I am in the process of evaluating CouchDB for a specific requirement and I am new to CouchDB.

我已经使用软件包安装程序安装了Couch DB,并且它已经开始在安装和侦听端口5984时。

I have installed Couch DB using the package installation and it has started at the time of installation and listening to port 5984.

现在我想停止并重新启动。我尝试了各种选项,但没有一个起作用。

Now i want to stop and restart. I have tried various options but none of them worked.

选项1


sudo服务ouchdb停止(这根本不会停止)

sudo service couchdb stop (this does not stop at all)

sudo netstat -lpn显示进程正在侦听5984

sudo netstat -lpn shows that a process listening to 5984

选项2


sudo -i -u couchdb /etc/init.d/couchdb start

sudo -i -u couchdb /etc/init.d/couchdb start

这是提示输入(我当然不知道)的密码。

我了解在安装时会创建一个名为beddb的新用户。
该用户的默认密码是什么?

I understand that a new user called couchdb is created at the time of installation. What is the default password of this user?

推荐答案

首先,您只需要重新启动Ubuntu。如果CouchDB在安装后运行,据我所知,它无法杀死它。重新启动后,可以使用

sudo服务ouchdb stop

,然后

sudo服务ouchdb start

First, you simply need to reboot Ubuntu. If CouchDB is running after an install, it is, so far as I can tell, impossible to kill it. Once you reboot, you can use
sudo service couchdb stop
and then
sudo service couchdb start.

第二,首次安装CouchDB时没有密码,因此我相信它提示你是个虫子。您可以转到

Second, there is no password when CouchDB is first installed, so I believe the fact that it prompts you is a bug. You can go to

http://localhost:5984/_utils 

,然后单击屏幕右下角的
修复此链接,其中显示管理员,以设置第一个密码。

and then click on the "Fix this" link in the bottom right corner of the screen, where it says "Admin party", to set the first password.

请参见 CouchDB:权威指南了解更多信息。

这篇关于Ubuntu 12.0.4 LTS上的CouchDB:停止并重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆