我以前通过自制软件安装了CouchDB,但是我的数据库进入了一个奇怪的状态,所以我原本计划擦除干净并卸载/重新安装。我运行了brew uninstall couchdb
,但是当我重新安装它时,我遇到了和以前一样的奇怪的状态问题。CouchDB似乎被卸载,但curl本地主机:5984仍然返回“欢迎”文件
我再次运行卸载命令,然后跑了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 [email protected] 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 [email protected] 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
,我没有安装它。
我的问题是,为什么curl
命令仍然返回文档,如果我已经卸载CouchDB?