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 691E99E98 for ; Thu, 8 Mar 2012 21:46:14 +0000 (UTC) Received: (qmail 99862 invoked by uid 500); 8 Mar 2012 21:46:12 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99824 invoked by uid 500); 8 Mar 2012 21:46:12 -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 99814 invoked by uid 99); 8 Mar 2012 21:46:12 -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 21:46:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 21:46:07 +0000 Received: by vcbfl10 with SMTP id fl10so1092280vcb.11 for ; Thu, 08 Mar 2012 13:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=mbJKkWmaaUCxRoynj83m89pbBJL7piMIKBz1n02yNa0=; b=Ybz1BUN4CUH1TvOQIBZT7myYED0FKNTngH+x8JurkpDT8ywk8W0nCQVBo2g33pyKWo z+olw0glzEuuFotgMRDhdU20dbGxBP60GHidhzAvyRyz2cMOYlyAG2q4aa6Xmzia9WNN cgFztyroFKSWV5uqrvw7plZEdxfGeMPD5nABzW2RWZVyQ0oqYfPxm8vL3B0Vhab7ofV3 eLLVnxSW6xDOQtRFHpeNQ2T1d0NFYz9B6pGVAMWzzaJQofMb9FadZzzJDxBvEo0LvXYd JtoxYn7KJVs1AztUHs1PRRxTgA4TAX3XCQBtI7ZNVh9YesVCeSyQtmfylBO7X9ot72mM 3WNg== Received: by 10.52.28.200 with SMTP id d8mr12813458vdh.38.1331243146428; Thu, 08 Mar 2012 13:45:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.218.132 with HTTP; Thu, 8 Mar 2012 13:45:05 -0800 (PST) In-Reply-To: References: From: Paul Davis Date: Thu, 8 Mar 2012 15:45:05 -0600 Message-ID: Subject: Re: couchdb not listening on its port To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Mar 8, 2012 at 1:20 PM, Mark Crispin wrote: > 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: > =A0 =A0 =A0 =A0http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.= gz > > Install icu: > =A0 =A0 =A0 =A0http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-= 4_8_1_1-RHEL6-i386.tgz > > > Install CouchDB: > =A0 =A0 =A0 =A0http://apache.mirrors.hoobly.com//couchdb/1.1.1/apache-cou= chdb-1.1.1.tar.gz > =A0 =A0 =A0 =A0requires: Mozilla Spider Monkey > =A0 =A0 =A0 =A0requires: icu > > Install Erlang: > =A0 =A0 =A0 =A0http://www.erlang.org/download/otp_src_R15B.tar.gz > =A0 =A0 =A0 =A0wants: wxWidgets (for wx)? > =A0 =A0 =A0 =A0wants: fop (documentation only?)? > =A0 =A0 =A0 =A0wants: Java compiler (for jinterface)? > For Erlang you should be able to "touch lib/wx/SKIP" to disable its requirement for wx. fop and the JVM are soft dependencies. You can compile without either of those just fine. I usually force java to not build by specifying --without-javac just so I don't have to groan as it compiles 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 > =A0 =A0 =A0 =A0http://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 =A022204 =A00.0 =A00.0 =A0 2848 =A01268 ? =A0 =A0 =A0 =A0S =A0 = =A0Mar07 =A0 0:00 /bin/sh -e /usr/local/bin/couchdb -a /usr/local/etc/couch= db/default.ini -a /usr/local/etc/couchdb/local.ini -b -r 5 -p /usr/local/va= r/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R > couchdb =A022214 =A00.0 =A00.0 =A0 2848 =A0 652 ? =A0 =A0 =A0 =A0S =A0 = =A0Mar07 =A0 0:00 /bin/sh -e /usr/local/bin/couchdb -a /usr/local/etc/couch= db/default.ini -a /usr/local/etc/couchdb/local.ini -b -r 5 -p /usr/local/va= r/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R > couchdb =A022215 =A00.0 =A00.5 =A014192 =A07968 ? =A0 =A0 =A0 =A0Sl =A0 M= ar07 =A0 0:34 /usr/local/lib/erlang/erts-5.9/bin/beam -Bd -K true -A 4 -- -= root /usr/local/lib/erlang -progname erl -- -home /home/couchdb -- -noshell= -noinput -sasl errlog_type error -couch_ini /usr/local/etc/couchdb/default= .ini /usr/local/etc/couchdb/local.ini /usr/local/etc/couchdb/default.ini /u= sr/local/etc/couchdb/local.ini -s couch -pidfile /usr/local/var/run/couchdb= /couchdb.pid -heart > couchdb =A022223 =A00.0 =A00.0 =A0 1664 =A0 416 ? =A0 =A0 =A0 =A0Ss =A0 M= ar07 =A0 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 >