Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Maik_37 on May 28, 2015, 06:44:52 AM



Title: Installed bitcoind on server debian 8
Post by: Maik_37 on May 28, 2015, 06:44:52 AM
I would need to be installed on a server bitcoind debian 8 so you can make interact PHP with bitcoin client but the guides that I found online are all debian 7 and when the use of debian 8 are full of errors. Then yesterday I found out that the development of bitcoind for debian Stopped at a couple of years ago. So I'm wondering if anyone knows how I can install it on debian 8 server I should I use a ubuntu server.

Ps. Sorry for my bad english



Title: Re: Installed bitcoind on server debian 8
Post by: altcoinex on May 28, 2015, 11:27:01 AM
I think this belongs in the Technical Support section, not Development and Tech Discussion. It will likely be moved by a moderator.
Compiling by source is your best option if there is not a package available.


Title: Re: Installed bitcoind on server debian 8
Post by: tspacepilot on May 28, 2015, 08:32:44 PM
I would need to be installed on a server bitcoind debian 8 so you can make interact PHP with bitcoin client but the guides that I found online are all debian 7 and when the use of debian 8 are full of errors. Then yesterday I found out that the development of bitcoind for debian Stopped at a couple of years ago. So I'm wondering if anyone knows how I can install it on debian 8 server I should I use a ubuntu server.

Ps. Sorry for my bad english



I'm surprised that you find issues using debian 7 vs debian 8.  Anyway, if you post your error messages you'll have better luck with replies helping you to understand them.  Anyway, I've used bitcoind on debian jessie and debian wheezy without issue.   Similarly with debian vs. ubuntu, the differences are quite minimal (at least when it comes to building/running bitcoin-core).  Post your error messages and we can probably help you.


Title: Re: Installed bitcoind on server debian 8
Post by: Maik_37 on May 29, 2015, 03:41:06 PM
Hello, sorry to say with so much delay, but yesterday I decided to try it on debian install bitcoind 7 but without results. To download and fill bitcoind am following this guide http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server (http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server)  but when do just about configuration terminal ./autogen.sh me this outpunt:

configure.ac:5: installing `build-aux/config.guess'
configure.ac:5: installing `build-aux/config.sub'
configure.ac:9: installing `build-aux/install-sh'
configure.ac:9: installing `build-aux/missing'
Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
Makefile.am:3:   The usual way to define `LIBTOOL' is to add `LT_INIT'
Makefile.am:3:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am:3:   If `LT_INIT' is in `configure.ac', make sure
Makefile.am:3:   its definition is in aclocal's search path.
Makefile.am: installing `build-aux/depcomp'
autoreconf: automake failed with exit status: 1


Title: Re: Installed bitcoind on server debian 8
Post by: tspacepilot on May 29, 2015, 04:05:07 PM
I'm thinking that most likely, your problem will go away if you install libtool:

Code:
sudo apt-get install libtool

Cheers!


Title: Re: Installed bitcoind on server debian 8
Post by: Maik_37 on May 29, 2015, 04:11:56 PM
Finally succeeded, thanks a lot  :D


Title: Re: Installed bitcoind on server debian 8
Post by: tspacepilot on May 29, 2015, 04:16:07 PM
Finally succeeded, thanks a lot  :D

You're welcome.  And hopefully this demonstrates how useful it is to actually post the terminal session with the messages you got when requesting help.  Believe it or not, some people actually know how to decipher those messages :)


Title: Re: Installed bitcoind on server debian 8
Post by: Maik_37 on May 29, 2015, 04:26:17 PM
I would not bother too much but I have another problem the demon bitcoind when I type "bitcoin-cli getinfo" gives me back:

error: You must set rpcpassword=<password> in the configuration file:
/home/maicol/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readable-only file permissions.

The file contains bitcoin.conf:

server=1
daemon=1
rpcuser=user
rpcpassword=password


Title: Re: Installed bitcoind on server debian 8
Post by: tspacepilot on May 29, 2015, 04:30:54 PM
I would not bother too much but I have another problem the demon bitcoind when I type "bitcoin-cli getinfo" gives me back:

error: You must set rpcpassword=<password> in the configuration file:
/home/maicol/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readable-only file permissions.

The file contains bitcoin.conf:

server=1
daemon=1
rpcuser=user
rpcpassword=password

So, you probably want to double-check the location of the file.  In this recent thread, a user had a similar problem:

https://bitcointalk.org/index.php?topic=1065676.0

You can follow the same steps as there to make sure you have the file in the right place.


Title: Re: Installed bitcoind on server debian 8
Post by: Maik_37 on May 29, 2015, 04:42:58 PM
Now bitcoind it works perfectly and is already downloading the chains of blocks  :D :D :D