I rebooted my server and moved it behind a different firewall. When I went to restart electrum-server, I got an error from mysql.
$ electrum-server
starting Electrum server
cache: yes
No handlers could be found for logger "Abe.DataStore"
Traceback (most recent call last):
File "/home/user/.virtualenvs/electrum/bin/electrum-server", line 726, in
memorypool_update(store)
File "/home/user/.virtualenvs/electrum/bin/electrum-server", line 594, in memorypool_update
store.import_tx(tx, False)
File "/home/user/.virtualenvs/electrum/bin/electrum-server", line 75, in import_tx
tx_id = super(MyStore, self).import_tx(tx, is_coinbase)
File "/home/user/.virtualenvs/electrum/lib/python2.6/site-packages/Abe/DataStore.py", line 1798, in import_tx
store.intin(tx['lockTime']), len(tx['tx'])))
File "/home/user/.virtualenvs/electrum/lib/python2.6/site-packages/Abe/DataStore.py", line 403, in sql
store.cursor.execute(cached, params)
File "/home/user/.virtualenvs/electrum/lib/python2.6/site-packages/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/home/user/.virtualenvs/electrum/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry '2' for key 'PRIMARY'")
I imagine that rebuilding the database will fix this, but thats ages. Anyone have any suggestions? I have the torrent of the database that slush put up (I think it was him), so that may be easiest.