Description of problem: When trying to launch couchdb, a crashing message is displayed. The couchdb server is unreachable. Version-Release number of selected component (if applicable): couchdb-1.1.0-1.mga2.src.rpm How reproducible: always Steps to Reproduce: 1. install couchdb 2. su - couchdb 3. couchdb You get this message: -bash-4.2$ couchdb =CRASH REPORT==== 18-Jul-2011::17:45:28 === crasher: initial call: application_master:init/4 pid: <0.31.0> registered_name: [] exception exit: {{app_would_not_start,ssl}, {couch_app,start, [normal, ["/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]]}} in function application_master:init/4 ancestors: [<0.30.0>] messages: [{'EXIT',<0.32.0>,normal}] links: [<0.30.0>,<0.7.0>] dictionary: [] trap_exit: true status: running heap_size: 987 stack_size: 24 reductions: 155 neighbours: =INFO REPORT==== 18-Jul-2011::17:45:28 === application: couch exited: {{app_would_not_start,ssl}, {couch_app,start, [normal, ["/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]]}} type: temporary
CC: (none) => thomas.bigot
I found the solution: Just install erlang-public_key package, and it works! So, erlang-public_key should be required by couchDB.
Assignee: bugsquad => misc
CC: (none) => fundawang
does it affect mga 1 too ?
CC: (none) => dmorganec
fixed in cauldron
Yes, mga 1 is affected.
ok so i backport the fix in testing
Keywords: (none) => Junior_job
Version: Cauldron => 1Assignee: misc => bugsquadSource RPM: couchdb-1.1.0-1.mga2.src.rpm => couchdb
(In reply to comment #4) > Yes, mga 1 is affected. (In reply to comment #5) > ok so i backport the fix in testing @ D Morgan What happened since? In the changelog, I see: Sat Apr 16 2011 misc <misc> 1.0.2-1.mga1 + Revision: 86162 - update to 1.0.2 Sat Mar 26 2011 dmorgan <dmorgan> 1.0.1-2.mga1 + Revision: 77595 - imported package couchdb
CC: (none) => marja11
(In reply to comment #6) > > @ D Morgan > > What happened since? > Oops, it isn't your package Assigning to maintainer
I submitted the package to updates_testing. ( 1.0.2-1.1 ) Here is the advisory : Couchdb could not be started on Mageia 1, due to a missing requires on a erlang module. This update fix the problem by adding the missing information. For QA, to test, just install it, and do "service couchdb start"
Assignee: misc => qa-bugs
x86_64 I'm not able to reproduce the crash with "service couchdb start" but it shows as not running when attempting to stop it: Before ------ # urpmi couchdb To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") couchdb 1.0.2 1.mga1 x86_64 couchdb-bin 1.0.2 1.mga1 x86_64 erlang-base R14B 1.mga1 x86_64 erlang-crypto R14B 1.mga1 x86_64 erlang-inets R14B 1.mga1 x86_64 erlang-ssl R14B 1.mga1 x86_64 erlang-tools R14B 1.mga1 x86_64 erlang-xmerl R14B 1.mga1 x86_64 24MB of additional disk space will be used. 8.5MB of packages will be retrieved. Proceed with the installation of the 8 packages? (Y/n) y # service couchdb start Starting couchdb: Apache CouchDB has started, time to relax. [ OK ] # service couchdb stop Stopping couchdb: Apache CouchDB is not running. [ OK ] Using Thomas's initial instructions in comment 0 it does show the crash information so the crash is reproducible. After ----- When updating with MageiaUpdate: Sorry, the following package cannot be selected: - couchdb-bin-1.0.2-1.1.mga1.x86_64 (due to unsatisfied erlang-public_key) # urpmi erlang-public_key Installs from core/release so this is affected by bug 2317 and will require this package to be linked to updates. After installing and updating: The following 2 packages are going to be installed: - couchdb-1.0.2-1.1.mga1.x86_64 - couchdb-bin-1.0.2-1.1.mga1.x86_64 # su - couchdb -bash-4.2$ couchdb Apache CouchDB 1.0.2 (LogLevel=info) is starting. Apache CouchDB has started. Time to relax. [info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/ I'm not sure how to test beyond confirming it now starts without error.
Depends on: (none) => 2317
There appears to be a simple "Hello World!" here: http://wiki.apache.org/couchdb/CouchIn15Minutes
Followed the 15 minutes and created a database with something in it and displayed the Hello World! Testing complete x86_64.
Thanks for the link Claire. Successfully created the example database, and confirmed it's contents are viewable on my i586 system. Could someone from the sysadmin team push the srpm couchdb-1.0.2-1.1.mga1.src.rpm from Core Updates Testing to Core Updates and, for bug 2317 link the rpm erlang-public_key from Core Releaes to Core Updates Advisory: This update adds erlang-public_key as a requirement for the couchdb-bin package, as the database server will not start if the package is not installed.
Keywords: (none) => validated_updateCC: (none) => davidwhodgins, sysadmin-bugs
Update pushed.
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED