Tiny Core Extensions > TCE Talk

[SOLVED] [couchdb] /etc/services

(1/1)

josemaria.alkala:
I keep on trying to make it work.
Executing:

--- Code: ---/etc/init.d/couchdb start

--- End code ---
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: ---curl 127.0.0.1:5984

--- End code ---
the answer is: "curl: (7) couldn't connect to host".

I suspect it might be related with not having in "/etc/services":

--- Code: ---couchdb     5984/tcp

--- End code ---

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.

curaga:
Install iana-etc, and if it works, add that to the dep file.

josemaria.alkala:
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.

Navigation

[0] Message Index

Go to full version