I started monerod
on my linux server to sync the (pruned) blockchain and start working with a wallet.
The syncing completed fine.
However trying to restart monerod
the next day yielded the following error. How can I resolve it?
$ LANG=C LC_ALL=C ./monerod --prune-blockchain
2021-05-01 07:56:27.451 I Monero 'Oxygen Orion' (v0.17.2.0-release)
2021-05-01 07:56:27.451 I Initializing cryptonote protocol...
2021-05-01 07:56:27.451 I Cryptonote protocol initialized OK
2021-05-01 07:56:27.451 I Initializing core...
2021-05-01 07:56:27.452 I Loading blockchain from folder /home/deploy/.bitmonero/lmdb ...
2021-05-01 07:56:27.529 I Loading checkpoints
2021-05-01 07:56:27.535 I Core initialized OK
2021-05-01 07:56:27.535 I Initializing p2p server...
2021-05-01 07:56:27.540 F Error starting server: Failed to bind IPv4 (set to required)
2021-05-01 07:56:27.540 I Deinitializing core...
2021-05-01 07:56:27.560 I Stopping cryptonote protocol...
2021-05-01 07:56:27.560 I Cryptonote protocol stopped successfully
2021-05-01 07:56:27.561 E Exception in main! Failed to initialize p2p server.
killall monerod
You can only run one daemon server process.monerd
again now works. probably a stale process as you said.