Pages:
Author

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

newbie
Activity: 24
Merit: 0
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned

I didn't read this entire thread to know what the problem is, but I gather from bits and pieces that libgthread was missing in your current distribution?  Simply install glib (not glibc) to fix that

Whatever the case may be, use whatever is most comfortable for you and whatever you have the most experience using.  If there's ever a problem regarding missing libraries or dependencies, you can likely get an answer in a few minutes by visiting the distribution's forums and asking what package you need to install/how to install it/etc Smiley

Rest assured, the very few distributions that bitcoind won't run on are rare, and I have a lot of faith that you will never encounter them unless you begin doing some embedded design work on different architectures
legendary
Activity: 1050
Merit: 1000
You are WRONG!
So, got access to the VPS control panel, and am thinking about installing a different OS.  Below are my options.  Can I be assured that bitcoind-0.3.24 would run on any of them?  Or should I just start installing them and trying them out?

Gentoo
Debian 5.0
Ubuntu
CentOS
Fedora
OpenSuse


try ubuntu, it 'should' work. but be careful when you install a different OS, you will wipe your data.
legendary
Activity: 1400
Merit: 1005
So, got access to the VPS control panel, and am thinking about installing a different OS.  Below are my options.  Can I be assured that bitcoind-0.3.24 would run on any of them?  Or should I just start installing them and trying them out?

Gentoo
Debian 5.0
Ubuntu
CentOS
Fedora
OpenSuse

legendary
Activity: 1218
Merit: 1000
You can not update the Kernel in a VPS! Because the Kernel is shared with the main machine. VPS's are not VDS's.
Haha, good to know...!

VPS vs VDS Pros: They're way cheaper

VPS vs VDS Cons: Everything else.  Grin

A VPS is just like a shared host, except that each container has its own IP and shell. But from the main machine they look like: /vps/vps1/, /vps/vps2/(...) whereas a VDS/DS mounts exactly at / and can have its own Kernel, swap and filesystem.
Actually one thing to look carefully with VPS's is the memory, because it has no swap or any virtualization of memory, if you run out of memory your system will most likely hang.
legendary
Activity: 1400
Merit: 1005
You can not update the Kernel in a VPS! Because the Kernel is shared with the main machine. VPS's are not VDS's.
Haha, good to know...!
legendary
Activity: 1218
Merit: 1000
You can not update the Kernel in a VPS! Because the Kernel is shared with the main machine. VPS's are not VDS's.
newbie
Activity: 16
Merit: 0
I'd be fine with Debian if it actually worked with the latest bitcoind.   Roll Eyes  Maybe they have Debian 6.0 available, not sure.  That's one thing I'll be checking out.
Sid is the cutting edge. Try that. Should have the up to date libs, but as with any cutting edge stuff my usual disclaimer applies: "You might break stuff. Don't blame me, I didn't force you to installed it"
legendary
Activity: 1400
Merit: 1005
I'd be fine with Debian if it actually worked with the latest bitcoind.   Roll Eyes  Maybe they have Debian 6.0 available, not sure.  That's one thing I'll be checking out.
full member
Activity: 168
Merit: 100
Firstbits: 175wn
Well, been following those instructions for the past two hours, and when it finally came to the kernel + udev install, then a reboot, SSH didn't come back up.  Sad

Guess I'll ask my VPS provider to reset it and start over.  Or maybe look at what other OS's they have available...
Sorry to hear that. I'd try to help recover, except I've never run a VPS, only local machines, so I don't have a clue what to do without physical access.

Anyway as for other OS's, I'm not sure what else you'd use. CentOS and Debian are some of the best for servers (and CentOS is a pain to get bitcoind working on). The main difference with Ubuntu on servers is that you end up upgrading more often than debian, so I'm not sure why you'd want to. If you want to run Windows, it'll likely be more expensive, and less reliable.

Maybe I'm biased because I use Debian, but it really seems to be the best choice to me.
legendary
Activity: 1400
Merit: 1005
SgtSpike, It is possible I missed something but can you tell me why do you need to run bitcoin in your rented headless box.

It'll be for a new website I am developing.  I'll be running XAMPP and bitcoind.
legendary
Activity: 1400
Merit: 1005
Code:
Debian GNU/Linux 5.0 \n \l

So the issue boils down to this:  Someone else compiled it for bitcoin.org on a flavor of linux with newer libraries, and since my version of linux has older libraries, I can't run it.

I'll look at compiling it myself then, that seems to be the only route to go.

Is there a way to update from 5.0 to 6.0 without losing my files and configs?

Yes, you can upgrade. Here are instructions:
http://www.debian.org/releases/squeeze/i386/release-notes/ch-upgrading.en.html
Well, been following those instructions for the past two hours, and when it finally came to the kernel + udev install, then a reboot, SSH didn't come back up.  Sad

Guess I'll ask my VPS provider to reset it and start over.  Or maybe look at what other OS's they have available...
legendary
Activity: 1218
Merit: 1000
The latest bitcoind binary doesn't work under Debian 5, you need to recompile it to old versions of libstdc++
Last version of pre-compiled binaries that works with Debian 5 is 3.21.
I'll probably need to recompile my own, but 32 bit version, so I put the binaries once I take some time to do it.

Welcome to wonderful world of Linux, where versions come after each others for no reason at all...
Hail to Cobol! Since 1960 to our days minimal changes and versions came out.
The reason? When you create something that just works, you don't need to keep releasing new versions. BSD is also stable, so you don't see any new version of BSD "pooping out every year", now Linux... is just in competition with Windows when it comes to see which of them crashes most!  Grin
full member
Activity: 168
Merit: 100
Firstbits: 175wn
Code:
Debian GNU/Linux 5.0 \n \l

