MtDalPizzol opened a new issue #970: Startup crashes due to child couch_peruser 
started with bad argument on Ubuntu
URL: https://github.com/apache/couchdb/issues/970
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   After installing and using CouchDB without problems and restarting the 
machine, the CouchDB service can't get started. Here's the output on the log 
file:
   
   ```
   [info] 2017-11-06T18:47:51.316185Z couchdb@localhost <0.203.0> -------- 
Starting couch_sup
   [error] 2017-11-06T18:47:51.367103Z couchdb@localhost <0.215.0> -------- 
CRASH REPORT Process  (<0.215.0>) with 0 neighbors exited with reason: bad 
argument in call to ets:member(mem3_openers, <<"_users">>) at 
mem3_shards:maybe_spawn_sh$
   [error] 2017-11-06T18:47:51.367400Z couchdb@localhost <0.211.0> -------- 
Supervisor couch_secondary_services had child couch_peruser started with 
couch_peruser:start_link() at undefined exit with reason bad argument in call 
to ets:membe$
   [error] 2017-11-06T18:47:51.367742Z couchdb@localhost <0.202.0> -------- 
Error starting Apache CouchDB:
   
       
{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"_users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl$
   
   
   [error] 2017-11-06T18:47:51.367737Z couchdb@localhost <0.203.0> -------- 
Supervisor couch_sup had child couch_secondary_services started with 
couch_secondary_sup:start_link() at undefined exit with reason 
{shutdown,{failed_to_start_chil$
   [error] 2017-11-06T18:47:51.368116Z couchdb@localhost <0.201.0> -------- 
CRASH REPORT Process  (<0.201.0>) with 0 neighbors exited with reason: 
{{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,$
   [info] 2017-11-06T18:47:51.368472Z couchdb@localhost <0.7.0> -------- 
Application couch exited with reason: 
{{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[$
   [info] 2017-11-06T18:47:53.256238Z couchdb@localhost <0.7.0> -------- 
Application couch_log started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.259071Z couchdb@localhost <0.7.0> -------- 
Application folsom started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.284901Z couchdb@localhost <0.7.0> -------- 
Application couch_stats started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.285015Z couchdb@localhost <0.7.0> -------- 
Application khash started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.290274Z couchdb@localhost <0.7.0> -------- 
Application couch_event started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.294063Z couchdb@localhost <0.7.0> -------- 
Application ibrowse started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.297244Z couchdb@localhost <0.7.0> -------- 
Application ioq started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.297362Z couchdb@localhost <0.7.0> -------- 
Application mochiweb started on node couchdb@localhost
   [info] 2017-11-06T18:47:53.302581Z couchdb@localhost <0.202.0> -------- 
Apache CouchDB 2.1.0 is starting.
   
   [info] 2017-11-06T18:47:53.302652Z couchdb@localhost <0.203.0> -------- 
Starting couch_sup
   [error] 2017-11-06T18:47:53.353452Z couchdb@localhost <0.215.0> -------- 
CRASH REPORT Process  (<0.215.0>) with 0 neighbors exited with reason: bad 
argument in call to ets:member(mem3_openers, <<"_users">>) at 
mem3_shards:maybe_spawn_sh$
   [error] 2017-11-06T18:47:53.353723Z couchdb@localhost <0.211.0> -------- 
Supervisor couch_secondary_services had child couch_peruser started with 
couch_peruser:start_link() at undefined exit with reason bad argument in call 
to ets:membe$
   [error] 2017-11-06T18:47:53.354015Z couchdb@localhost <0.203.0> -------- 
Supervisor couch_sup had child couch_secondary_services started with 
couch_secondary_sup:start_link() at undefined exit with reason 
{shutdown,{failed_to_start_chil$
   ```
   
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   CuchDB service should get started.
   <!--- If you're suggesting a change/improvement, tell us how it should work 
-->
   
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected 
behavior -->
   CouchDB service doesn't start.
   <!--- If suggesting a change/improvement, explain the difference from 
current behavior -->
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   1. Install CouchDB
   2. Enable couch_peruser option
   3. Restart the computer
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced 
the bug in -->
   * Version used: 2.1.0
   * Operating System and version (desktop or mobile): Linux Mint 18.1 (Ubuntu 
16.04 - Xenial) and Linux Mint 17.3 (Ubuntu 14.04 - Trusty)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to