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 880229C4D for ; Thu, 8 Mar 2012 19:21:17 +0000 (UTC) Received: (qmail 364 invoked by uid 500); 8 Mar 2012 19:21:16 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 260 invoked by uid 500); 8 Mar 2012 19:21:15 -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 252 invoked by uid 99); 8 Mar 2012 19:21:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 19:21:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Mark.Crispin@messagingarchitects.com designates 68.67.42.155 as permitted sender) Received: from [68.67.42.155] (HELO messagingarchitects.com) (68.67.42.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 19:21:09 +0000 Received: from tomobiki-cho.panda.com ([206.124.149.118]) by prod-guard.messagingarchitects.com ([10.200.1.76]) with ESMTP via TCP; Thu, 08 Mar 2012 14:20:47 -0500 X-MailFrom: Mark.Crispin@MessagingArchitects.COM Date: Thu, 8 Mar 2012 11:20:45 -0800 (PST) From: Mark Crispin Sender: mrc@Tomobiki-Cho.apache.org To: user@couchdb.apache.org Subject: couchdb not listening on its port Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) X-NM-SPF-Result: neutral - sender=Mark.Crispin@MessagingArchitects.COM ip=206.124.149.118 X-Mplus-Virus-Scanned: mplusversion: 5.1.Debug ;timestamp: Thu, 08 Mar 2012 14:20:48 -0500 engine: XCFAntiVirus3 Engine; version: 7.03.0049 result: 0 ; ref: str=0001.0A020209.4F590690.00E5,ss=1,re=0.000,fgs=0; status: success; error: none engine: XCFAntiVirus1 Engine; version: 3.0.10/1037 (20110921)/1044/131795221-1342 (20120220)/1444/131858964-6940 (20120305)/10952/131859205-1140 (20120210)/1103/131858954-1121 (20111208)/1081/131795976-1053 (20120120)/1060/131858708- result: 0 ; ref: none; status: success; error: none Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I've been giving the delightful task of figuring out how to make the current version of couchdb run under SLES 2.6.32.54-0.3-pae (not my choice!), and have had a miserable time of it. Here is the procedure that I've followed: ---------- Install Mozilla Spider Monkey: =09http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz Install icu: =09http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-4_8_1_1-RHEL6= -i386.tgz Install CouchDB: =09http://apache.mirrors.hoobly.com//couchdb/1.1.1/apache-couchdb-1.1.1.ta= r.gz =09requires: Mozilla Spider Monkey =09requires: icu Install Erlang: =09http://www.erlang.org/download/otp_src_R15B.tar.gz =09wants: wxWidgets (for wx)? =09wants: fop (documentation only?)? =09wants: Java compiler (for jinterface)? useradd couchdb sudo mkdir ~couchdb sudo chown couchdb ~couchdb sudo chgrp users ~couchdb Remove the -e from the first line of /usr/local/etc/rc.d/couchdb start couchdb - sudo /usr/local/etc/rc.d/couchdb start See if couchdb is listening on its port? - FAIL ---------- OK, so I then find =09http://permalink.gmane.org/gmane.comp.db.couchdb.user/5639 and indeed couchdb is not listening on port 5984 (nor, as far as I can tell from lsof, any other port) but seems to be running according to ps: couchdb 22204 0.0 0.0 2848 1268 ? S Mar07 0:00 /bin/sh -e= /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a /usr/lo= cal/etc/couchdb/local.ini -b -r 5 -p /usr/local/var/run/couchdb/couchdb.= pid -o /dev/null -e /dev/null -R couchdb 22214 0.0 0.0 2848 652 ? S Mar07 0:00 /bin/sh -e= /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a /usr/lo= cal/etc/couchdb/local.ini -b -r 5 -p /usr/local/var/run/couchdb/couchdb.= pid -o /dev/null -e /dev/null -R couchdb 22215 0.0 0.5 14192 7968 ? Sl Mar07 0:34 /usr/local= /lib/erlang/erts-5.9/bin/beam -Bd -K true -A 4 -- -root /usr/local/lib/e= rlang -progname erl -- -home /home/couchdb -- -noshell -noinput -sasl er= rlog_type error -couch_ini /usr/local/etc/couchdb/default.ini /usr/local= /etc/couchdb/local.ini /usr/local/etc/couchdb/default.ini /usr/local/etc= /couchdb/local.ini -s couch -pidfile /usr/local/var/run/couchdb/couchdb.= pid -heart couchdb 22223 0.0 0.0 1664 416 ? Ss Mar07 0:14 heart -pid= 22215 -ht 11 I tried the solution in that web page and it doesn't seem to make a difference, so now I'm stumped. I've spent days on this going through web pages wnd trying various things with no luck. I'm certain that this is something truly simple and stupid, but it has eluded me. Anyone willing to give me a clue-by-four? mark crispin: senior software engineer mark.crispin@netmail.com | +1.514.392.9220 ext 297 | +1.866.497.0101 www.netmail.com | scan | secure | store | search || business driven email eliminate risk - ensure compliance - enhance productivity http://help.netmail.com | find | learn | contribute the only place for everything netmail