Blair Zajac wrote:
Adam Kocoloski wrote:
On Sep 4, 2009, at 1:32 PM, eric casteleijn wrote:

I'm having a problem that is making me doubt my sanity, and I wonder if someone can reproduce this or tell me how I'm stupid:

I have a system couchdb server installed, and have added an admin account to it with this command:

curl -X PUT http://localhost:5984/_config/admins/thisfred3 -d '"password3"'

That works fine, the admin account is written to /etc/couchdb/local.ini with a hashed password as one would expect, and persists between couchdb sessions. Wonderful.

Now when I start up a different couchdb server (after stopping the system one, but I don't really think that matters.) on a different port, with a different (newly created) db_dir and a completely different .ini file, like so:

I see the same problem, but only if I'm changing servers on the same port. Are you sure that's not the case?

Absolutely, the system one is running on 5984, and the other one we start on a random port, and never once in my experimenting has that turned out to be 5984 (I used the browser to try and create databases, and I know it was a different port number every time.)

--
- eric casteleijn
https://launchpad.net/~thisfred
http://www.canonical.com

Reply via email to