Hi all, I have a problem with the cryosparcm start command in cryosparc v3.3.2 on Compute Canada. It was working well last week, but since yesterday it has been reporting a database error. The error message is as follows:
Starting cryoSPARC System master process…
CryoSPARC is not already running.
database: ERROR (spawn error)
After reading some discussions, I deleted the contents of the database folder while making a backup of all files. I attempted to run the cryosparcm start command again, but encountered the same error message. Consequently, I moved all the backed up files back to the database folder, and now I am receiving a new error message:
Starting cryoSPARC System master process..
CryoSPARC is not already running.
database: started
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1915, in list_database_names
for doc in self.list_databases(session, nameOnly=True)]
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1896, in list_databases
res = admin._retryable_read_command(cmd, session=session)
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/database.py", line 756, in _retryable_read_command
_cmd, read_preference, session)
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1461, in _retryable_read
read_pref, session, address=address)
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1278, in _select_server
server = topology.select_server(server_selector)
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 243, in select_server
address))
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 200, in select_servers
selector, server_timeout, address)
File "/lustre06/project/6064135/zming01/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 217, in _select_servers_loop
(self._error_message(selector), timeout, self.description))
pymongo.errors.ServerSelectionTimeoutError: localhost:39001: [Errno 111] Connection refused, Timeout: 20.0s, Topology Description: <TopologyDescription id: 6440293d06a3257cfb54bed2, topology_type: Single, servers: [<ServerDescription ('localhost', 39001) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:39001: [Errno 111] Connection refused')>]>
I would greatly appreciate any suggestions. Thank you!
Zhenhua