Running eventstore in background on Debian - basic question

When i try to run eventstore on my gce debian vm in background , i cant access the endpoints…

Command i executed, ./ --db ./ESData &

ps output

11118 pts/2 00:00:00 bash

11651 pts/2 00:00:00 bash

11652 pts/2 00:00:00 clusternode

11658 pts/2 00:00:00 ps

when i curl any endpoint , i get “could not connect to localhost” error …

curl -i “” -H “Content-Type:application/json” -u admin:changeit

curl: (7) couldn’t connect to host

Let me know if there is something else i need to do …

Thats probably not how you would want to run event store on a system instead you would likely want to ise daemonize

As to the script failing what does it print if you run it in foreground?

Attaching the output i get when i run it in foreground … i didnt get this command in debain. may be i need to install this package … ??. will try out a few options and update…

es-op.txt (7.14 KB)

This appears to be working properly?

it works properly in foreground … i am not able to daemonize it … i think we need to create init.d script for EventStore? i cloned the skeleton script and tweaked it to invoke the clusternode . I am getting exec format error when starting the script though…