CouchDB and Erlang in Update Pack 7, Erlang is crashing

Write tutorials and howtos in here
More tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please, Before you post please read this

CouchDB and Erlang in Update Pack 7, Erlang is crashing

Postby mr.generic.user on Tue Sep 24, 2013 2:15 pm

I looked around for this for a while. After editing a config file, I was able to get error messages to log to files instead of going to /dev/null. The error message was "Erlang is crashing .." after some heartbeat stuff was started. It seems the issue is that in Update Pack 7, Erlang is upgraded to version 16, but couchdb 1.2.0* WILL NOT WORK with that version of Erlang. I was able to find a debian package for CouchDB v1.4.0* here:

http://packages.debian.org/jessie/couchdb

It seems like I might be the only one here that experiments with this database, but if not I hope I have helped someone.

P.S. I put this here in howtos because the last couchdb post about fixing an issue with the package in the mint repo got moved here from software. Based on that I am guessing that the overlords would prefer this here as well instead of under "issues updating to UP7..."
mr.generic.user
Level 1
Level 1
 
Posts: 2
Joined: Fri Apr 27, 2012 12:53 pm

Linux Mint is funded by ads and donations.
 

Re: CouchDB and Erlang in Update Pack 7, Erlang is crashing

Postby jacquarg on Tue Oct 15, 2013 6:04 am

I encounter the same difficulties, solved with the jessie couchdb package to.

Some details to help other people find this solution quicker, until it's solved in mint repositories.

After update to pack 7, couchdb fail silently to start :
Code: Select all
$ sudo service couchdb start
[ ok ] Starting database server: couchdb.
$ sudo service couchdb status
Apache CouchDB is not running.



Launching couchdb by hand show the following message :
Code: Select all
$couchdb
{"init terminating in do_boot",{{badmatch,{error,{{app_would_not_start,ssl},{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


couchdb jessie's package installs smoothly, and solved the problem.
jacquarg
Level 1
Level 1
 
Posts: 1
Joined: Tue Oct 15, 2013 5:52 am

Re: CouchDB and Erlang in Update Pack 7, Erlang is crashing

Postby paulodiovani on Tue Oct 22, 2013 8:16 pm

Same problem here, and also, instaling 1.4.0-3 from jessie worked. But I had to install libjs-underscore before.
paulodiovani
Level 1
Level 1
 
Posts: 1
Joined: Tue Oct 22, 2013 8:08 pm


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 3 guests