Error when configure BigCouch

85 views
Skip to first unread message

Đồng Khánh

unread,
Nov 23, 2013, 7:36:22 AM11/23/13
to bigcou...@googlegroups.com
Hi everyone,
I'm trying to learn BigCouch & setup 10 clusters for my exam.  I read some guides and:

1. Install  Ubuntu 12.04 on 2 VMWare machines (use NAT connection)

2. Install CouchDB 1.4 & BigCouch
   - test: curl localhost:5984 -> {"couchdb":"Welcome","uuid":"a5eb7b7cc98564dfb60d6cbd6292a40f","version":"1.4.0","vendor":{"version":"1.4.0","name":"The Apache Software Foundation"}}

3. Set FQDN on /etc/hostname on 2 machines (slave2.test.com, slave3.test.com)

4. Set IP range on /etc/hotsts 
   - 192.168.61.128 slave2.test.com slave2
   - 192.168.61.129 slave3.test.com slave3

5. Edit /opt/bigcouch/etc/vm.args:
   - -setcookie monster (as default)

I aslo reboot after each step. But when I try some tests, it didn't work correctly:
   - curl localhost:5984 - > OK
   - curl slave2:5984 -> curl: (7) couldn't connect to host
   - curl curl 192.168.61.129 -> curl: (7) couldn't connect to host
   -> curl: (7) couldn't connect to host

Anyone can give me some ideas to fix it & make BC work perfectly? Thank you alot




Đồng Khánh

unread,
Dec 1, 2013, 6:17:35 AM12/1/13
to bigcou...@googlegroups.com

I aslo fixed this error:
- Remove CouchDB. BigCouch ‘s enough.
- because I install BigCouch on localhost, my query must like: curl -X PUThttp://localhost:5986/nodes/bigc...@slave3.test.com -d {}


Reply all
Reply to author
Forward
0 new messages