From user-return-20011-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Mar 9 01:25:11 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 9493298BB for ; Fri, 9 Mar 2012 01:25:11 +0000 (UTC) Received: (qmail 32239 invoked by uid 500); 9 Mar 2012 01:25:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32084 invoked by uid 500); 9 Mar 2012 01:25:09 -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 32065 invoked by uid 99); 9 Mar 2012 01:25:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 01:25:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mlortiz@uci.cu designates 200.55.140.180 as permitted sender) Received: from [200.55.140.180] (HELO mx3.uci.cu) (200.55.140.180) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Mar 2012 01:25:03 +0000 Received: (qmail 23199 invoked by uid 507); 9 Mar 2012 01:24:37 -0000 Received: from 10.0.0.188 by ns3.uci.cu (envelope-from , uid 501) with qmail-scanner-2.01st (avp: 5.0.2.0. spamassassin: 3.0.6. perlscan: 2.01st. Clear:RC:1(10.0.0.188):. Processed in 0.962264 secs); 09 Mar 2012 01:24:37 -0000 Received: from unknown (HELO ucimail5.uci.cu) (10.0.0.188) by 0 with SMTP; 9 Mar 2012 01:24:36 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by ucimail5.uci.cu (Postfix) with ESMTP id 413A61103E9 for ; Thu, 8 Mar 2012 20:24:36 -0500 (CST) X-Virus-Scanned: amavisd-new at uci.cu Received: from ucimail5.uci.cu ([127.0.0.1]) by localhost (ucimail5.uci.cu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M8N3vk7dGIt2 for ; Thu, 8 Mar 2012 20:24:33 -0500 (CST) Received: by ucimail5.uci.cu (Postfix, from userid 101) id D47CB1103E1; Thu, 8 Mar 2012 20:24:31 -0500 (CST) Received: from [10.8.27.239] (unknown [10.8.27.239]) (Authenticated sender: mlortiz@uci.cu) by ucimail5.uci.cu (Postfix) with ESMTPSA id 616091103E1; Thu, 8 Mar 2012 20:24:31 -0500 (CST) Message-ID: <4F595BCD.3030801@uci.cu> Date: Thu, 08 Mar 2012 20:24:29 -0500 From: Marcos Ortiz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: user@couchdb.apache.org CC: Jason Smith Subject: Re: root References: <8AEBB906-81DF-499D-823A-EA96D54694A5@simons-rock.edu> <9604FC63-6FF7-42BC-B466-2C134F06E5DD@simons-rock.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Well, when you are using RHEL or CentOS with SELinux in restricted mode, you use the setroubleshooter to see what´s happening on the system. You can follow the work of Dominick Grift (domg472@gmail.com) and Daniel Walsh [1] (Principal Software Engineer at Red Hat, responsible for SELinux development on the distribution) on the Fedora SELinux mailing list [2], , because they were working on the update of the SELinux policy to include support for CouchDB. [1] http://danwalsh.livejournal.com [2] selinux@lists.fedoraproject.org Regards On 03/08/2012 07:42 PM, Jason Smith wrote: > Hi, Lauren. It's been a while since I used RHEL or CentOS heavily. Is > it possible that an SELinux setting is preventing something? Perhaps > you could confirm by rebooting with selinux disabled and seeing if > anything changes? > > In general, I want to improve the build-couchdb experience on CentOS > so thanks very much for your feedback and patience. > > Thanks! > > On Fri, Mar 9, 2012 at 7:02 AM, Lauren Dahlin wrote: >> I just don't understand. I don't get any error messages with couchdb -i and >> level=debug, but I'm left hanging when I try to stop the erlang shell. >> couchdb.log just shows that "Apache CouchDB has started on >> http://127.0.0.1:5984". Any ideas for further debugging? >> >> >> On Mar 8, 2012, at 1:19 PM, Dave Cottlehuber wrote: >> >>> On 8 March 2012 17:45, Lauren Dahlin wrote: >>>> Hi All, >>>> I've been using CouchDB with great success on Ubuntu, but unfortunately >>>> due >>>> to other software needs, I am switching to RHEL6. Because I'm on an ec2 >>>> instance, I am trying to run Couchdb from the root user. I used >>>> iriscouch/build-couchdb from github, seemingly without errors. I changed >>>> COUCHDB_USER to root in /etc/default/couchdb, but I'm hanging at startup >>>> after I get the "time to relax" message. I'm thinking this is a >>>> permissions >>>> issue, but don't know how to troubleshoot. >>>> Thanks, >>>> Lauren >>> >>> Hi Laurin, >>> >>> initially the thing is to run CouchDB via: >>> >>> couchdb -i >>> >>> which is interactive and will spit out some messages that might be >>> helpful. >>> >>> How are you starting it at the moment? >>> Do you see anything useful in your couch.log, and have you tried >>> setting local.ini [log] level=debug? >>> >>> Cheers >>> Dave >> > > -- Marcos Luis Ortíz Valmaseda Sr. Software Engineer (UCI) http://marcosluis2186.posterous.com http://postgresql.uci.cu/blog/38 Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com