Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8043305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:51:33+00:00 2026-06-05T04:51:33+00:00

I have a CouchDB installing issue on Ubuntu 12.04, actually is not an installing

  • 0

I have a CouchDB installing issue on Ubuntu 12.04, actually is not an installing issue, but configuring. After installed with

sudo apt-get couchdb

I edit /etc/couchdb/local.ini and add

adminuser = mypass

to the [admin] section and then I try

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

but I get

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

Of course, I restarted the server after edited local.ini

I tried what says here too: http://wiki.apache.org/couchdb/Installing_on_Ubuntu :
“fix problems where adding admin hangs or setting admins in local.ini…” but still no luck 🙁

After that I tested with lastest version from git but the error is still present. I have to say that after rebooting Ubuntu it works, but I need that this work out of the box without rebooting for an install script.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:51:35+00:00Added an answer on June 5, 2026 at 4:51 am

    It’s safer to modify the .ini files using _config as that will follow all the escaping and spacing rules (in your case the spaces around = are probably the problem)

    curl -X PUT localhost:5984/_config/admins/adminuser -d '"mypass"'"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've installed CouchDB in Ubuntu 11.10. I have an HTTPD server running (which functions
I have searched for this but did not get proper answer if we can
I'm new to Android and CouchDB and have a few questions. Is it actually
Actually I am working on the Couchdb .Till now i have used the Local
Each document of couchdb will have a new version after updating, and the previous
I recently installed CouchDB, but haven't gotten past the test suite yet. It seems
Since CouchDB does not have support for SQL alike AUTO_INCREMENT what would be your
I have a mapreduce issue with couchdb (both functions shown below): when I run
I have errors when updating document in Couchdb 1.1.0 after updating it from 1.0.1
I have couchdb. Sunspot was correctly indexing everything. But the Solr server crashed. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.