ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.86k stars 906 forks source link

lightningd not starting after OS update #1375

Closed joepetrowski closed 6 years ago

joepetrowski commented 6 years ago

I shut down my node to do an OS update and restart earlier today and am not able to restart the node. I am getting this error message. bitcoind is running normally. Has anyone else had this issue?

cryptonodes@eta:~/bitcoinlightning/builds/lightning$ ./lightningd/lightningd --network=bitcoin --log-level=debug --log-file=lightningdlog.log --bitcoin-datadir="/media/blockstorage/bitcoincore" --alias="TheConcavity" &
[2] 3723
cryptonodes@eta:~/bitcoinlightning/builds/lightning$ SQLITE version mismatch: compiled 3022000, now 3023000

[2]+  Aborted                 ./lightningd/lightningd --network=bitcoin --log-level=debug --log-file=lightningdlog.log --bitcoin-datadir="/media/blockstorage/bitcoincore" --alias="TheConcavity"

Log file output:

2018-04-14T12:10:34.575Z lightningd(3706): Trying to guess public addresses...
2018-04-14T12:10:34.576Z lightningd(3706): Address 10.250.200.38:9735 is not routable
2018-04-14T12:10:34.577Z lightningd(3706): Failed to create 10 socket: Address family not supported by protocol
2018-04-14T12:10:34.579Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_channeld
2018-04-14T12:10:34.583Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_closingd
2018-04-14T12:10:34.587Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_gossipd
2018-04-14T12:10:34.590Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_hsmd
2018-04-14T12:10:34.594Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_onchaind
2018-04-14T12:10:34.598Z lightningd(3706): testing /home/cryptonodes/bitcoinlightning/builds/lightning/lightningd/lightning_openingd
ZmnSCPxj commented 6 years ago

cryptonodes@eta:~/bitcoinlightning/builds/lightning$ SQLITE version mismatch: compiled 3022000, now 3023000

Your problem cause was indicated already. You need to recompile for your new OS as the SQLITE3 library was updated relative to what you compiled before, and SQLITE3 refuses to run. Best to do a make clean && make

joepetrowski commented 6 years ago

Got it, thank you, still learning about this stuff!