$cryosparcm restart
CryoSPARC is not already running.
If you would like to restart, use cryosparcm restart
Starting CryoSPARC System master process...
CryoSPARC is not already running.
configuring database...
configuration complete
database: started
database OK
command_core: started
$ps -eo user,pid,ppid,start,cmd | grep -e cryosparc_ -e mongo | grep -v msai
dongzhu+ 2281172 2266157 10:24:28 bash /home/dongzhuoer/.local/cryosparc_master/bin/cryosparcm restart
dongzhu+ 2281217 2281172 10:24:29 bash /home/dongzhuoer/.local/cryosparc_master/bin/cryosparcm start
dongzhu+ 2281260 1 10:24:30 python /home/dongzhuoer/.local/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/bin/supervisord -c /home/dongzhuoer/.local/cryosparc_master/supervisord.conf
dongzhu+ 2281388 2281260 10:24:35 mongod --auth --dbpath /home/dongzhuoer/.local/cryosparc_database --port 4141 --oplogSize 64 --replSet meteor --wiredTigerCacheSizeGB 4 --bind_ip_all
dongzhu+ 2281520 2281260 10:24:39 python /home/dongzhuoer/.local/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/bin/gunicorn -n command_core -b 0.0.0.0:4142 cryosparc_command.command_core:start() -c /home/dongzhuoer/.local/cryosparc_master/gunicorn.conf.py
dongzhu+ 2281521 2281520 10:24:39 python /home/dongzhuoer/.local/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/bin/gunicorn -n command_core -b 0.0.0.0:4142 cryosparc_command.command_core:start() -c /home/dongzhuoer/.local/cryosparc_master/gunicorn.conf.py
dongzhu+ 2283964 2266157 10:31:54 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv -e cryosparc_ -e mongo
$cryosparcm status | grep -v LICENSE
----------------------------------------------------------------------------
CryoSPARC System master node installed at
/home/dongzhuoer/.local/cryosparc_master
Current cryoSPARC version: v4.7.0
----------------------------------------------------------------------------
CryoSPARC process status:
app STOPPED Not started
app_api STOPPED Not started
app_api_dev STOPPED Not started
command_core RUNNING pid 2281520, uptime 0:08:26
command_rtp STOPPED Not started
command_vis STOPPED Not started
database RUNNING pid 2281388, uptime 0:08:30
----------------------------------------------------------------------------
An error ocurred while checking license status
Could not get license verification status. Are all CryoSPARC processes RUNNING?
$curl https://get.cryosparc.com/checklicenseexists/$LICENSE_ID
{"success": true}%
Please can you post the outputs of these commands
free -h
grep -v CRYOSPARC_LICENSE_ID /home/dongzhuoer/.local/cryosparc_master/config
ss -anp | grep ":414[0-9] " | sed 's/\s\+/ /g'
cryosparcm log supervisord | tail -n 30
cryosparcm log command_vis | tail -n 20
Thanks!
I found the problem lies in HTTP proxy.
After I removed export http_proxy=http://xxx.xxx.xxx.xxx:xxxx
from the ~/.bashrc
file, cryosparcm restart
works well.
By the way, it still quite confusing that curl https://get.cryosparc.com/checklicenseexists/$LICENSE_ID
succeed while cryosparcm status
failed with license issue
Is curl
defaulting to NO_PROXY
(via alias or config file)?
curl -x http://xxx.xxx.xxx.xxx:xxxx https://get.cryosparc.com/checklicenseexists/$LICENSE_ID
returns {"success": true}