Refused connection after computer restart

Hi,
I installed cryoSPARC as a user (Centos 7) and managed to run it in the browser. I then encountered problems with jobs that could not start because of issues with ksshaskpass. After many failed attempts to solve this I restarted the computer, however now I get a ‘refused connection’ message for whatever I do and cannot start cryoSPARC at all.

Here are examples:

$cryosparcm stop
CryoSPARC is running.
Stopping cryosparc.
unix:///tmp/cryosparc-supervisor–6410667835282660811.sock refused connection
ERROR: unix:///tmp/cryosparc-supervisor–6410667835282660811.sock refused connection (already shut down?)

$ cryosparcm restart
CryoSPARC is running.
Stopping cryosparc.
unix:///tmp/cryosparc-supervisor–6410667835282660811.sock refused connection
ERROR: unix:///tmp/cryosparc-supervisor–6410667835282660811.sock refused connection (already shut down?)
Starting cryoSPARC System master process…
CryoSPARC is already running.
If you would like to restart, use cryosparcm restart

I realize that a similar issue has been discussed in this forum, but I could not find any solution.

Thanks
Nadav

Hi @nadav,

Can you please try cryosparcm stop

Then, delete the /tmp/cryosparc-supervisor–6410667835282660811.sock file.

Finally, you may need to kill any other remaining processes that may be interfering. You can find the process IDs using:

ps -ax | grep “supervisord” (kill only the process that is running from your cryosparc2 install, not cryosparc v0 if you have that running too)
ps -ax | grep “cryosparc2_command” (kill all the matching processes)
ps -ax | grep “mongod” (kill only the process running your cryosparc2 database, not cryosparc v0 if you have that running too)

Then you should be able to start cryosparc again: cryosparcm start

Please let us know if that works.

5 Likes

This worked, many thanks!