So the issue boils down to this:  Someone else compiled it for bitcoin.org on a flavor of linux with newer libraries, and since my version of linux has older libraries, I can't run it.

I'll look at compiling it myself then, that seems to be the only route to go.

Is there a way to update from 5.0 to 6.0 without losing my files and configs?

Yes, you can upgrade. Here are instructions:
http://www.debian.org/releases/squeeze/i386/release-notes/ch-upgrading.en.html
legendary
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
SgtSpike, It is possible I missed something but can you tell me why do you need to run bitcoin in your rented headless box.
legendary
Activity: 1400
Merit: 1005
Code:
Debian GNU/Linux 5.0 \n \l

So the issue boils down to this:  Someone else compiled it for bitcoin.org on a flavor of linux with newer libraries, and since my version of linux has older libraries, I can't run it.

I'll look at compiling it myself then, that seems to be the only route to go.

Is there a way to update from 5.0 to 6.0 without losing my files and configs?
full member
Activity: 168
Merit: 100
Firstbits: 175wn
Well, I managed to find a working version of 0.3.22 to run.  It was meant for centOS, but seems to work on debian without a problem.  I have yet to test RPC calls though.

The version I am using was downloaded from this post:  http://forum.bitcoin.org/index.php?topic=685.msg371171#msg371171

Why is it such a problem to run bitcoind on Debian and so many other headless linux OS's?  From what I have read, it seems like the dependencies are not something you can upgrade - it's part of the core OS.  It seems silly to have such dependencies that exclude so many linux OS's from running bitcoin...

I could be wrong, and if I am, I would very much appreciate someone pointing out how it might be possible to run one of the later versions of bitcoind on debian.

The issue here is that your libc isn't new enough for the precompiled binaries - they were compiled against a newer version of libc. libc is the C standard library, so anything written in C or C++ (basically everything) depends on it, so it's hard to upgrade.

Anyway, what's confusing me is that I'm running debian stable on my desktop right now, and bitcoin runs fine. I checked the package repos, and all the libraries are a new enough version.

Are you sure you're not on oldstable? Try running:
Code:
cat /etc/issue
If you're running stable, it should say "Debian GNU/Linux 6.0"
If it says 5.0, then you're running oldstable, and that's your problem. You're probably going to need to upgrade to stable sometime anyway, and that would let you run the precompiled bitcoind just fine.

Another option is to compile the binaries yourself. It shouldn't be too hard since you won't need UPnP or wxwidgets.

The reason why the centos binaries work is because centos also has an older libc, so compiling against that older version lets it run on your system.
newbie
Activity: 16
Merit: 0
Well, I managed to find a working version of 0.3.22 to run.  It was meant for centOS, but seems to work on debian without a problem.  I have yet to test RPC calls though.

The version I am using was downloaded from this post:  http://forum.bitcoin.org/index.php?topic=685.msg371171#msg371171

Why is it such a problem to run bitcoind on Debian and so many other headless linux OS's?  From what I have read, it seems like the dependencies are not something you can upgrade - it's part of the core OS.  It seems silly to have such dependencies that exclude so many linux OS's from running bitcoin...

I could be wrong, and if I am, I would very much appreciate someone pointing out how it might be possible to run one of the later versions of bitcoind on debian.
What Debian release are you running? Squeeze, Wheezy, Sid?
From what I know of the Debian Way, Squeeze is stable due to the lack of "latest, greatest and cutting edge" - could be part of the problem?
Rock-solid Stable doesn't always mean "everything is going to work just fine"
As far as I know, the Boost libs are the only  so-called "nonstandard" libraries that bitcoin depends on (I could be wrong).
have you tried building just the daemon (no gui, no Wx Widgets)?
legendary
Activity: 1400
Merit: 1005
Well, I managed to find a working version of 0.3.22 to run.  It was meant for centOS, but seems to work on debian without a problem.  I have yet to test RPC calls though.

The version I am using was downloaded from this post:  http://forum.bitcoin.org/index.php?topic=685.msg371171#msg371171

Why is it such a problem to run bitcoind on Debian and so many other headless linux OS's?  From what I have read, it seems like the dependencies are not something you can upgrade - it's part of the core OS.  It seems silly to have such dependencies that exclude so many linux OS's from running bitcoin...

I could be wrong, and if I am, I would very much appreciate someone pointing out how it might be possible to run one of the later versions of bitcoind on debian.
legendary
Activity: 1400
Merit: 1005
You could try installing the package "ia32-libs-gtk", which contains a 32 bit version of libgthread (just a warning: it includes some GTK+ stuff too).
Interesting... now I'm getting the same error as the 64-bit version of bitcoind when trying to run the 32-bit version.  I suppose that's a good thing, now that I have one error out of the way...  Just need to figure out this one.  I'll do some more googling, but if anyone has any suggestions, feel free to give me a shout.

Code:
./bitcoind: /usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./bitcoind)
./bitcoind: /lib32/libc.so.6: version `GLIBC_2.11' not found (required by ./bitcoind)
full member
Activity: 168
Merit: 100
Firstbits: 175wn
You could try installing the package "ia32-libs-gtk", which contains a 32 bit version of libgthread (just a warning: it includes some GTK+ stuff too).
Pages:
Jump to: