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 (not my
choice!), and have had a miserable time of it. Here is the procedure that
I've followed:

Install Mozilla Spider Monkey:

Install icu:

Install CouchDB:
 	requires: Mozilla Spider Monkey
 	requires: icu

Install Erlang:
 	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
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/
-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/
-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  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 | +1.514.392.9220 ext 297 | +1.866.497.0101 | scan | secure | store | search || business driven email
eliminate risk - ensure compliance - enhance productivity | find | learn | contribute
the only place for everything netmail

View raw message