-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sometimes errors struct.error: 'H' format requires 0 <= number <= 65535 #3
Comments
Jan 16 22:45:30 localhost electrumx_server[592]: File "/usr/local/lib/python3.8/dist-packages/aiorpcx/curio.py", line 242, in aexit stopped again |
all the electrumx server stopped at the same time. ● electrumx.kevacoin.service - Kevacoin Mar 19 05:02:34 localhost electrumx_server[600]: File "/usr/local/lib/python3.8/dist-packages/aiorpcx/curio.py", line 242, in aexit good after reboot |
This is electrumx problem kyuupichan#185 (comment) So I think it is better to delete db every month. #create fixe.sh vi fixe.sh #!/bin/bash echo "Fix electrumx 65535!" systemctl stop electrumx.kevacoin.service rm -rf /root/kevax mkdir /root/kevax systemctl start electrumx.kevacoin.service #run chmod -R 777 fixe.sh #clear db every month/2month crontab -e 1 1 1 * * bash /root/fixe.sh 1 1 15 * * bash /root/fixe.sh 1 1 1 */2 * bash /root/fixe.sh 1 1 1 1-11/2 * bash /root/fixe.sh |
3/4 nodes sometimes show these errors, I have to reinstall ectrumx and sync again.
Oct 15 03:55:12 localhost electrumx_server[593]: File "/root/electrumx/electrumx/server/block_processor.py", line 341, in flush
Oct 15 03:55:12 localhost electrumx_server[593]: self.db.flush_dbs(self.flush_data(), flush_utxos,
Oct 15 03:55:12 localhost electrumx_server[593]: File "/root/electrumx/electrumx/server/db.py", line 229, in flush_dbs
Oct 15 03:55:12 localhost electrumx_server[593]: self.flush_history()
Oct 15 03:55:12 localhost electrumx_server[593]: File "/root/electrumx/electrumx/server/db.py", line 298, in flush_history
Oct 15 03:55:12 localhost electrumx_server[593]: self.history.flush()
Oct 15 03:55:12 localhost electrumx_server[593]: File "/root/electrumx/electrumx/server/history.py", line 133, in flush
Oct 15 03:55:12 localhost electrumx_server[593]: flush_id = pack_be_uint16(self.flush_count)
Oct 15 03:55:12 localhost electrumx_server[593]: struct.error: 'H' format requires 0 <= number <= 65535
Oct 15 03:55:14 localhost systemd[1]: electrumx.kevacoin.service: Succeeded.
The text was updated successfully, but these errors were encountered: