one last try: I found a nice summary of installing couchdb on ubuntu here:
http://jhcore.com/category/ubuntu/
I still get a runtime error on startup, but I'm seeing a lot more
debugging info, and I have a crash dump (attached).
couch 0.7.2 (LogLevel=info)
Apache CouchDB is starting.
[error] [<0.47.0>] {error_report,<0.45.0>,
{<0.47.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,{'EXIT',{error,{open_error,-10}}}},
{offender,[{pid,undefined},
{name,couch_util},
{mfa,{couch_util,
start_link,
["/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib"]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]}]}}
=SUPERVISOR REPORT==== 5-Jun-2008::10:19:56 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: {'EXIT',{error,{open_error,-10}}}
Offender: [{pid,undefined},
{name,couch_util},
{mfa,{couch_util,start_link,
["/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib"]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
Config Info /usr/local/etc/couchdb/couch.ini:
CurrentWorkingDir=/home/bradk
DbRootDir=/usr/local/var/lib/couchdb
HttpConfigFile=couch_httpd.conf
LogFile=/usr/local/var/log/couchdb/couch.log
UtilDriverDir=/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib
DbUpdateNotificationProcesses=
FullTextSearchQueryServer=
javascript=/usr/local/bin/couchjs
/usr/local/share/couchdb/server/main.js
=CRASH REPORT==== 5-Jun-2008::10:19:56 ===
crasher:
pid: <0.45.0>
registered_name: []
error_info: {shutdown,{couch_server,start,[normal,[]]}}
initial_call: {application_master,init,
[<0.5.0>,
<0.44.0>,
{appl_data,
couch,
[couch_server,
couch_server_sup,
couch_util,
couch_query_servers,
couch_ft_query],
undefined,
{couch_server,[]},
[couch_btree,
cjson,
couch_db,
couch_doc,
couch_query_servers,
couch_file,
couch_server,
couch_server_sup,
couch_stream,
couch_view_group,
couch_util,
mod_couch,
couch_db_sup,
couch_event_sup,
couch_db_update_notifier,
couch_ft_query,
couch_log,
couch_rep],
[],
infinity,
infinity},
normal]}
ancestors: [<0.44.0>]
messages: [{'EXIT',<0.46.0>,normal}]
links: [<0.44.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 233
stack_size: 21
reductions: 91
neighbours:
=INFO REPORT==== 5-Jun-2008::10:19:56 ===
application: couch
exited: {shutdown,{couch_server,start,[normal,[]]}}
type: permanent
{"Kernel pid
terminated",application_controller,"{application_start_failure,couch,{shutdown,{couch_server,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller)
({application_start_failure,couch,{shutdown,{couch_server,start,[normal,[]]}}})
[EMAIL PROTECTED]:~$
On Thu, Jun 5, 2008 at 9:36 AM, Brad King <[EMAIL PROTECTED]> wrote:
> Bob, I'm not using 64 bit so I use just lib instead of lib64. I gather
> from your post that the startup error is likely an erlang problem? I
> didn't see anything logged at all. Getting back to trying to install
> erlang from source, I was missing ncurses (see previous post of mine).
> I can't get ncurses to install though:
>
> [EMAIL PROTECTED]:/usr/local$ sudo apt-get install ncurses
> Password:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package ncurses is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package ncurses has no installation candidate
>
> I'm starting to think I need to give up on ubuntu and start over on a
> red hat vm.
>
> On Wed, Jun 4, 2008 at 5:51 PM, Bob Briski <[EMAIL PROTECTED]> wrote:
>> Did you try lib64, your paste just has lib.
>>
>> Also, I found that I had to install a more recent version of erlang. I
>> built erlang from source, rather than installing the binary.
>>
>> Bob
>>
>> On Jun 4, 2008, at 2:37 PM, Brad King wrote:
>>
>>> Unfortunately it didn't work for me. I had to add export in front of
>>> the command, which I assume is correct.
>>>
>>> [EMAIL PROTECTED]:/usr/local$ export
>>> LD_LIBRARY_PATH=/usr/local/spidermonkey/lib couchdb
>>> [EMAIL PROTECTED]:/usr/local$ sudo -u couchdb couchdb
>>> couch 0.7.3a662495 (LogLevel=info)
>>> Apache CouchDB is starting.
>>>
>>> {"init terminating in do_boot",{error,{open_error,-10}}}
>>> init terminating in do_boot ()
>>>
>>> I also went in and set the home directory for the user to
>>> /usr/local/var/lib/couchdb, but no change.
>>>
>>>
>>> On Wed, Jun 4, 2008 at 5:22 PM, Mark James Adams
>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Bob,
>>>>
>>>>> LD_LIBRARY_PATH=/usr/local/spidermonkey/lib64 couchdb
>>>>>
>>>>> If that works, you know the problem is that LD_LIBRARY_PATH is not set
>>>>> for
>>>>> the couchdb user.
>>>>
>>>> That's solved it for me. Thank you thank you thank you. :-)
>>>>
>>>> --
>>>> Mark James Adams
>>>> http://raysend.com/mark/
>>>>
>>
>>
>