【发布时间】:2017-11-26 21:31:12
【问题描述】:
我将重新发布我在使用 Cloud9 和 CouchDB 时遇到的问题。原始帖子仍在 Cloud9 支持论坛中,没有一个像样的答案。
所以我关注了 CouchDB installation。
Couchdb 启动正常,我可以使用 CURL 连接到它。
但是
当我尝试使用节点插入内容时出现错误(如下)。
Apache CouchDB 1.5.0 (LogLevel=info) 正在启动。
Apache CouchDB 已经启动。是时候放松一下了。
[info] [] Apache CouchDB 已在 http://127.0.0.1:5984/
上启动 [信息] [] 127.0.0.1 - - 获取 / 200
[错误] [] 无法打开文件 /var/lib/couchdb/test_db.couch:没有这样的文件或目录
[信息] [] 127.0.0.1 - - PUT /test_db/unique_id 404
[错误] [] 无法打开文件 /var/lib/couchdb/test_db.couch:没有这样的文件或目录
[信息] [] 127.0.0.1 - - PUT /test_db/unique_id 404
所以db_file 不见了?我应该在哪里指定?
我已经尝试手动创建 db 文件,但这会导致 CouchDB 崩溃。任何帮助将不胜感激?
【问题讨论】: