CouchDB 似乎已卸载,但 curl localhost:5984 仍然 returns "Welcome" 文件
CouchDB appears to be uninstalled, but curl localhost:5984 still returns the "Welcome" document
我之前通过 Homebrew 安装了 CouchDB,但我的数据库进入了一个奇怪的状态,所以我打算彻底清理并 uninstall/reinstall。我 运行 brew uninstall couchdb
,但是当我重新安装它时,我 运行 进入了和以前一样奇怪的状态问题。
我再次 运行 卸载命令然后 运行 curl localhost:5984
,令我惊讶的是我看到:
{"couchdb":"Welcome","uuid":"1316020b7ecc176ede36dc9acd8ea4e9","version":"1.6.1","vendor":{"name":"Homebrew","version":"1.6.1_13"}}
下面是运行brew list
的输出:
ack elixir gnutls libpng node-build pyenv-virtualenv watchman
adns erlang heroku libtasn1 nodenv python wget
autoconf erlang@19 icu4c libtiff npth python3 wireshark
autoconf-archive etl imagemagick libtool nspr qt wxmac
automake fortune jpeg libunistring oniguruma qt5 xz
c-ares freetype jq libusb openssl rbenv yarn
cmake gdbm leiningen libxml2 openssl@1.1 readline zsh-completions
coreutils geoip libassuan libyaml p11-kit redis
cowsay gettext libevent memcached pcre rlwrap
dbus git libffi mit-scheme pinentry ruby-build
docker glib libgcrypt mongodb pkg-config spidermonkey
docker-compose gmp libgpg-error nettle postgresql sqlite
docker-machine gnupg libksba node pyenv the_silver_searcher
如您所见,CouchDB 没有列在已安装的公式中。我 运行 brew uses couchdb
(列出了所有依赖 CouchDB 的公式),唯一的结果是 couchdb-lucene
,我没有安装它。
我的问题是,如果我卸载了 CouchDB,为什么 curl
命令仍然返回文档?
事实证明 运行 brew uninstall <packagename>
不会终止该包的任何当前 运行 进程。我发现并手动终止了一个 运行 CouchDB 进程,并且 运行 ps aux | grep couchdb
几次以验证该进程没有重生。重新安装 CouchDB 时,我仍然遇到相同的数据库状态问题,但这是另一个 post.
的主题
我之前通过 Homebrew 安装了 CouchDB,但我的数据库进入了一个奇怪的状态,所以我打算彻底清理并 uninstall/reinstall。我 运行 brew uninstall couchdb
,但是当我重新安装它时,我 运行 进入了和以前一样奇怪的状态问题。
我再次 运行 卸载命令然后 运行 curl localhost:5984
,令我惊讶的是我看到:
{"couchdb":"Welcome","uuid":"1316020b7ecc176ede36dc9acd8ea4e9","version":"1.6.1","vendor":{"name":"Homebrew","version":"1.6.1_13"}}
下面是运行brew list
的输出:
ack elixir gnutls libpng node-build pyenv-virtualenv watchman
adns erlang heroku libtasn1 nodenv python wget
autoconf erlang@19 icu4c libtiff npth python3 wireshark
autoconf-archive etl imagemagick libtool nspr qt wxmac
automake fortune jpeg libunistring oniguruma qt5 xz
c-ares freetype jq libusb openssl rbenv yarn
cmake gdbm leiningen libxml2 openssl@1.1 readline zsh-completions
coreutils geoip libassuan libyaml p11-kit redis
cowsay gettext libevent memcached pcre rlwrap
dbus git libffi mit-scheme pinentry ruby-build
docker glib libgcrypt mongodb pkg-config spidermonkey
docker-compose gmp libgpg-error nettle postgresql sqlite
docker-machine gnupg libksba node pyenv the_silver_searcher
如您所见,CouchDB 没有列在已安装的公式中。我 运行 brew uses couchdb
(列出了所有依赖 CouchDB 的公式),唯一的结果是 couchdb-lucene
,我没有安装它。
我的问题是,如果我卸载了 CouchDB,为什么 curl
命令仍然返回文档?
事实证明 运行 brew uninstall <packagename>
不会终止该包的任何当前 运行 进程。我发现并手动终止了一个 运行 CouchDB 进程,并且 运行 ps aux | grep couchdb
几次以验证该进程没有重生。重新安装 CouchDB 时,我仍然遇到相同的数据库状态问题,但这是另一个 post.