Bitcoin Forum
January 17, 2019, 07:40:44 AM *
News: The copper membership price will increase by about 300% around Friday.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-0.4.0-linux not running  (Read 1939 times)
rebel
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
November 02, 2011, 02:23:22 PM
Last edit: November 02, 2011, 02:43:26 PM by rebel
 #1

Using Ubuntu 10.04.

I had to reinstall Bitcoin. First I deleted  /bitcoin-0.4.0-linux  as well as  /.bitcoin  and reinstalled bitcoin-0.4.0-linux from SourceForge.net.
After untarring I have a new /bitcoin-0.4.0-linux and a new /.bitcoin  in home.

But it does not run. Keeps telling me that it 'Cannot obtain a lock on data directory'  and is probably already running .

I checked on this forum and tried 'netstat -tanp | grep -w 8333' - don't really know what it means but it gave me:
 tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      1579/bitcoin  

Please walk me through this .   (yes : I have a backup of the wallet!)

Thanks
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1547710844
Hero Member
*
Offline Offline

Posts: 1547710844

View Profile Personal Message (Offline)

Ignore
1547710844
Reply with quote  #2

1547710844
Report to moderator
1547710844
Hero Member
*
Offline Offline

Posts: 1547710844

View Profile Personal Message (Offline)

Ignore
1547710844
Reply with quote  #2

1547710844
Report to moderator
2112
Legendary
*
Offline Offline

Activity: 2114
Merit: 1027



View Profile
November 02, 2011, 07:41:39 PM
 #2

tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      1579/bitcoin  
What does "ps -fp1579" show?

Seems like process id 1579 is still running. Probably you forgot to stop the bitcoin process before removing the bitcoin files. Any Unix allows open files to be deleted, but they are just unlinked. They will get deleted as soon as the last open handle closes.

You could just try "kill -9 1579", although I wouldn't recommend it without checking first.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
November 02, 2011, 11:15:01 PM
 #3

"killall -w bitcoin", then try running it again.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
rebel
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
November 06, 2011, 04:14:48 PM
Last edit: November 07, 2011, 01:11:50 AM by rebel
 #4

Still not working.

When I start '...../bitcoin-0.4.0-linux/bin/32/bitcoin'   or '...../bitcoin-0.4.0-linux/bin/32/bitcoind' i can see in the System Monitor that bitcoin is 'Running' :  %CPU  goes up to 80 and it shows the port# as ID - but then it quiets down and it is 'Sleeping" and the CPU stays at 0. And it stays so apparently forever.

And 'sudo netstat -tanp | grep -w 8333'   gives:
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      3440/bitcoin  

' kill -9 3440 '  gets executed with no comment.
And afterwards : " killall -w bitcoin "   gives:   'bitcoin: no process found'

2 or 3 days ago  bitcoin started and I let it run overnight to download all the blocks. Afterwards it started sporadically  but now it again does not start at all.

 I would very much appreciate to hear any additional suggestions to solve this problem.

Thanks
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!