Command spawn error

Hi all,
I seem to be having a problem with importing movies.
I followed the instructions to install cryoSPARC v2 on a single workstation. However, when I first run the command:

cryosparcm start

I get the following output:

Starting cryoSPARC System master process…
CryoSPARC is not already running.
database: started
command_core: ERROR (spawn error)

500 Internal Server Error
Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

command_vis: ERROR (spawn error)
command_proxy: ERROR (spawn error)
webapp: started


CryoSPARC master started.
From this machine, access the webapp at
http://localhost:39000
From other machines on the network, access at
http://TaylorH:39000

But despite the spawn errors, the webapp will start up. After downloading, installing, and connecting the worker, I launched the webapp, signed in, and started the tutorial (https://cryosparc.com/docs/tutorial/). However, the job would halt at the first step of importing the .tif files, giving an error message in the log file:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

I tried stopping and starting cryoSPARC, but got a similar start message.

$ cryosparcm stop
CryoSPARC is running.
Stopping cryosparc.
command_vis: stopped
webapp: stopped
database: stopped
Shut down

$ cryosparcm start
Starting cryoSPARC System master process…
CryoSPARC is not already running.
database: started
command_core: ERROR (spawn error)
cryosparc command core startup complete.
command_vis: ERROR (spawn error)
command_proxy: ERROR (spawn error)
webapp: started

When I run:

$ cryosparcm status

CryoSPARC System master node installed at
/home/TaylorH/application/cryosparc2_master
Current cryoSPARC version: v2.0.27

cryosparcm process status:

command_core FATAL Exited too quickly (process log may have details)
command_proxy FATAL Exited too quickly (process log may have details)
command_vis RUNNING pid 1840, uptime 0:00:01
database RUNNING pid 16652, uptime 1:47:45
watchdog_dev STOPPED Not started
webapp RUNNING pid 1834, uptime 0:00:01
webapp_dev STOPPED Not started

global config variables:

export CRYOSPARC_LICENSE_ID=“xxxxxxxxxx”
export CRYOSPARC_MASTER_HOSTNAME=“localhost”
export CRYOSPARC_DB_PATH="/home/TaylorH/application/cryosparc2_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false

Finally, when I run:

$ cryosparcm log webapp
at listenInCluster (net.js:1392:12)
at doListen (net.js:1501:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
cryoSPARC v2
Ready to serve GridFS
events.js:183
throw er; // Unhandled ‘error’ event
^

Error: listen EADDRINUSE 0.0.0.0:39000
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at doListen (net.js:1501:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)

Thanks for your help,
TaylorH

1 Like