WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] [couchdb] /etc/services  (Read 4299 times)

Offline josemaria.alkala

  • Newbie
  • *
  • Posts: 7
[SOLVED] [couchdb] /etc/services
« on: November 25, 2010, 06:13:18 AM »
I keep on trying to make it work.
Executing:
Code: [Select]
/etc/init.d/couchdb start
seem to work, since "ps -A" shows 2 instances of "couchdb" (I don't know why), 1 instance of "beam" (related to erlang) and 1 instance of "heart" (I don't know what this is).

When I try to test if it is working by doing:
Code: [Select]
curl 127.0.0.1:5984
the answer is: "curl: (7) couldn't connect to host".

I suspect it might be related with not having in "/etc/services":
Code: [Select]
couchdb     5984/tcp

I wonder:
- How can I test if this is the problem? I mean, if I modify /etc/services, how can I make the TCL to re-read it.
- Secondly, would it be the best approach to modify /etc/services through the script on tce.installed?

Regards,
José M.
« Last Edit: November 25, 2010, 02:17:18 PM by josemaria.alkala »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: [couchdb] /etc/services
« Reply #1 on: November 25, 2010, 08:35:47 AM »
Install iana-etc, and if it works, add that to the dep file.
The only barriers that can stop you are the ones you create yourself.

Offline josemaria.alkala

  • Newbie
  • *
  • Posts: 7
Re: [couchdb] /etc/services
« Reply #2 on: November 25, 2010, 02:16:55 PM »
Thanks for your answer.

At the end the problem was related with the permissions being changed after loading couchdb. Not related with /etc/services, that it seems to be used only to assign a name to a port.