title: Can't connect with admin user after CouchDB fresh install on Ubuntu 12.04
body: <p>I have a CouchDB installing issue on Ubuntu 12.04, actually is not an installing issue, but configuring. After installed with</p>
  
  <pre><code>sudo apt-get couchdb
  </code></pre>
  
  <p>I edit <code>/etc/couchdb/local.ini</code> and add </p>
  
  <pre><code>adminuser = mypass
  </code></pre>
  
  <p>to the <code>[admin]</code> section and then I try</p>
  
  <pre><code> curl http://adminuser:mypass@127.0.0.1:5984
  </code></pre>
  
  <p>but I get</p>
  
  <pre><code>{"error":"unauthorized","reason":"Name or password is incorrect."}
  </code></pre>
  
  <p>Of course, I restarted the server after edited <code>local.ini</code></p>
  
  <p>I tried what says here too: <a href="http://wiki.apache.org/couchdb/Installing_on_Ubuntu" rel="nofollow">http://wiki.apache.org/couchdb/Installing_on_Ubuntu</a> :
   "fix problems where adding admin hangs or setting admins in <code>local.ini</code>..." but still no luck :(</p>
  
  <p>After that I tested with lastest version from <code>git</code> 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.</p>