Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Single Server 2.x | Couchbase Single Server 2.0 Developer Preview

How to restart Couchbase server on Mac OS X (Binary Package) - [Resolved]

3 replies [Last post]
  • Login or register to post comments
Tue, 07/19/2011 - 08:39
guillaumemaka
guillaumemaka's picture
Offline
Joined: 07/19/2011
Groups: None

Hello everyone, I'm new on this forum, I have a litle problem since have tried to enable vhost. Futon say me that Couchdb server must be restarted, but how do that. I have tried to restart the application, kill all process, restart my mac (I rarely do that), find a command line in the folder application, but nothing, and now, even Futon has completely crashed.

My version of the binary is 2.0.0-dev3.

Thank in advance, for your help.

PS: Sorry for my poor english, if it's no correctly write.

############ Log summary: ###############

[error] [<0.92.0>] {error_report,<0.34.0>,
{<0.92.0>,crash_report,
[[{initial_call,
{supervisor,couch_secondary_sup,['Argument__1']}},
{pid,<0.92.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,{error,{1,erl_parse,"bad term"}}},
[{couch_secondary_sup,'-init/1-lc$^0/1-0-',1},
{couch_secondary_sup,'-init/1-lc$^0/1-0-',1},
{couch_secondary_sup,init,1},
{supervisor,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[couch_server_sup,<0.35.0>]},
{messages,[]},
{links,[<0.81.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,10041}],
[]]}}

=CRASH REPORT==== 19-Jul-2011::12:00:27 ===
crasher:
initial call: supervisor:couch_secondary_sup/1
pid: <0.92.0>
registered_name: []
exception exit: {{badmatch,{error,{1,erl_parse,"bad term"}}},
[{couch_secondary_sup,'-init/1-lc$^0/1-0-',1},
{couch_secondary_sup,'-init/1-lc$^0/1-0-',1},
{couch_secondary_sup,init,1},
{supervisor,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [couch_server_sup,<0.35.0>]
messages: []
links: [<0.81.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 2584
stack_size: 24
reductions: 10041
neighbours:

=CRASH REPORT==== 19-Jul-2011::12:00:27 ===
crasher:
initial call: application_master:init/4
pid: <0.34.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/Users/dustin/work/dev/couch/preview/build/etc/couchdb/default.ini",
"/Users/dustin/work/dev/couch/preview/build/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
ancestors: [<0.33.0>]
messages: [{'EXIT',<0.35.0>,normal}]
links: [<0.33.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 2584
stack_size: 24
reductions: 616
neighbours:

__________________

Relax !!!

Top
  • Login or register to post comments
Tue, 07/19/2011 - 15:38
dustin
Offline
Joined: 03/15/2010
Groups: None

I'm the dustin who broke that for you. Sorry. :/

I fixed it around dev2, but if it already remembered the value it wouldn't help you much. I'm hoping to get time in for a retroactive fix for the next build. In the meantime, if you go into the configuration screen from the admin console ( http://127.0.0.1:5984/_utils/config.html ) and set coffeescript query_server to bin/couchjs share/couchdb/server/main-coffee.js it should do the right thing.

Top
  • Login or register to post comments
Tue, 07/19/2011 - 16:58
guillaumemaka
guillaumemaka's picture
Offline
Joined: 07/19/2011
Groups: None

Yes I see it reading all the .plist/ini file for the app and fix it, and another error what I do in the configuration (a syntax error ), and it work now, thank you Dustin !

For everyone that cannot access to the configuration web interface, modify the section

[query_servers]
javascript = bin/couchjs share/couchdb/server/main.js
coffeescript = bin/couchjs share/couchdb/server/main-coffee.js

in those files:

"/Users/{username}/Library/Preferences/couchbase-server.ini" (It work for me)

and maybe

"/Applications/Couchbase Server.app/Contents/Resources/couchdbx-core/etc/couchdb/default.ini That's it ! And Relax !

__________________

Relax !!!

Top
  • Login or register to post comments
Mon, 02/27/2012 - 01:53
jadeR
Offline
Joined: 02/27/2012
Groups: None

I'm not really an expert when it comes to matters like this but I'm pretty sure you'll be interested to read an article I found recently. It's in here: Stay perky with Caffeine Zone app

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker