Hi Andy, On Sun, Oct 4, 2009 at 8:29 PM, Andreas Wenk <[email protected]> wrote: > Hi there, > > I have some trouble getting CouchDB to start. > > I have a local Ubuntu (Linux duke 2.6.28-15-generic #49-Ubuntu SMP Tue Aug > 18 18:40:08 UTC 2009 i686 GNU/Linux) and CouchDB trunk (rev 821585). As > usual, I followed the advice in the README (adduser, chmod, chown). Now > starting CouchDB: > > $ sudo -i -u couchdb couchdb -b > Apache CouchDB has started, time to relax. > > $ ps -ef > couchdb 9203 1 0 21:21 pts/1 00:00:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a / > couchdb 9212 9203 0 21:21 pts/1 00:00:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a / > couchdb 9213 9212 4 21:21 pts/1 00:00:00 > /usr/local/lib/erlang/erts-5.7.3/bin/beam -Bd -K true -- -root /usr/local/li > couchdb 9218 9213 0 21:21 ? 00:00:00 heart -pid 9213 -ht 11 > > but: > > $ curl http://127.0.0.1:5984 > curl: (7) couldn't connect to host > > and > > $ sudo -i -u couchdb couchdb -d > Apache CouchDB is not running. > > Any idea what's going wrong? I did the same in the office on a VM Debian > Lenny without having any problems.
I have actually experienced the same as you on the same environment. I didn't install from the trunk, but from the repositories. What I did was install couchdb with apt-get install couchdb, and when I installed erlang this problem came up. So, I think it has to do with the version of the erlang interpreter, because as soon as I removed it, couchdb was running again. I haven't really played much with couchdb, but it was nice you raised this issue as I am using the same environment as you and I will start playing with couchdb soon. If you happen to find out the real cause, please report back your experience. Regards, Fidel.
