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 7908E9E26 for ; Sat, 24 Dec 2011 19:25:50 +0000 (UTC) Received: (qmail 44901 invoked by uid 500); 24 Dec 2011 19:25:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44850 invoked by uid 500); 24 Dec 2011 19:25: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 44842 invoked by uid 99); 24 Dec 2011 19:25:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 19:25:48 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 19:25:40 +0000 Received: by vbbfk1 with SMTP id fk1so10658062vbb.11 for ; Sat, 24 Dec 2011 11:25:19 -0800 (PST) Received: by 10.52.65.52 with SMTP id u20mr9651916vds.68.1324754719388; Sat, 24 Dec 2011 11:25:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.167.202 with HTTP; Sat, 24 Dec 2011 11:24:58 -0800 (PST) X-Originating-IP: [68.4.109.196] In-Reply-To: References: From: Mark Hahn Date: Sat, 24 Dec 2011 11:24:58 -0800 Message-ID: Subject: Re: starting couch on linux boot from build-couchdb To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=bcaec50166a576b3e804b4db7e5b X-Virus-Checked: Checked by ClamAV on apache.org --bcaec50166a576b3e804b4db7e5b Content-Type: text/plain; charset=ISO-8859-1 Thank you very much for your trouble. I will go through these one by one. On Sat, Dec 24, 2011 at 11:00 AM, Marcello Nuccio wrote: > I have only a few sparse thoughts: > > - you can get latest log lines at http://localhost:5984/_log > > - have a look at /root/build-couchdb/build/etc/init.d/couchdb or > consider using upstart (I have posted here a sample startup script a > few days ago) > > - first check if default configuration works fine, then change one > configuration option and check again. Iterate until the problem shows > up. > > - being root is not enough to avoid permission problems. > > HTH, > Marcello > > 2011/12/24 Mark Hahn : > >> Have you looked into > /root/build-couchdb/build/var/log/couchdb/couch.log ? > > > > Thanks for pointing that out. That file only has old info in it since I > > changed /root/build-couchdb/build/etc/couchdb/local.ini to the settings > > shown here. > > > > --------------- local.ini -------------- > > [couchdb] > > database_dir = /mnt/db/couch_dbs > > view_index_dir = /mnt/db/couch_views > > uri_file = /mnt/db/couch.uri > > > > [httpd] > > bind_address = 0.0.0.0 > > > > [couch_httpd_auth] > > secret = xxxxxxxxxxxxxxxxxxxxxx > > require_valid_user = true > > > > [log] > > level = debug > > include_sasl = false > > file = /mnt/db/couch.log > > > > [admins] > > root = -xxxxxxxxxxxxxxxxxxxxxxxxxx > > > > [uuids] > > algorithm = utc_random > > > > > > After booting, /mnt/db/ is there, but the log file is missing. It isn't > > being created. There is no permission issue since everything is running > as > > root. > > > > I just now discovered that when I run couchdb manually, futon works fine > > but I'm still not getting a log file created. > > > > Is it possible this log problem is the root of the big problem? Can I > > debug to find out where the log is ending up? I did a find / -name > > *couchdb.log and only the one old location showed up. Can couch run > > without a log file? > > > > I looked at the db configuration using futon and it matched my local.ini > > file. > > > > Have I given any new hints to the problem? I need more help. > --bcaec50166a576b3e804b4db7e5b--