I try to use the following command to start railgun:
service railgun start
But get the following errors:
Starting railgun: [ OK ] Railgun successfully backgrounded, ensuring proper startup... [FAILED] Error starting Railgun as a daemon. Running in foreground... Error starting: Error connecting to memcached server /tmp/memcached.sock: dial unix /tmp/memcached.sock: connect: no such file or directory [FAILED]
I just follow the instructions in https://developers.cloudflare.com/railgun/user-guide/set-up/configuration-activation and use a socket file since railgun and memcached are in the same server, as below:
#memcached.servers = 127.0.0.1:11211
memcached.servers = /tmp/memcached.sock
Do I need to create an empty file memcached.sock manually under /temp?