Pages:
Author

Topic: Linux noob trying to run bitcoin via SSH - page 5. (Read 8953 times)

legendary
Activity: 1050
Merit: 1000
You are WRONG!
Quote
No idea what distro... is there a way to find out via SSH?  This is a rented VPS, and I did not get information on what version of linux was installed on it.
it is likely to be debian or centos.
try:
Code:
uname -a
cat /etc/lsb_release

also bitcoind does not need xwindows. only bitcoin. the ssh -X is not needed
legendary
Activity: 1400
Merit: 1005
what kind of distro do you run? debian? centos 5?

"./bitcoind: error while loading shared libraries: libgthread-2.0.so.0: cannot o$"
it looks like you need glibc2
No idea what distro... is there a way to find out via SSH?  This is a rented VPS, and I did not get information on what version of linux was installed on it.

Ok, I'll see if I can figure out how to install glibc2.  Thanks!

EDIT:  Looks like Debian is the default Linux installation, but other versions can be installed.  Also, I am clueless as to this glibc2 thing... it seems like it's a major OS-level upgrade to everything, so I'm a bit hesitant to just start trying things.  Any simple way to get that particular library requirement installed?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
Even the deamon requires libgthread, which is part of glib2. This is due to imperfections in the makefile used to control the build. It is a dependency even though the daemon build doesn't use it. The same is true of libz.

Note this is glib2, not glibc2.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
what kind of distro do you run? debian? centos 5?

"./bitcoind: error while loading shared libraries: libgthread-2.0.so.0: cannot o$"
it looks like you need glibc2
legendary
Activity: 1400
Merit: 1005
Thanks, making progress.

I did "nohup ./bitcoind, and it said "nohup: ignoring input and appending output to 'nohup.out'

Sending the command pico nohup.out results in the following text:
"./bitcoind: error while loading shared libraries: libgthread-2.0.so.0: cannot o$"


Now you mentioned that bitcoin will want Xwindows... why is this?  I simply want to run a bitcoind RPC service - I don't need a GUI of any kind.
legendary
Activity: 2940
Merit: 1090
You have to specify where the command is, because Unix, and Linux, defaults to looking in the places listed in its PATH environment setting.

The current directory is . so you can do ./bitcoin or ./bitcoind if they are in the directory you are in.

Or if you don't bother navigating all the way down to /bitcoin/bin/64 you could say /bitcoin/bin/64/bitcoin or /bitcoin/bin/64/bitcoind

bitcoin will want Xwindows, so you will have to've used ssh -X instead of just ssh so that it will know at what IP address, and at which X-windows display of that IP address, to bring up its GUI. (If you are on Windows, it does not typically come with an Xwondows display, that is an extra you have to go find, some of them are commercial, long time since I went looking for such a thing.)

The basic point is that for security reasons . (the current directory) is deliberately omitted from PATH (too many nasty tricks can be played on people who put . into their PATH).

-MarkM-
legendary
Activity: 1400
Merit: 1005
I successfully downloaded and untar'd the lastest compiled version of bitcoin for linux via SSH.  The part I can't figure out is how to actually start the stupid thing running.  I'm a complete linux noob, only figured out how to do what I've done so far via googling.

So I've navigated to /bitcoin/bin/64/, and using ls, I can see that there are two files - bitcoin, and bitcoind.  But how do I actually launch either of them?  Typing bitcoind just says command not found.  I tried nohup bitcoind, and it says ":nohup: cannot run command 'bitcoind': No such file or directory".

What am I doing wrong here?
Pages:
Jump to: