Show Idle (>14 d.) Chans


← 2020-07-15 | 2020-07-26 → ↓
13:55 whaack bitcoind died last night, it seems to be dying every night, last few debug lines didn't seem to reveal anything http://paste.deedbot.org/?id=jod9
13:57 asciilifeform whaack: that looks like a clean manual kill (or gave 'stop' command). are you running the thing from inside a script ?
13:58 asciilifeform whaack: dollars to doughnuts you ran the demon from inside a shell, and then hung up
13:58 asciilifeform put it in a @reboot cron .
13:59 asciilifeform ( alternatively, run from a 'start_trb.sh' where 'nohup ./bin/bitcoind .......' etc )
14:05 whaack it was run with "LC_ALL=C nohup ./bitcoind -myip=205.134.172.28 -addnode=205.134.172.27 -verifyall 2>&1 &" from inside my shell
14:05 BingoBoingo Ah, you didn't use the -daemon flag
14:06 asciilifeform ^
14:06 whaack ah ok, why is that necessary ?
14:06 asciilifeform whaack: so it doesn't get a SIGHUP when yer shell hangs up
14:07 asciilifeform whaack: from yer log you can see that it aint crashing, but rather quit as if by hand.
14:07 whaack yeah I noticed that
14:07 whaack I guess I'm surprised because I quit my shell and reconnected to see if that were a problem, but perhaps the difference was the "crash" came from my shell disconnecting rather than being closed from the "exit" command
14:08 asciilifeform aha, it will look exactly same in the log
14:08 asciilifeform 'unix philosophy'(tm)(r), proggy that gets SIGHUP will politely die.
14:09 whaack well I'm saying that the bitcoind process was still running when I closed my shell and reconnected
14:09 asciilifeform whaack: for how long ?
14:09 asciilifeform thing takes ~10min to actually exit after gets sighup
14:10 whaack I reconnected ~immediately
14:10 whaack so that would explain it
14:10 asciilifeform there you go.
14:11 asciilifeform jurov: this prolly oughta be included in the noob docs.
14:17 whaack alright, i'm running now with: LC_ALL=C nohup ./bitcoind -daemon -myip=205.134.172.28 -connect=205.134.172.27 -verifyall &
14:17 asciilifeform whaack: after you get yer noad goin', lemme know if you want it included in 'watchglass' roster.
14:18 asciilifeform ( this'll only work after you set it up to run normally, rather than w/ '-connect', w/ the latter you have a non-public noad that doesn't accept connections itself )
14:26 asciilifeform btw until/unless it's public, won't get advertised as peer either, see e.g. :
14:26 asciilifeform !w peers 205.134.172.27
14:26 watchglass 205.134.172.27:8333 :
14:27 asciilifeform !w peers 205.134.172.27
14:27 watchglass 205.134.172.27:8333 : reported peers: 46.142.88.191 73.248.234.184 75.83.53.31 84.148.214.155 90.199.100.75 91.244.50.197 94.233.89.148 103.36.92.112 103.121.252.133 108.31.170.3
14:27 watchglass 205.134.172.27:8333 : reported peers: 143.202.160.10 162.156.221.80 176.122.101.230 208.94.240.42 223.114.32.239
14:27 asciilifeform (i.e. this aint a bug)
← 2020-07-15 | 2020-07-26 → ↑