You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/06/16 14:59:30 UTC

[Couchdb Wiki] Update of "ErrorMessages" by NoahSlater

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by NoahSlater:
http://wiki.apache.org/couchdb/ErrorMessages

New page:
Explanation and solution of error messages you may experience while using CouchDB.

== Incorrect LD_LIBRARY_PATH ==

=== Problem ===

{{{
$ couchdb      
Apache CouchDB 0.8.0-incubating (LogLevel=info)
Apache CouchDB is starting.

{"init terminating in do_boot",{error,{open_error,-10}}​}

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

=== Solution ===

You must correctly set your LD_LIBRARY_PATH environment variable so that it picks up your installed libraries.

Example running as normal user:

{{{
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/js/lib couchdb
}}}

Example running as `couchdb` user:

{{{
echo LD_LIBRARY_PATH=/usr/local/lib:/usr/local/js/lib couchdb | sudo -u couchdb sh
}}}