title: Couchdb 'init terminating in do_boot' error in Ubuntu 14.04
body: <p>I installed couchdb in Ubuntu 14.04 using <code>apt-get</code>.</p>
  
  <p>When i try to run it, i get the following error:</p>
  
  <pre><code>{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{error,enoent}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,56}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
  </code></pre>
  
  <p>What am I doing wrong? </p>
  
  <p>My environment is Erlang: R16B03 in ubuntu 14.04. I use nginx (with ssl enabled). Should I do anything specific with my nginx configuration file?</p>
  
  <p>When i do <code>couchdb -b</code>, I get:</p>
  
  <pre><code>Apache CouchDB needs write permission on the PID file: /var/run/couchdb/couchdb.pid
  </code></pre>
  
  <p>And, when I do <code>sudo chown -R couchdb /var/run/couchdb</code>, I get the following:</p>
  
  <pre><code>chown: cannot access ‘/var/run/couchdb’: No such file or directory
  </code></pre>