Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 19156 invoked from network); 26 Apr 2009 00:36:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Apr 2009 00:36:43 -0000 Received: (qmail 2451 invoked by uid 500); 26 Apr 2009 00:36:42 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 2354 invoked by uid 500); 26 Apr 2009 00:36:42 -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 2344 invoked by uid 99); 26 Apr 2009 00:36:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 00:36:42 +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 (athena.apache.org: domain of madocdoyu@gmail.com designates 209.85.219.166 as permitted sender) Received: from [209.85.219.166] (HELO mail-ew0-f166.google.com) (209.85.219.166) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 00:36:32 +0000 Received: by ewy10 with SMTP id 10so1644679ewy.11 for ; Sat, 25 Apr 2009 17:36:11 -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=QvXtvVhq1OOLDVTao7knLHg+5j1T8LT0/dCNtkSPo3I=; b=bzQAdHnyu8ya+uaOfAbyZSN9/QdrqplmmkVFHpUpALjBjiEJddVHfUvPBk8QXl6Vup DOWCyOUHDg7XCr4JKE4FQ05ujPRzZpyxcZhgMtAaAn3BnzdFYRkS/fCGvDvMQ+YMhhaK cYVt6Cn3YH6Me/xpgsfJx9UmQu2SX1yvIpUOE= 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=Ff+CaEugCCOW5BSk0Tr+EkBf2U6UvzsyIF2HBj8PhDX+gD0WgKFzmkcaJbtGsWCUyA H+MhlCMGgOpToRXwZ8vJkfzHMkdkkQFwQYQKjPEqpuRmkiYFWd32xSFhRTYaydv+eE58 mNo1G5+KOESDh6n8o67BVh6BdbqCMwepeBv8o= Received: by 10.210.58.17 with SMTP id g17mr4098632eba.47.1240706171417; Sat, 25 Apr 2009 17:36:11 -0700 (PDT) Received: from ?192.168.178.20? (BAG34dd.bag.pppool.de [77.134.52.221]) by mx.google.com with ESMTPS id 9sm3591149ewy.81.2009.04.25.17.36.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Apr 2009 17:36:11 -0700 (PDT) Message-Id: <9B37965F-1A2D-4F69-97B5-F14330CA6621@googlemail.com> From: Matthias Deja To: user@couchdb.apache.org In-Reply-To: <808F4972-76A7-4E65-97FA-962A01F84A71@googlemail.com> 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:36:09 +0200 References: <44419452-8BF8-431E-8BCA-E77AE2F7F098@googlemail.com> <808F4972-76A7-4E65-97FA-962A01F84A71@googlemail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org I just started couchdb with the root user ("sudo couchdb"). Result: It worked! Now, there is obviously something really amiss with the user rights for the CouchDB files on my system. But how do I find out what is wrong? Even the debug log did not seem to spit out any helpful information. Am 26.04.2009 um 02:28 schrieb Matthias Deja: > 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. >>> >