jhs / build-couchdb

Batteries-included CouchDB build system
68 stars 17 forks source link

Crash Report on Start #3

Closed ghost closed 14 years ago

ghost commented 14 years ago

I get an error when starting couchdb. More interestng however, is that if I close the terminal after the crash, open a new terminal and type couchdb (either at the user level or /build) I get "command not found" until I delete and rebuild.

dts-iMac:build dt$ couchdb

Apache CouchDB 1.1.0af3442c2-git (LogLevel=info) is starting.

=CRASH REPORT==== 10-Jul-2010::06:21:35 === crasher: initial call: application_master:init/4 pid: <0.31.0> registered_name: [] exception exit: {bad_return, {{couch_app,start, [normal, ["/Users/dt/build-couchdb/build/etc/couchdb/default.ini", "/Users/dt/build-couchdb/build/etc/couchdb/local.ini"]]}, {'EXIT', "dlopen(/Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_43\n Referenced from: /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so"}}} 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: 2584 stack_size: 24 reductions: 249 neighbours:

=INFO REPORT==== 10-Jul-2010::06:21:35 === application: couch exited: {bad_return,{{couch_app,start, [normal, ["/Users/dt/build-couchdb/build/etc/couchdb/default.ini", "/Users/dt/build-couchdb/build/etc/couchdb/local.ini"]]}, {'EXIT',"dlopen(/Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_43\n Referenced from: /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so"}}} type: temporary

jhs commented 14 years ago

Interesting

The ". ruby-inabox/env.sh" command is always required before running the build because it sets the PATH and other things.

After you close the terminal and re-open, are you re-running the ". ruby-inabox/env.sh" command?

Thanks.

jhs commented 14 years ago

If you don't mind, let's have this issue be about the shell problem, and perhaps open another issue if you still have the crash? Thanks!

ghost commented 14 years ago

Ah thanks for the clarification that ". ruby-inabox/env.sh" must be run each time prior to the build being run. When it crashed the terminal hangs and I opened a new terminal window without knowing it must be compiled again before typing the command "couchdb". How does one recover a crashed db? I'm going to build again and open a new ticket if I still get a crash

jhs commented 14 years ago

I see. For now, the main objective is a completely independent, isolated couchdb. It is minimally dependent on the OS, not installed in the $PATH, etc. Unfortunately yes that means you must source the env.sh file every time you want to use this couchdb. (You could put that in your .profile though.)

After the build completes, sourcing the file again will just take a second. (It does not rebuild.)

ghost commented 14 years ago

after a re-clone

very functional. fantastic!

what grunt work do you need me to do?