Can't connect with admin user after CouchDB fresh install on Ubuntu 12.04 -


i have couchdb installing issue on ubuntu 12.04, not installing issue, configuring. after installed with

sudo apt-get couchdb 

i edit /etc/couchdb/local.ini , add

adminuser = mypass 

to [admin] section , try

 curl http://adminuser:mypass@127.0.0.1:5984 

but get

{"error":"unauthorized","reason":"name or password incorrect."} 

of course, restarted server after edited local.ini

i tried says here too: http://wiki.apache.org/couchdb/installing_on_ubuntu : "fix problems adding admin hangs or setting admins in local.ini..." still no luck :(

after tested lastest version git error still present. have after rebooting ubuntu works, need work out of box without rebooting install script.

it's safer modify .ini files using _config follow escaping , spacing rules (in case spaces around = problem)

curl -x put localhost:5984/_config/admins/adminuser -d '"mypass"'" 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -