Bitcoin Forum
December 05, 2016, 02:54:33 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoin-0.4.0-linux not running  (Read 1780 times)
rebel
Jr. Member
*
Offline Offline

Activity: 30


View Profile
November 02, 2011, 02:23:22 PM
 #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
1480949673
Hero Member
*
Offline Offline

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

1480949673
Report to moderator
1480949673
Hero Member
*
Offline Offline

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

1480949673
Report to moderator
1480949673
Hero Member
*
Offline Offline

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

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

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

1480949673
Report to moderator
1480949673
Hero Member
*
Offline Offline

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

1480949673
Report to moderator
1480949673
Hero Member
*
Offline Offline

Posts: 1480949673

View Profile Personal Message (Offline)

Ignore
1480949673
Reply with quote  #2

1480949673
Report to moderator
2112
Legendary
*
Offline Offline

Activity: 1708



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


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
Jr. Member
*
Offline Offline

Activity: 30


View Profile
November 06, 2011, 04:14:48 PM
 #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:  

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!