Hi,
I recently got stuck in a hostname
error. I had to change the hostname
of our server to gpu-01
and when I try to execute cryosparcm restart
, Cs is giving this error:
[user@gpu-01 ~]$ cryosparcm restart
ERROR: Re-run this command on the master node: localhost.
Alternatively, set CRYOSPARC_FORCE_HOSTNAME=true in cryosparc_master/config.sh to suppress this error.
If this error message is incorrect, set CRYOSPARC_HOSTNAME_CHECK to the correct hostname in cryosparc_master/config.sh.
Current contents of the cryosparc_master/config.sh
are:
export CRYOSPARC_LICENSE_ID="002e6176-383e-11eb-9ca7-67cdab6e2e07"
export CRYOSPARC_MASTER_HOSTNAME="localhost"
export CRYOSPARC_DB_PATH="/home/emPackage/CS_3.2/cryosparc_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false
export CRYOSPARC_CLICK_WRAP=true
Please suggest a way to fix this issue without damaging the database.
Update: I tried changing the hostname to current one (gpu-01
) and ran cryosparcm restart
, the issue still persists. I don’t know what causing this issue !
Thanks