Web app startup error: listen EADDRINUSE

Hi @Tang,

It looks like the web application could not start due to the port 39000 already being used by the system.

  1. Ensure cryoSPARC is turned off:
    cryosparcm stop

  2. Then, ensure no zombie processes are still running. Kill the processes if they are.

ps -ax | grep “supervisord” (kill only the process that is running from your cryosparc2 install)
ps -ax | grep “cryosparc2_command” (kill all the matching processes related to your cryosparc2
instance)
ps -ax | grep “mongod” (kill only the process running your cryosparc2 database)

e.g. kill 82681

  1. Remove the socket file inside the /tmp folder

/tmp/cryosparc-supervisor...XXX.sock

  1. Start cryoSPARC:
    cryosparcm start
    cryosparcm status

That should solve the problem, but if it doesn’t please take a look at this post: OtherError: "node is not in primary or recovering state" when connecting cluster

- Suhail