From user-return-4577-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sun Apr 26 00:28:49 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 16580 invoked from network); 26 Apr 2009 00:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Apr 2009 00:28:49 -0000 Received: (qmail 97780 invoked by uid 500); 26 Apr 2009 00:28:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97683 invoked by uid 500); 26 Apr 2009 00:28:48 -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 97673 invoked by uid 99); 26 Apr 2009 00:28:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 00:28:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FB_WORD1_END_DOLLAR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of madocdoyu@gmail.com designates 74.125.78.27 as permitted sender) Received: from [74.125.78.27] (HELO ey-out-2122.google.com) (74.125.78.27) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 00:28:37 +0000 Received: by ey-out-2122.google.com with SMTP id d26so332924eyd.29 for ; Sat, 25 Apr 2009 17:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=wK03iGzrYEZBKzDn+3Dh/T6oQsfjI0I1Ywkcqso4bFw=; b=xSfBrHB9cQXf/QjigG/Jyf9xBqZufhd3szX+5tde9vyw40GN2Ad3G1hCxxKHPhPp/x RqY1XecIdJvM9xSi+0EgMN/G4czg3Vq0eo+0INcxniMo+W1dM1hrGzYZ/caggXj47kBD Pm0GG2ubMiTcgewBKaTHMQ4vj7x/MEzzbeflE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=D2oHpjoTAdyACdKnQ71Bv4tMsfo29+XMZ+Pc5QJ8U36oMMmeLVKyX+TmKBh3REBuKD IFxdhRoI1fGVCaXWJ58yoB63wv1intHZIqRSDu73IGHUTiQH5b65IgQEUeOtqXvF9q7F gqHtn+3wdglZTYU4M0lv+lqtI+Ud8Bm0khDpg= Received: by 10.210.67.4 with SMTP id p4mr3056345eba.63.1240705697379; Sat, 25 Apr 2009 17:28:17 -0700 (PDT) Received: from ?192.168.178.20? (BAG34dd.bag.pppool.de [77.134.52.221]) by mx.google.com with ESMTPS id 10sm3615524ewy.36.2009.04.25.17.28.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Apr 2009 17:28:16 -0700 (PDT) Message-Id: <808F4972-76A7-4E65-97FA-962A01F84A71@googlemail.com> From: Matthias Deja To: user@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Only getting "eacces" after port install on Mac OS X Date: Sun, 26 Apr 2009 02:28:15 +0200 References: <44419452-8BF8-431E-8BCA-E77AE2F7F098@googlemail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Hello Paul, thanks for the quick response. You are correct about the location of couchdb on Mac OS. Unfortunately, the error stays the same on my system. I ran the chown, which did not help. Also, I checked the config file under: /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist (Is there another CouchDB init file anywhere?) - This file seems to contain all the right paths. In order to find out if CouchDB runs under the right user, I did: <<< Nova:lib madoc$ ps -U couchdb PID TT STAT TIME COMMAND 622 ?? SNs 0:00.20 /System/Library/Frameworks/ CoreServices.framework/Frameworks/Metadata.fr 626 ?? Ss 0:00.76 /opt/local/lib/erlang/erts-5.6.5/bin/beam - Bd -K true -- -root /opt/loca >>> Looks oky to me. I also restarted the service. But the error stays the same on my system. By the way: The CouchDB lib directory (/opt/local/var/lib/couchdb) is empty, except for .turd_couchdb. Shall it be this way? Thanks, Madoc. Am 26.04.2009 um 01:52 schrieb Paul Davis: > Madoc, > > From what you describe it sounds very much like the couchdb user is > unable to write to the lib directory. I'm not extensively familiar > with the ports version, but you'll want to make sure that the lib > directory is writable by the user running couchdb. I know you said > that you changed the owner but some things to double check: > > My guess is that the couchdb lib directory for a port installed > version is at /opt/local/lib/couchdb > > You need to make sure that this directory has write permissions for > the user running couchdb. You might want to try something like: > > $ sudo chown -R couchdb:couchdb /opt/local/lib/couchdb > > Also, you can check the ini files for the root directory to make sure > that the lib direcotry is /op/local/lib/couchdb if things are still > broken. Also, you can double check that the beam process is running as > the couchdb user with top. > > Other than that, I haven't got many pointers, but seeing as couchdb > starts and you can visit futon this definitely sounds like a weird > permissions error. > > HTH, > Paul Davis > > On Sat, Apr 25, 2009 at 7:36 PM, Matthias Deja > wrote: >> Hello, >> >> I installed CouchDB just a few minutes ago on my MacOS X 10.5 >> system. As >> documented in the CouchDB Wiki, I used "port" to install CouchDB. >> >> CouchDB is started, and I can use Futon on my web browser. However, >> on all >> tests from the test suite and when trying to create a database, I >> get an >> "eacces" error message. >> >> Probably the error is simple to solve, but I do not know how. >> Please help >> me. I already tried rebooting (no manual starting of CouchDB was >> required, >> because I installed it as a service), and I tried changing the >> owner of the >> CouchDB log and lib directories to "couchdb". The error message >> stays the >> same. >> >> My knowledge of Unix is present, but very limited. However, if You >> tell me >> which commands to enter, I will do so and send You the result. >> >> Thanks very much! >> Madoc. >>