cryosparcm start failed after I followed the multip steps of cryosparc shut down, below is the outputs:
(base) [ruan@unicorn ~]$ cryosparcm start
Starting CryoSPARC System master process...
CryoSPARC is not already running.
configuring database...
Warning: Could not get database status (attempt 1/3)
Warning: Could not get database status (attempt 2/3)
Warning: Could not get database status (attempt 3/3)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/ruan/programs/cryosparc/cryosparc2_master/cryosparc_compute/database_management.py", line 47, in configure_mongo
initialize_replica_set()
File "/home/ruan/programs/cryosparc/cryosparc2_master/cryosparc_compute/database_management.py", line 84, in initialize_replica_set
admin_db = try_get_pymongo_db(mongo_client)
File "/home/ruan/programs/cryosparc/cryosparc2_master/cryosparc_compute/database_management.py", line 251, in try_get_pymongo_db
admin_db.command(({'serverStatus': 1}))
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/_csot.py", line 108, in csot_wrapper
return func(self, *args, **kwargs)
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/database.py", line 893, in command
with self.__client._conn_for_reads(read_preference, session, operation=command_name) as (
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1375, in _conn_for_reads
server = self._select_server(read_preference, session, operation)
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1322, in _select_server
server = topology.select_server(
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py", line 368, in select_server
server = self._select_server(
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py", line 346, in _select_server
servers = self.select_servers(
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py", line 253, in select_servers
server_descriptions = self._select_servers_loop(
File "/home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py", line 303, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:39001: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 20.0s, Topology Description: <TopologyDescription id: 68c1c9eb0319a8db0671bd4c, topology_type: Single, servers: [<ServerDescription ('localhost', 39001) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:39001: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
[2025-09-10T14:57:54-0400] Error configuring database. Most recent database log lines:
2025-09-10T14:57:53.858-0400 I REPL [signalProcessingThread] shutting down replication subsystems
2025-09-10T14:57:53.858-0400 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
2025-09-10T14:57:53.863-0400 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
2025-09-10T14:57:54.160-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:160014][20883:0x7fc75a195700], txn-recover: Main recovery loop: starting at 4/5760
2025-09-10T14:57:54.253-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:253209][20883:0x7fc75a195700], txn-recover: Recovering log 4 through 5
2025-09-10T14:57:54.315-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:315882][20883:0x7fc75a195700], txn-recover: Recovering log 5 through 5
2025-09-10T14:57:54.369-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:369950][20883:0x7fc75a195700], txn-recover: Set global recovery timestamp: 0
2025-09-10T14:57:54.465-0400 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
2025-09-10T14:57:54.465-0400 I CONTROL [signalProcessingThread] now exiting
2025-09-10T14:57:54.465-0400 I CONTROL [signalProcessingThread] shutting down with code:0
Then I run the commands provided, see the outputs below:
(base) [ruan@unicorn ~]$ ps -eo user,pid,ppid,start,cmd | grep -e cryosparc_ -e mongo
ruan 20856 1 14:56:38 python /home/ruan/programs/cryosparc/cryosparc2_master/deps/anaconda/envs/cryosparc_master_env/bin/supervisord -c /home/ruan/programs/cryosparc/cryosparc2_master/supervisord.conf
ruan 21635 20950 14:59:32 grep --color=auto -e cryosparc_ -e mongo
(base) [ruan@unicorn ~]$ ls -l /tmp/cryosparc*.sock /tmp/mongo*.sock
ls: cannot access /tmp/mongo*.sock: No such file or directory
srwx------ 1 ruan ruan 0 Sep 10 14:56 /tmp/cryosparc-supervisor-5af56541fa4e1b5aac46299dfe93cb5c.sock
(base) [ruan@unicorn ~]$ tail -n 50 /home/ruan/programs/cryosparc/cryosparc2_master/run/database.log
2025-09-10T14:56:40.223-0400 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=128251M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2025-09-10T14:56:40.807-0400 I STORAGE [initandlisten] WiredTiger message [1757530600:807045][20883:0x7fc75ba55a40], txn-recover: Main recovery loop: starting at 3/768
2025-09-10T14:56:40.889-0400 I STORAGE [initandlisten] WiredTiger message [1757530600:889457][20883:0x7fc75ba55a40], txn-recover: Recovering log 3 through 4
2025-09-10T14:56:40.945-0400 I STORAGE [initandlisten] WiredTiger message [1757530600:945149][20883:0x7fc75ba55a40], txn-recover: Recovering log 4 through 4
2025-09-10T14:56:40.997-0400 I STORAGE [initandlisten] WiredTiger message [1757530600:997410][20883:0x7fc75ba55a40], txn-recover: Set global recovery timestamp: 0
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
2025-09-10T14:56:41.035-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** WARNING: You are running on a NUMA machine.
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** We suggest launching mongod like this to avoid performance problems:
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** numactl --interleave=all mongod [other options]
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2025-09-10T14:56:41.036-0400 I CONTROL [initandlisten]
2025-09-10T14:56:41.041-0400 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/home/ruan/programs/cryosparc/cryosparc2_database/diagnostic.data'
2025-09-10T14:56:41.045-0400 I REPL [initandlisten] Did not find local initialized voted for document at startup.
2025-09-10T14:56:41.047-0400 I REPL [initandlisten] Rollback ID is 1
2025-09-10T14:56:41.048-0400 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset
2025-09-10T14:56:41.048-0400 I NETWORK [initandlisten] listening via socket bound to 127.0.0.1
2025-09-10T14:56:41.048-0400 I NETWORK [initandlisten] listening via socket bound to /tmp/mongodb-39001.sock
2025-09-10T14:56:41.048-0400 I NETWORK [initandlisten] waiting for connections on port 39001
2025-09-10T14:56:41.048-0400 I CONTROL [LogicalSessionCacheReap] Sessions collection is not set up; waiting until next sessions reap interval: config.system.sessions does not exist
2025-09-10T14:57:53.857-0400 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
2025-09-10T14:57:53.857-0400 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets...
2025-09-10T14:57:53.858-0400 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-39001.sock
2025-09-10T14:57:53.858-0400 I REPL [signalProcessingThread] shutdown: removing all drop-pending collections...
2025-09-10T14:57:53.858-0400 I REPL [signalProcessingThread] shutdown: removing checkpointTimestamp collection...
2025-09-10T14:57:53.858-0400 I REPL [signalProcessingThread] shutting down replication subsystems
2025-09-10T14:57:53.858-0400 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
2025-09-10T14:57:53.863-0400 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
2025-09-10T14:57:54.160-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:160014][20883:0x7fc75a195700], txn-recover: Main recovery loop: starting at 4/5760
2025-09-10T14:57:54.253-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:253209][20883:0x7fc75a195700], txn-recover: Recovering log 4 through 5
2025-09-10T14:57:54.315-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:315882][20883:0x7fc75a195700], txn-recover: Recovering log 5 through 5
2025-09-10T14:57:54.369-0400 I STORAGE [signalProcessingThread] WiredTiger message [1757530674:369950][20883:0x7fc75a195700], txn-recover: Set global recovery timestamp: 0
2025-09-10T14:57:54.465-0400 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
2025-09-10T14:57:54.465-0400 I CONTROL [signalProcessingThread] now exiting
2025-09-10T14:57:54.465-0400 I CONTROL [signalProcessingThread] shutting down with code:0
(base) [ruan@unicorn ~]$ tail -n 50 /home/ruan/programs/cryosparc/cryosparc2_master/run/supervisord.log
2025-09-09 18:09:54,011 INFO daemonizing the supervisord process
2025-09-09 18:09:54,015 INFO supervisord started with pid 10963
2025-09-09 18:18:22,828 INFO RPC interface 'supervisor' initialized
2025-09-09 18:18:22,828 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-09 18:18:22,830 INFO daemonizing the supervisord process
2025-09-09 18:18:22,833 INFO supervisord started with pid 12859
2025-09-09 20:24:18,744 INFO RPC interface 'supervisor' initialized
2025-09-09 20:24:18,744 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-09 20:24:18,746 INFO daemonizing the supervisord process
2025-09-09 20:24:18,750 INFO supervisord started with pid 18523
2025-09-09 21:48:50,279 INFO RPC interface 'supervisor' initialized
2025-09-09 21:48:50,279 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-09 21:48:50,282 INFO daemonizing the supervisord process
2025-09-09 21:48:50,285 INFO supervisord started with pid 21876
2025-09-09 21:51:51,666 INFO RPC interface 'supervisor' initialized
2025-09-09 21:51:51,666 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-09 21:51:51,668 INFO daemonizing the supervisord process
2025-09-09 21:51:51,672 INFO supervisord started with pid 22334
2025-09-10 09:12:28,429 INFO RPC interface 'supervisor' initialized
2025-09-10 09:12:28,429 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 09:12:28,431 INFO daemonizing the supervisord process
2025-09-10 09:12:28,435 INFO supervisord started with pid 48248
2025-09-10 11:25:57,330 INFO RPC interface 'supervisor' initialized
2025-09-10 11:25:57,330 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 11:25:57,333 INFO daemonizing the supervisord process
2025-09-10 11:25:57,337 INFO supervisord started with pid 5945
2025-09-10 11:39:40,011 INFO RPC interface 'supervisor' initialized
2025-09-10 11:39:40,011 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 11:39:40,013 INFO daemonizing the supervisord process
2025-09-10 11:39:40,016 INFO supervisord started with pid 8116
2025-09-10 12:44:47,426 INFO RPC interface 'supervisor' initialized
2025-09-10 12:44:47,426 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 12:44:47,428 INFO daemonizing the supervisord process
2025-09-10 12:44:47,432 INFO supervisord started with pid 12698
2025-09-10 12:56:51,056 INFO RPC interface 'supervisor' initialized
2025-09-10 12:56:51,056 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 12:56:51,058 INFO daemonizing the supervisord process
2025-09-10 12:56:51,061 INFO supervisord started with pid 13770
2025-09-10 13:14:06,001 INFO RPC interface 'supervisor' initialized
2025-09-10 13:14:06,001 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 13:14:06,003 INFO daemonizing the supervisord process
2025-09-10 13:14:06,007 INFO supervisord started with pid 16021
2025-09-10 13:28:20,558 INFO RPC interface 'supervisor' initialized
2025-09-10 13:28:20,558 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 13:28:20,560 INFO daemonizing the supervisord process
2025-09-10 13:28:20,564 INFO supervisord started with pid 16820
2025-09-10 14:56:39,545 INFO RPC interface 'supervisor' initialized
2025-09-10 14:56:39,545 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-09-10 14:56:39,547 INFO daemonizing the supervisord process
2025-09-10 14:56:39,551 INFO supervisord started with pid 20856
For the IP address changing, I run ifconfig:
enp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether a8:5e:45:3e:6b:6b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x9c300000-9c37ffff
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet **10.133.255.214** netmask 255.255.0.0 broadcast 10.133.255.255
inet6 fe80::aa5e:45ff:fe3e:6b6c prefixlen 64 scopeid 0x20<link>
ether a8:5e:45:3e:6b:6c txqueuelen 1000 (Ethernet)
RX packets 64984 bytes 17788076 (16.9 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 20614 bytes 3647120 (3.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x9c200000-9c27ffff
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 255 bytes 22346 (21.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 255 bytes 22346 (21.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:38:0a:99 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The bold IP change from 10.23.10.22 to current 10.133.255.214 because of the insititute network switch