On 28 February 2011 14:11, mlanza <[email protected]> wrote:
> Instead I get a crash report. I'm on Ubuntu 10.04. Looks like some flavor
> of couch was installed by default. I tried to remove it and install from
> source.
>
> Any ideas?
>
> Apache CouchDB 1.0.2 (LogLevel=info) is starting.
>
> =CRASH REPORT==== 27-Feb-2011::20:09:53 ===
> crasher:
> initial call: couch_event_sup:init/1
> pid: <0.81.0>
> registered_name: []
> exception exit: {{badmatch,
> {'EXIT',
> {{badmatch,{error,eacces}},
> pid: <0.32.0>
> registered_name: []
> exception exit: {bad_return,
> {{couch_app,start,
> [normal,
> ["/usr/local/etc/couchdb/default.ini",
> "/usr/local/etc/couchdb/local.ini"]]},
> {'EXIT',
> {{badmatch,{error,shutdown}},
> [{couch_server_sup,start_server,1},
> {application_master,start_it_old,4}]}}}}
> in function application_master:init/4
Hi,
eacces = can't access files = permissions problems.
A number of fixes here http://wiki.apache.org/couchdb/Error_messages
halfway down. A common problem is running as root once & then having
logfiles, dbfiles, or similar owned as root & you are trying to run as
user couchdb.
There's already a couchdb (desktopcouch) on ubuntu by default; I'm not
an expert on this but this might be related to some of your issues.
you might want to try @jhs https://github.com/couchone/build-couchdb
as a quick start - it builds a standalone couch & shouldn't get in the
way of existing stuff.
A+
Dave