Bitcoin Forum
April 26, 2024, 03:29:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I lost bitcoind in a ssh screen.. help?  (Read 1229 times)
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
June 23, 2011, 06:58:14 AM
 #1

So I was running bitcoind through an SSH screen on ubuntu 11.04.

The connection terminates randomly after long periods of inactivity.

Before I disconnected once, I had a running ./bitcoind screen open...

Now when I re-connect I cannot seem to find it, but bitcoind is still running.

How do I go about properly closing bitcoind without corrupting the blockchain or worse?
1714145365
Hero Member
*
Offline Offline

Posts: 1714145365

View Profile Personal Message (Offline)

Ignore
1714145365
Reply with quote  #2

1714145365
Report to moderator
1714145365
Hero Member
*
Offline Offline

Posts: 1714145365

View Profile Personal Message (Offline)

Ignore
1714145365
Reply with quote  #2

1714145365
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714145365
Hero Member
*
Offline Offline

Posts: 1714145365

View Profile Personal Message (Offline)

Ignore
1714145365
Reply with quote  #2

1714145365
Report to moderator
1714145365
Hero Member
*
Offline Offline

Posts: 1714145365

View Profile Personal Message (Offline)

Ignore
1714145365
Reply with quote  #2

1714145365
Report to moderator
kseistrup
Hero Member
*****
Offline Offline

Activity: 566
Merit: 500


Unselfish actions pay back better


View Profile WWW
June 23, 2011, 07:10:10 AM
 #2


How do I go about properly closing bitcoind without corrupting the blockchain or worse?

If you have RPC enabled, ssh to the box, then write: /full/path/to/bitcoind stop

(try ‘bitcoind help’ for full help.)

Cheers,

Klaus Alexander Seistrup
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
June 23, 2011, 09:31:21 AM
 #3


How do I go about properly closing bitcoind without corrupting the blockchain or worse?

If you have RPC enabled, ssh to the box, then write: /full/path/to/bitcoind stop

(try ‘bitcoind help’ for full help.)

Cheers,

Worked a charm, thank you!
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
June 23, 2011, 04:13:43 PM
 #4

I know you fixed it, but if it was run using screen, when you reconnect you can also use:

% screen -ls

To list all of your screen sessions.  It will then give you the name of the session to reattach it.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!