couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Crispin <Mark.Cris...@MessagingArchitects.COM>
Subject couchdb not listening on its port
Date Thu, 08 Mar 2012 19:20:45 GMT
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:
 	http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz

Install icu:
 	http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-4_8_1_1-RHEL6-i386.tgz


Install CouchDB:
 	http://apache.mirrors.hoobly.com//couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz
 	requires: Mozilla Spider Monkey
 	requires: icu

Install Erlang:
 	http://www.erlang.org/download/otp_src_R15B.tar.gz
 	wants: wxWidgets (for wx)?
 	wants: fop (documentation only?)?
 	wants: 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
 	http://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/local/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/local/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/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 /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


Mime
View raw message