Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: josemaria.alkala on November 25, 2010, 06:13:18 AM

Title: [SOLVED] [couchdb] /etc/services
Post by: josemaria.alkala 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.
Title: Re: [couchdb] /etc/services
Post by: curaga on November 25, 2010, 08:35:47 AM
Install iana-etc, and if it works, add that to the dep file.
Title: Re: [couchdb] /etc/services
Post by: josemaria.alkala 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.