user1005: so I synced towards Alonzo mainnet with cabal build and interrupted at 92% and somehow ~/cardano/db/node.socket is missing. And no matter how many times I restart the node with
cardano-node run \
--config /home/user/cardano/mainnet-config.json \
--database-path /home/user/cardano/db/ \
--socket-path /home/user/cardano/db/node.socket \
--host-addr 127.0.0.1 \
--port 3001 \
--topology /home/user/cardano/mainnet-topology.json

it gets stuck at
Listening on http://127.0.0.1:12798
[hud-PS63:cardano.node.networkMagic:Notice:5] [2021-09-16 02:17:41.27 UTC] NetworkMagic 764824073
[hud-PS63:cardano.node.basicInfo.protocol:Notice:5] [2021-09-16 02:17:41.27 UTC] Byron; Shelley
[hud-PS63:cardano.node.basicInfo.version:Notice:5] [2021-09-16 02:17:41.27 UTC] 1.29.0
[hud-PS63:cardano.node.basicInfo.commit:Notice:5] [2021-09-16 02:17:41.27 UTC] 48429531f0d3d71fadce9a5971bf56a6df396f2d
[hud-PS63:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-09-16 02:17:41.27 UTC] 2021-09-16 02:17:41.275947702 UTC
[hud-PS63:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-09-16 02:17:41.27 UTC] 2017-09-23 21:44:51 UTC
[hud-PS63:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-09-16 02:17:41.27 UTC] 20s
[hud-PS63:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-09-16 02:17:41.27 UTC] 21600
[hud-PS63:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.addresses:Notice:5] [2021-09-16 02:17:41.27 UTC] [SocketInfo 0.0.0.0:3001]
[hud-PS63:cardano.node.diffusion-mode:Notice:5] [2021-09-16 02:17:41.27 UTC] InitiatorAndResponderDiffusionMode
[hud-PS63:cardano.node.dns-producers:Notice:5] [2021-09-16 02:17:41.27 UTC] [DnsSubscriptionTarget {dstDomain = "relays-new.cardano-mainnet.iohk.io", dstPort = 3001, dstValency = 2}]
[hud-PS63:cardano.node.ip-producers:Notice:5] [2021-09-16 02:17:41.27 UTC] IPSubscriptionTarget {ispIps = [], ispValency = 0}

Is there a log to check what happened during the interruption? where is this stored (following cabal build documentation)

user1764: At this stage, it is normal that your node.socket does not yet exist because your launch has not passed the step IPSubscriptionTarget {ispIps = [], ispValency = 0}. It usually happens because your cardano-node has not been gracefully stopped.
If it continues from there after 30 min or so (assuming that you have a decent CPU with enough memory) it would be a sign of a hard shutdown. We sometimes have the impression that the program has frozen but it is because your cardano-node needs to scan and verify all the data again so it can take a while.
When you see a line like
Opened vol db

your node.socket will be here again.

1005: <p>so I synced towards Alonzo mainnet with <a href="https://developers.cardano.org/docs/get-started/installing-cardano-node" rel="nofollow noreferrer">cabal build</a> and interrupted at 92% and somehow <code>~/cardano/db/node.socket</code> is missing. And no matter how many times I restart the node with</p>
<pre><code>cardano-node run \
--config /home/user/cardano/mainnet-config.json \
--database-path /home/user/cardano/db/ \
--socket-path /home/user/cardano/db/node.socket \
--host-addr 127.0.0.1 \
--port 3001 \
--topology /home/user/cardano/mainnet-topology.json
</code></pre>
<p>it gets stuck at</p>
<pre><code>Listening on http://127.0.0.1:12798
[hud-PS63:cardano.node.networkMagic:Notice:5] [2021-09-16 02:17:41.27 UTC] NetworkMagic 764824073
[hud-PS63:cardano.node.basicInfo.protocol:Notice:5] [2021-09-16 02:17:41.27 UTC] Byron; Shelley
[hud-PS63:cardano.node.basicInfo.version:Notice:5] [2021-09-16 02:17:41.27 UTC] 1.29.0
[hud-PS63:cardano.node.basicInfo.commit:Notice:5] [2021-09-16 02:17:41.27 UTC] 48429531f0d3d71fadce9a5971bf56a6df396f2d
[hud-PS63:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-09-16 02:17:41.27 UTC] 2021-09-16 02:17:41.275947702 UTC
[hud-PS63:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-09-16 02:17:41.27 UTC] 2017-09-23 21:44:51 UTC
[hud-PS63:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-09-16 02:17:41.27 UTC] 20s
[hud-PS63:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-09-16 02:17:41.27 UTC] 21600
[hud-PS63:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.basicInfo.slotLengthAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 1s
[hud-PS63:cardano.node.basicInfo.epochLengthAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 432000
[hud-PS63:cardano.node.basicInfo.slotsPerKESPeriodAlonzo:Notice:5] [2021-09-16 02:17:41.27 UTC] 129600
[hud-PS63:cardano.node.addresses:Notice:5] [2021-09-16 02:17:41.27 UTC] [SocketInfo 0.0.0.0:3001]
[hud-PS63:cardano.node.diffusion-mode:Notice:5] [2021-09-16 02:17:41.27 UTC] InitiatorAndResponderDiffusionMode
[hud-PS63:cardano.node.dns-producers:Notice:5] [2021-09-16 02:17:41.27 UTC] [DnsSubscriptionTarget {dstDomain = &quot;relays-new.cardano-mainnet.iohk.io&quot;, dstPort = 3001, dstValency = 2}]
[hud-PS63:cardano.node.ip-producers:Notice:5] [2021-09-16 02:17:41.27 UTC] IPSubscriptionTarget {ispIps = [], ispValency = 0}
</code></pre>
<p>Is there a log to check what happened during the interruption? where is this stored (following cabal build documentation)</p>
 1764: <p>At this stage, it is normal that your node.socket does not yet exist because your launch has not passed the step <em><strong>IPSubscriptionTarget {ispIps = [], ispValency = 0}</strong></em>. It usually happens because your cardano-node has not been gracefully stopped.</p>
<p>If it continues from there after 30 min or so (assuming that you have a decent CPU with enough memory) it would be a sign of a hard shutdown. We sometimes have the impression that the program has frozen but it is because your cardano-node needs to scan and verify all the data again so it can take a while.</p>
<p>When you see a line like</p>
<pre><code>Opened vol db
</code></pre>
<p>your node.socket will be here again.</p>
