Well, in my laptop that runs Linux Mint 12, the service that is listening on the port 5984 is beam. Look for the
nestat -pla command in my system:

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:ipp *:* LISTEN 950/cupsd tcp 0 0 localhost:postgresql *:* LISTEN 1261/postgres tcp 0 0 localhost:9050 *:* LISTEN 1640/tor tcp 0 0 localhost:8123 *:* LISTEN 1631/polipo tcp 0 0 localhost:5984 *:* LISTEN 1602/beam tcp 0 0 localhost:4001 *:* LISTEN 1549/mix

What shows this command in your system?

regards

On 03/08/2012 03:28 PM, Mark Crispin wrote:
Thank you Marcos -

In all compilations (couchdb, erl, etc.) the build command was
        make&&  sudo make install
Thus, everything should be the source default.

The directory /usr/local/var/log/couchdb is empty. That is the directory
pointed to by /usr/local/etc/logrotate.d/couchdb

Regards,

-- Mark --

On Thu, 8 Mar 2012, Marcos Ortiz wrote:
Regards, Mark.
Can you provide a little more information?
For example:
1- Which were the options that you used on the couchdb´s compilation?
2- What about the couchdb´s log? What says to you?

Best wishes


On 03/08/2012 02: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:
        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
[email protected] | +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



--
Marcos Luis Ortíz Valmaseda
Sr. Software Engineer (UCI)
http://marcosluis2186.posterous.com
http://postgresql.uci.cu/blog/38



Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

mark crispin: senior software engineer
[email protected] | +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



Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com


--
Marcos Luis Ortíz Valmaseda
 Sr. Software Engineer (UCI)
 http://marcosluis2186.posterous.com
 http://postgresql.uci.cu/blog/38



Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

Reply via email to