根据 CloudFoundry 中的这篇文章CouchDB?,我尝试了同样的事情,但是当我运行时,我vmc create-service couchdb
在 couchdb_node.log 中报告了以下错误:
[2012-10-01 11:31:47.335301] couchdb_node_0 - pid=22864 tid=dfcc fid=c5c1 INFO -- Creating credentials: ue26fa08a-e8d1-4043-8ba4-71f7d779ce08/pa1cdc5d8-2e92-41ef-b2f1-bdb61b8ce693 for database d73a7c8d1-9b5e-411c-ab92-09f96c7875c2
[2012-10-01 11:31:47.338018] couchdb_node_0 - pid=22864 tid=dfcc fid=c5c1 ERROR -- Failed add user ue26fa08a-e8d1-4043-8ba4-71f7d779ce08: 401 Unauthorized
[2012-10-01 11:31:47.342074] couchdb_node_0 - pid=22864 tid=dfcc fid=c5c1 INFO -- Deleting user ue26fa08a-e8d1-4043-8ba4-71f7d779ce08
[2012-10-01 11:31:47.344598] couchdb_node_0 - pid=22864 tid=dfcc fid=c5c1 ERROR -- Failure deleting user ue26fa08a-e8d1-4043-8ba4-71f7d779ce08: 401 Unauthorized
[2012-10-01 11:31:47.349463] couchdb_node_0 - pid=22864 tid=dfcc fid=c5c1 WARN -- Exception at on_provision 401 Unauthorized: {"error":"unauthorized","reason":"Name or password is incorrect."}\n
在客户端它报告错误 503。我需要做什么才能添加用户?我在 Linux Ubuntu 10.04 上以 root 身份运行 CF。