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 2DFCB92EA for ; Wed, 1 Feb 2012 03:38:16 +0000 (UTC) Received: (qmail 29230 invoked by uid 500); 1 Feb 2012 03:29:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29209 invoked by uid 500); 1 Feb 2012 03:29:45 -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 29194 invoked by uid 99); 1 Feb 2012 03:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 03:29:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.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; Wed, 01 Feb 2012 03:29:29 +0000 Received: by vbih1 with SMTP id h1so883906vbi.11 for ; Tue, 31 Jan 2012 19:29:08 -0800 (PST) Received: by 10.52.90.171 with SMTP id bx11mr12186729vdb.26.1328066948170; Tue, 31 Jan 2012 19:29:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.17.144 with HTTP; Tue, 31 Jan 2012 19:28:48 -0800 (PST) X-Originating-IP: [68.4.109.196] In-Reply-To: References: From: Mark Hahn Date: Tue, 31 Jan 2012 19:28:48 -0800 Message-ID: Subject: Re: duplicate lines in futon config screen To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf3071c97caf031604b7deae0b --20cf3071c97caf031604b7deae0b Content-Type: text/plain; charset=ISO-8859-1 > I bet you could strace the couch process when it starts and look at all the fread calls to find out what files its reading. I had never heard of strace. It looks great. Unfortunately this is what I got when I added strace to the beginning of a cmd line that worked. I assume I'm not using it correctly. $ strace /root/build-couchdb/build/bin/couchdb start execve("/root/build-couchdb/build/bin/couchdb", ["/root/build-couchdb/build/bin/co"..., "start"], [/* 31 vars */]) = -1 ENOEXEC (Exec format error) dup(2) = 3 fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7741000 _llseek(3, 0, 0xbfd297f4, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error ) = 32 close(3) = 0 munmap(0xb7741000, 4096) = 0 exit_group(1) = ? --20cf3071c97caf031604b7deae0b--