From user-return-19834-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Feb 16 18:58:56 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE2E89D09 for ; Thu, 16 Feb 2012 18:58:56 +0000 (UTC) Received: (qmail 10341 invoked by uid 500); 16 Feb 2012 18:58:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 10298 invoked by uid 500); 16 Feb 2012 18:58:55 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 10290 invoked by uid 99); 16 Feb 2012 18:58:55 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 18:58:55 +0000 Received: from localhost (HELO mail-iy0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 18:58:55 +0000 Received: by iabz7 with SMTP id z7so4530095iab.11 for ; Thu, 16 Feb 2012 10:58:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.236.73 with SMTP id us9mr19580491igc.16.1329418734340; Thu, 16 Feb 2012 10:58:54 -0800 (PST) Received: by 10.42.6.72 with HTTP; Thu, 16 Feb 2012 10:58:54 -0800 (PST) In-Reply-To: References: Date: Thu, 16 Feb 2012 18:58:54 +0000 Message-ID: Subject: Re: How to start couchdb on Mac OS without restarting the machine? From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable We recommend Home Brew instead of MacPort. > brew install couchdb It then displays the instructions to start on boot; =3D=3D> Caveats If this is your first install, automatically load on login with: mkdir -p ~/Library/LaunchAgents cp /usr/local/Cellar/couchdb/1.1.1/Library/LaunchDaemons/org.apache.cou= chdb.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.apache.couchdb.plist If this is an upgrade and you already have the org.apache.couchdb.plist loa= ded: launchctl unload -w ~/Library/LaunchAgents/org.apache.couchdb.plist cp /usr/local/Cellar/couchdb/1.1.1/Library/LaunchDaemons/org.apache.cou= chdb.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.apache.couchdb.plist Or start manually with: couchdb B. On 16 February 2012 18:40, Peng Yu wrote: > Hi, > > I'm following the MacPort section on > http://wiki.apache.org/couchdb/Installing_on_OSX > > It says > > "$ sudo launchctl load -w > /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist > > and it should be up and accessible via Futon at > http://127.0.0.1:5984/_utils/index.html. It should also be restarted > automatically after reboot (because of the -w flag)." > > I don't know what is Futon here. But I try to access by a browser. It > doesn't appear to work. Is the service not started? I tried the > following command, but I got the following message. Does anybody know > what I am wrong here? Thanks! > > ~/Downloads/readnotes$ couchdb > Apache CouchDB 1.1.1 (LogLevel=3Dinfo) is starting. > > =3DCRASH REPORT=3D=3D=3D=3D 16-Feb-2012::12:08:15 =3D=3D=3D > =A0crasher: > =A0 =A0initial call: couch_event_sup:init/1 > =A0 =A0pid: <0.78.0> > =A0 =A0registered_name: [] > =A0 =A0exception exit: {file_permission_error, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"/opt/local/var/log/couchd= b/couch.log"} > =A0 =A0 =A0in function =A0gen_server:init_it/6 (gen_server.erl, line 313) > =A0 =A0ancestors: [couch_primary_services,couch_server_sup,<0.31.0>] > =A0 =A0messages: [] > =A0 =A0links: [<0.77.0>,<0.6.0>] > =A0 =A0dictionary: [] > =A0 =A0trap_exit: false > =A0 =A0status: running > =A0 =A0heap_size: 377 > =A0 =A0stack_size: 24 > =A0 =A0reductions: 127 > =A0neighbours: > > =3DSUPERVISOR REPORT=3D=3D=3D=3D 16-Feb-2012::12:08:15 =3D=3D=3D > =A0 =A0 Supervisor: {local,couch_primary_services} > =A0 =A0 Context: =A0 =A0start_error > > ..... > > -- > Regards, > Peng