I am trying to install cryosparc on a machine which is supposed to serve as a master in a small cluster. Upon apparently successful installation of cryosparc master, initial start procedure hanged after command_core loaded.
% cryosparcm status
cryosparcm process status:
app STOPPED Not started
app_dev STOPPED Not started
command_core RUNNING pid 10960, uptime 0:04:56
command_proxy STOPPED Not started
command_rtp STOPPED Not started
command_vis STOPPED Not started
database RUNNING pid 10872, uptime 0:04:59
watchdog_dev STOPPED Not started
webapp STOPPED Not started
webapp_dev STOPPED Not started
global config variables:
export CRYOSPARC_MASTER_HOSTNAME=“xxx.yyy.zzz”
export CRYOSPARC_DB_PATH="/home/structbio/cryosparc/cryosparc2_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false
export CRYOSPARC_CLICK_WRAP=true
$ cryosparcm log command_core
Traceback (most recent call last):
File “cryosparc2_command/command_core/init.py”, line 205, in background_worker
heartbeat_manager()
File “cryosparc2_command/command_core/init.py”, line 1571, in heartbeat_manager
active_jobs = get_active_licenses()
File “cryosparc2_command/command_core/init.py”, line 1536, in get_active_licenses
for j in jobs_running:
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/cursor.py”, line 1114, in next
if len(self.__data) or self._refresh():
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/cursor.py”, line 1036, in _refresh
self.__collation))
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/cursor.py”, line 873, in __send_message
**kwargs)
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/mongo_client.py”, line 888, in _send_message_with_response
server = topology.select_server(selector)
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/topology.py”, line 214, in select_server
address))
File “/home/structbio/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/topology.py”, line 189, in select_servers
self._error_message(selector))
ServerSelectionTimeoutError: sangho-hkl.skku.edu:39001: timed out
****** Concurrent job monitor failed ****
****** Instance heartbeat failed ****
$ cryosparcm log database
2020-09-01T17:34:13.791+0900 I REPL [conn3] This node is localhost:39001 in the config
2020-09-01T17:34:13.791+0900 I REPL [conn3] transition to STARTUP2
2020-09-01T17:34:13.791+0900 I REPL [conn3] Starting replication storage threads
2020-09-01T17:34:13.792+0900 I REPL [conn3] Starting replication fetcher thread
2020-09-01T17:34:13.792+0900 I REPL [conn3] Starting replication applier thread
2020-09-01T17:34:13.792+0900 I REPL [conn3] Starting replication reporter thread
2020-09-01T17:34:13.792+0900 I REPL [rsSync] transition to RECOVERING
2020-09-01T17:34:13.792+0900 I COMMAND [conn3] command local.replset.minvalid appName: “MongoDB Shell” command: replSetInitiate { v: 2, key: { version: 1 }, ns: “admin.system.version”, name: “incompatible_with_version_32” } numYields:0 reslen:22 locks:{ Global: { acquireCount: { r: 14, w: 8, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 63 } }, Database: { acquireCount: { r: 2, w: 2, W: 6 } }, Collection: { acquireCount: { r: 2, w: 2 } }, Metadata: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_command 1375ms
2020-09-01T17:34:13.793+0900 I REPL [rsSync] transition to SECONDARY
2020-09-01T17:34:13.793+0900 I REPL [rsSync] conducting a dry run election to see if we could be elected
2020-09-01T17:34:13.793+0900 I REPL [ReplicationExecutor] dry election run succeeded, running for election
2020-09-01T17:34:13.796+0900 I - [conn3] end connection 127.0.0.1:35468 (1 connection now open)
2020-09-01T17:34:14.507+0900 I REPL [ReplicationExecutor] election succeeded, assuming primary role in term 1
2020-09-01T17:34:14.507+0900 I REPL [ReplicationExecutor] transition to PRIMARY
2020-09-01T17:34:14.507+0900 I REPL [ReplicationExecutor] Entering primary catch-up mode.
2020-09-01T17:34:14.507+0900 I REPL [ReplicationExecutor] Exited primary catch-up mode.
2020-09-01T17:34:15.793+0900 I REPL [rsSync] transition to primary complete; database writes are now permitted
Can someone help me resolve this trouble?