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 4D0D1D2D0 for ; Wed, 3 Oct 2012 12:02:16 +0000 (UTC) Received: (qmail 78316 invoked by uid 500); 3 Oct 2012 12:02:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 77716 invoked by uid 500); 3 Oct 2012 12:02:03 -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 77669 invoked by uid 99); 3 Oct 2012 12:02:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 12:02:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 12:01:55 +0000 Received: by mail-qa0-f45.google.com with SMTP id s11so1647151qaa.11 for ; Wed, 03 Oct 2012 05:01:34 -0700 (PDT) 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:x-gm-message-state; bh=xTac84dOW+xLDfkVa0P6QgAhd99k6+vMjo5Qz4znqXQ=; b=Yb0azX1tdfYs7WW7GIwJJbPD/xuEItOwErOhkjL9yrBbkfcxoMb3CcnO8uotGvfMfb 3fCCngHQ7NTCyBWcTJaqPeZRYIbvrWnvZd89BpeRMMpT+5xD9B6bA3lss/y307ZEIdK7 oS26gAdWiW3hw4IzaROYj3wh0RF/k7hLf3+S9iRsCpgf1wdNx8gINVs49VP8jIPwjThS KurpurK7KezLgAB+KEy064/muRmeJA+58hAWxjTwwH8c24uvXtQ+0j5dSzx3+OpsrRyt WZUlO8lzKmEFYodNnq/JVUx7lQa5M6MRCSnU9bW8ok49SuR1mjwJKkBQxNYVxCGEpgJa KkHg== MIME-Version: 1.0 Received: by 10.49.49.234 with SMTP id x10mr11290179qen.53.1349265694004; Wed, 03 Oct 2012 05:01:34 -0700 (PDT) Received: by 10.49.35.48 with HTTP; Wed, 3 Oct 2012 05:01:33 -0700 (PDT) X-Originating-IP: [212.17.107.66] In-Reply-To: <1C05AE2905E44F3CBA65FB488C1FBD8A@thenoi.se> References: <1C05AE2905E44F3CBA65FB488C1FBD8A@thenoi.se> Date: Wed, 3 Oct 2012 14:01:33 +0200 Message-ID: Subject: Re: eacces error From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnJo3LKdIJqKWANthrz8Vg+nFBXlJXOqCKGTB6sCdMobhJ3YuIoSUQba6YGHcMm3xxxHzOb On 3 October 2012 13:35, Martin Hewitt wrote: > Hi all, > > I've recently compiled CouchDB from source, on an EC2 instance, and I'm seeing a lot of eacces errors of the form: > > [Wed, 03 Oct 2012 11:32:22 GMT] [error] [<0.19.0>] {error_report,<0.9.0>, > {<0.19.0>,std_error, > "File operation error: eacces. Target: ./mochiweb.beam. Function: get_file. Process: code_server."}} > > > Now I know this is a permissions issue, but I can't work out what permissions I need to change. > > I've changed the owner on the data directories, ERLang directories any many more besides, but I'm still getting the error. > > If anyone could point me in the right direction, I'd be hugely grateful. > > Thanks, > > Martin Most of the info is in here: https://github.com/apache/couchdb/blob/master/INSTALL.Unix#L175-187 and some on the wiki http://wiki.apache.org/couchdb/Installing_on_Ubuntu or similar ones for other linux variants may help. su to the couch user, and then run couchdb interactively `couchdb -i` which sometimes spits out a moment of clarity. IIRC there was a recent-ish example on the user@ mailing list but I unfortunately don't recall the solution! A+ Dave