Hi, everyone, I met a problem about the user account. I installed cryosparc with root account and then I used “chown” command to change the owner of the whole folder to user1 belonging to the root group. Everything was fine as the root user but when I started cryosparc with user1 account, there was error just like this:
Starting cryoSPARC…
mongod: ERROR (spawn error)
Traceback (most recent call last):
File “”, line 1, in
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/mongo_client.py”, line 1088, in database_names
“listDatabases”)[“databases”]]
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/database.py”, line 478, in command
with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/mongo_client.py”, line 798, in _socket_for_reads
with self._get_socket(read_preference) as sock_info:
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/mongo_client.py”, line 762, in _get_socket
server = self._get_topology().select_server(selector)
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/topology.py”, line 210, in select_server
address))
File “/opt/cryosparc-0.3/anaconda2/lib/python2.7/site-packages/pymongo/topology.py”, line 186, in select_servers
self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: localhost:38001: [Errno 111] Connection refused
What is wrong with the user1 account? What is kind of user is better? Can anybody help me? Thanks a lot in advance.