Trinity Fails To Restart
See original GitHub issue- py-evm Version:
Trinity v0.1.0-alpha.1 "Valentina Tereshkova"
- OS:
Ubuntu 17.10
- Python Version (python --version):
Python 3.6.3
- Environment (output of
pip freeze
):
aiohttp==2.3.10
asn1crypto==0.24.0
async-lru==0.1.0
async-timeout==3.0.0
attrdict==2.0.0
backcall==0.1.0
certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
coincurve==7.1.0
command-not-found==0.3
cryptography==2.2.2
cytoolz==0.9.0.1
decorator==4.3.0
distro-info==0.17
eth-abi==1.1.1
eth-account==0.2.3
eth-bloom==1.0.0
eth-hash==0.1.4
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.2
eth-utils==1.0.3
hexbytes==0.1.0
idna==2.6
idna-ssl==1.0.1
ipython==6.4.0
ipython-genutils==0.2.0
jedi==0.12.0
keyring==10.4.0
keyrings.alt==2.2
language-selector==0.1
lru-dict==1.1.6
lxml==4.2.1
multidict==4.3.1
netdisco==1.4.1
netifaces==0.10.7
parsimonious==0.8.0
parso==0.2.1
pexpect==4.6.0
pickleshare==0.7.4
plyvel==1.0.4
prompt-toolkit==1.0.15
ptyprocess==0.5.2
py-ecc==1.4.2
py-evm==0.2.0a19
pycparser==2.18
pycrypto==2.6.1
pycryptodome==3.6.1
pyethash==0.1.27
Pygments==2.2.0
pygobject==3.24.1
pysha3==1.0.2
python-apt==1.4.0b3
python-dateutil==2.7.3
pyxdg==0.25
PyYAML==3.12
requests==2.18.4
rlp==1.0.1
SecretStorage==2.3.1
simplegeneric==0.8.1
six==1.11.0
ssh-import-id==5.7
toolz==0.9.0
traitlets==4.3.2
trie==1.3.7
trinity==0.1.0a3
ufw==0.35
unattended-upgrades==0.1
uPnPClient==0.0.8
urllib3==1.22
wcwidth==0.1.7
web3==4.2.1
websockets==5.0.1
yarl==1.2.4
zeroconf==0.20.0
What is wrong?
After noting the Too many files error in #830 I stopped the process, cleaned up the logs, then attempted to restart the process, but it does not start, I just get these errors:
Process SpawnProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/trinity/utils/logging.py", line 99, in inner
return fn(*args, **inner_kwargs)
File "/usr/local/lib/python3.6/dist-packages/trinity/main.py", line 136, in run_database_process
serve_chaindb(chain_config, base_db)
File "/usr/local/lib/python3.6/dist-packages/trinity/chains/__init__.py", line 180, in serve_chaindb
server = manager.get_server() # type: ignore
File "/usr/lib/python3.6/multiprocessing/managers.py", line 482, in get_server
self._authkey, self._serializer)
File "/usr/lib/python3.6/multiprocessing/managers.py", line 139, in __init__
self.listener = Listener(address=address, backlog=16)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 438, in __init__
self._listener = SocketListener(address, family, backlog)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 576, in __init__
self._socket.bind(address)
OSError: [Errno 98] Address already in use
Process SpawnProcess-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/trinity/utils/logging.py", line 99, in inner
return fn(*args, **inner_kwargs)
File "/usr/local/lib/python3.6/dist-packages/trinity/main.py", line 158, in launch_node
node = NodeClass(chain_config)
File "/usr/local/lib/python3.6/dist-packages/trinity/nodes/full.py", line 19, in __init__
super().__init__(chain_config)
File "/usr/local/lib/python3.6/dist-packages/trinity/nodes/base.py", line 54, in __init__
self._db_manager.connect() # type: ignore
File "/usr/lib/python3.6/multiprocessing/managers.py", line 489, in connect
conn = Client(self._address, authkey=self._authkey)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 487, in Client
c = SocketClient(address)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 614, in SocketClient
s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
How can it be fixed
I don’t know…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:14 (14 by maintainers)
Top Results From Across the Web
restart trinity after wall time ends - Google Groups
I think the issue had to do with restarting trinity. When we resubmitted the job, it looks like the total number of CPUs...
Read more >Restarting Trinity after removing intermediate files #893 - GitHub
I am attempting to generate a de-novo metatranscriptome assembly from 114M PE reads using Trinity 2.8.4. I encountered the following error ...
Read more >Trinity fails to finish - SEQanswers
I tried it two times but Trinity does not finish. The command was: ... Can you just restart Trinity after a failed run...
Read more >How to reset the NuFACE Trinity - YouTube
In our Q & A series, we'll be answering the most frequently asked questions about our best selling devices. Here, we show you...
Read more >Trinity Reset - Diablosport Forums
-Second time I tried, it failed mid way through the writing and my car ignition locked up (could not turn off the ignition...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Leaving open because we need to explore how we can shutdown gracefully in situations like this.
@carver Missed the ropsten flag, Thanks.