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 623CB9539 for ; Thu, 19 Apr 2012 19:41:39 +0000 (UTC) Received: (qmail 1398 invoked by uid 500); 19 Apr 2012 19:41:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 1371 invoked by uid 500); 19 Apr 2012 19:41:37 -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 1362 invoked by uid 99); 19 Apr 2012 19:41:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 19:41:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dave@muse.net.nz designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 19:41:30 +0000 Received: by vcbfl10 with SMTP id fl10so8434441vcb.11 for ; Thu, 19 Apr 2012 12:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=muse.net.nz; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=sTHICt4khakm4vGaAMpsiw6deKkqXYdqVwmoUBfH/Ag=; b=lK7A8Epxqja4kpEnPTd7kWnq6q7u/A/Kobyz0K2i/j3K0tWqxOki35s/Z5uPNeiSBK IBeDXpzygrVWf06KU7wTHrfXoSO3qmPxi3b2c8PHYYBdp+rk8LX/vgtkUQMF++NRws67 j3kUsd/bWXaz2R8qs5Yn5KkBTtjNAmtfLsztA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=sTHICt4khakm4vGaAMpsiw6deKkqXYdqVwmoUBfH/Ag=; b=RRQ37xgs9XhircTzC1cuDIFx5GH138zhnQhe2DzpD9N6TdAnKuglg1JXakCkH2j15S Zlxi+eXr0OEXfDHIhJsZPzaLVNcnWMsaMaQfsX5FABTFcrZPxMchfZ6uDWLk985ba8A+ o/du/vGk1UA4BPJPjJykydShQ6Uwlbm1OTz/u98X4wCss5k1s1MvCMrdddRq3LraTnvR 0V/dDusAJyw8MJ7vrT7k4w7FDq+nG7gCZjOvGw0J1EBWpP+lQ+9g9bOxWDAhzJqffiYH 8u1v54Q+Gxrb5rT+9vupNK+bH9apELgegvFM3Ysz9letgOnfaIibe0C6w5nkx+hwwAJ8 yksw== MIME-Version: 1.0 Received: by 10.220.115.130 with SMTP id i2mr1780707vcq.72.1334864468527; Thu, 19 Apr 2012 12:41:08 -0700 (PDT) Received: by 10.52.107.233 with HTTP; Thu, 19 Apr 2012 12:41:08 -0700 (PDT) X-Originating-IP: [84.112.19.176] In-Reply-To: <30017C23AD7FCA4A8D01BD8F85E1812B11FAE610@CH1PRD0102MB098.prod.exchangelabs.com> References: <30017C23AD7FCA4A8D01BD8F85E1812B11FAE4D0@CH1PRD0102MB098.prod.exchangelabs.com> <30017C23AD7FCA4A8D01BD8F85E1812B11FAE518@CH1PRD0102MB098.prod.exchangelabs.com> <30017C23AD7FCA4A8D01BD8F85E1812B11FAE610@CH1PRD0102MB098.prod.exchangelabs.com> Date: Thu, 19 Apr 2012 21:41:08 +0200 Message-ID: Subject: Re: Running a dev instance of Couch From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnkPFPDT+n6L0ze6BgJFu9KuOWvxQ/DVHfu7sd5tQXie+wp6tsST0zNpFt3mJIQ0+kJGmTA On 19 April 2012 20:57, Heather Airoldi wrote: > Thanks for the instructions Dave. =A0I followed your method on the Wiki, = but unfortunately it does not seem to be working for me. =A0running the "co= uchdb -i -a /tmp/couchdb/etc/couchdb/local.ini" command after following the= instructions says that Apache CouchDB is running, but when I try to access= localhost:5985 it can't connect. =A0Any idea what I did wrong? =A0Here is = my new /tmp/couchdb/etc/couchdb/local.ini file: > > ; CouchDB Configuration Settings > > ; Custom settings should be made in this file. They will override setting= s > ; in default.ini, but unlike changes made to default.ini, this file won't= be > ; overwritten on server upgrade. > > [couchdb] > ;max_document_size =3D 4294967296 ; bytes > database_dir =3D /tmp/couchdb/var/lib/couchdb > view_index_dir =3D /tmp/couchdb/var/lib/couchdb > uri_file =3D /tmp/couchdb/var/run/couchdb/couch.uri > > [httpd] > port =3D 5985 > bind_address =3D 0.0.0.0 > ; Options for the MochiWeb HTTP server. > ;server_options =3D [{backlog, 128}, {acceptor_pool_size, 16}] > ; For more socket options, consult Erlang's module 'inet' man page. > ;socket_options =3D [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] > > ; Uncomment next line to trigger basic-auth popup on unauthorized request= s. > ;WWW-Authenticate =3D Basic realm=3D"administrator" > > ; Uncomment next line to set the configuration modification whitelist. On= ly > ; whitelisted values may be changed via the /_config URLs. To allow the a= dmin > ; to change this value over HTTP, remember to include {httpd,config_white= list} > ; itself. Excluding it from the list would require editing this file to u= pdate > ; the whitelist. > ;config_whitelist =3D [{httpd,config_whitelist}, {log,level}, {etc,etc}] > > [httpd_global_handlers] > ;_google =3D {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.c= om">>} > "/tmp/couchdb/etc/couchdb/local.ini" 81L, 320 > > Thanks, > Heather > ________________________________________ > From: Dave Cottlehuber [dave@muse.net.nz] > Sent: Thursday, April 19, 2012 5:35 AM > To: user@couchdb.apache.org > Subject: Re: Running a dev instance of Couch > > On 19 April 2012 10:46, Dave Cottlehuber wrote: >> mkdir -p $NEW/var/{lib,etc,run}/couchdb/ >> [additional embarrassing errors omitted] > > Typically I flubbed the cut-n-paste, a corrected version is on the > wiki so that future foobars will not be recorded in mailing list > perpetuity for my eternal shame. > > http://wiki.apache.org/couchdb/Additional_Instances Do you have the [log] section too? [log] file =3D /tmp/couchdb/var/log/couchdb/couch.log If you do IRC, pop on & ping me @dch if this isn't working still. A+ Dave