Cannot start/stop/restart cryosparcm

Hi folks,

I installed cryosparc v2 a few days ago and it was running just fine. Today none of the commands cryosparcm start/stop/restart work. Please see error below. Have you experienced this?
Thanks,
Elena

cryosparcm start
Starting cryoSPARC System master process…
CryoSPARC is already running.
If you would like to restart, use cryosparcm restart
[exx@c101797 ~]$ cryosparcm stop
CryoSPARC is running.
Stopping cryosparc.
unix:///tmp/cryosparc-supervisor-2d5891e41f1cbf50751930c18d4147eb.sock refused connection
ERROR: unix:///tmp/cryosparc-supervisor-2d5891e41f1cbf50751930c18d4147eb.sock refused connection (already shut down?)
[exx@c101797 ~]$ cryosparcm start
Starting cryoSPARC System master process…
CryoSPARC is already running.
If you would like to restart, use cryosparcm restart
[exx@c101797 ~]$ cryosparcm restart
CryoSPARC is running.
Stopping cryosparc.
unix:///tmp/cryosparc-supervisor-2d5891e41f1cbf50751930c18d4147eb.sock refused connection
ERROR: unix:///tmp/cryosparc-supervisor-2d5891e41f1cbf50751930c18d4147eb.sock refused connection (already shut down?)
Starting cryoSPARC System master process…
CryoSPARC is already running.
If you would like to restart, use cryosparcm restart
[exx@c101797 ~]$ cryosparcm restart
CryoSPARC is running.
Stopping cryosparc.

Hi @zehre

A cryoSPARC process may have been orphaned. You will have to kill it.

Can you please try:

cryosparcm stop

Then, delete the unix:///tmp/cryosparc-supervisor-2d5891e41f1cbf50751930c18d4147eb.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 “supervisor” (kill only processes that are related to cryoSPARC 2)

cryosparcm start

Please let us know if that works.

1 Like

Thanks Stephan,

That solved the problem.

2 Likes