Hi @PRIYANKA , this error indicates that there is already another cryoSPARC instance running that is conflicting with the current one.
To fix this, first completely stop your current instance from the command line with the following commands:
cd /home/priyanka/cryosparc3/cryosparc_master
./bin/cryosparcm stop
If you have another folder with cryoSPARC installed (say, at /home/priyanka/cryosparc2
), navigate to that directory, navigate to the inner cryosparc2_master
directory and run this command to stop it:
./bin/cryosparcm stop
Look inside the /home/priyanka/cryosparc3/cryosparc_master/config.sh
command with this command:
cat /home/priyanka/cryosparc3/cryosparc_master/config.sh
Look for the line that begins with export CRYOSPARC_BASE_PORT=
and find the base port number you used when you first installed cryoSPARC (for example 39000
).
To ensure no remaining cryoSPARC processes are running, I suggest restarting your machine.
If you can’t do that, look for any processes that are bound to the first few ports starting from that number. For example:
lsof -i :39000
lsof -i :39001
lsof -i :39002
lsof -i :39003
lsof -i :39004
lsof -i :39005
lsof -i :39006
lsof -i :39007
If each command has no output, then nothing is bound to that port. If there is, you’ll see output that looks like this:
$ lsof -i :39002 [21/05/3| 5:04PM]
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 704982 nfrasser 4u IPv4 3991296075 0t0 TCP *:39002 (LISTEN)
Find the process ID (PID) of each process (704982
in the above example) and kill it with the following command:
kill <PID>
Once you’ve done all the steps above, try starting your cryoSPARC instance with this command:
cd /home/priyanka/cryosparc3/cryosparc_master
./bin/cryosparcm start
If that still doesn’t work, send me the output of the following commands (be sure to omit your license ID from the output of the status
command before posting):
cd /home/priyanka/cryosparc3/cryosparc_master
./bin/cryosparcm status
./bin/cryosparcm log command_core | tail -n 100