Bitcoin Forum
December 03, 2016, 09:38:24 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 »
  Print  
Author Topic: Pushpool - Tech Support  (Read 126667 times)
sareea
Member
**
Offline Offline

Activity: 76


View Profile
July 31, 2011, 09:07:48 PM
 #401

Thanks alot guys for helping me Smiley
I meant by hosting, a server service provider, like leaseweb, but i am planning on starting with VPS , then upgrade to a dedicated .
What do you recommend ?
i have 30-35 euro budget as to start .
Thanks
1480757904
Hero Member
*
Offline Offline

Posts: 1480757904

View Profile Personal Message (Offline)

Ignore
1480757904
Reply with quote  #2

1480757904
Report to moderator
1480757904
Hero Member
*
Offline Offline

Posts: 1480757904

View Profile Personal Message (Offline)

Ignore
1480757904
Reply with quote  #2

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

Posts: 1480757904

View Profile Personal Message (Offline)

Ignore
1480757904
Reply with quote  #2

1480757904
Report to moderator
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
July 31, 2011, 10:22:57 PM
 #402

Don't really have any suggestions on a host.


Ok, here's a question for everyone.... what's this mean?


011-07-31 15:30:52: Listener for "pushpoold test": error: [Errno 10054] An existing connection was forcibly closed by the remote host
2011-07-31 15:30:52: Listener for "pushpoold test": Traceback (most recent call last):
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 261, in longPollThread
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 224, in request
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 974, in getresponse
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 391, in begin
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 349, in _read_status
2011-07-31 15:30:52: Listener for "pushpoold test": File "socket.pyo", line 397, in readline
2011-07-31 15:30:52: Listener for "pushpoold test": error: [Errno 10054] An existing connection was forcibly closed by the remote host
2011-07-31 15:30:52: Listener for "pushpoold test": Traceback (most recent call last):
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 261, in longPollThread
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 224, in request
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 974, in getresponse
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 391, in begin
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 349, in _read_status
2011-07-31 15:40:52: Listener for "pushpoold test": 31/07/2011 15:40:52, long poll exception:
2011-07-31 15:50:52: Listener for "pushpoold test": 31/07/2011 15:50:52, long poll exception:
2011-07-31 16:00:52: Listener for "pushpoold test": 31/07/2011 16:00:52, long poll exception:
2011-07-31 16:10:52: Listener for "pushpoold test": 31/07/2011 16:10:52, long poll exception:


Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
August 01, 2011, 04:44:53 AM
 #403

I'm currently using thegcloud.com/ but for some reason their website keeps saying system invalid although I can login and I'm still receiving tech support quick like.
I would reccommend RackSpace the same people who host GitHub they been around for years.
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 01, 2011, 11:51:19 PM
 #404

bump for my last post.
Vadtec
Newbie
*
Offline Offline

Activity: 15


View Profile
August 02, 2011, 05:01:38 AM
 #405

Question about rpc.target.rewrite setting in the config file...

Does this setting make pushpool behave like a pool vs a proxy to bitcoind? As in, when disabled (false), it is just a proxy to a bitcoind that doesn't bother logging any shares to the DB? And as in, when enabled, it is a proxy to a bitcoind that logs shares to the DB?

This would explain why when I set it to false I see shares generated in my miner but nothing gets logged to the DB. But, as I read the code, shouldn't it go ahead and process the share even though it's not an "easy target" and log to the DB? Looking at the git repo, in msg.c @ line 339, it should just skip over that section and continue processing. However, when I run the code with custom debugging lines inserted throughout submit_work(), I do not even see the custom debugging lines. To see the custom debugging lines, I must set rpc.target.rewrite to true.

So, why is it that when I set rpc.target.rewrite to true pushpool logs to the DB and I see my custom debug messages, but if I set it to false, everything seems to take a nap?

Also, what exactly is it rewriting? I'm still trying to figure that part out...

- Vadtec

Find my post useful? Send me a few bitcent @ 1NFBQg4fMpZoP2UEE2CnSyFDdNVy5fSrqc
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 02, 2011, 12:16:57 PM
 #406

Hello,
I am getting these errors when i run the ./pushpoold -E -F
i run the ./bitcoind and the server says it is starting, then gives a warning .
This is it
.
Code:
/home/bitcoin/bin/32# ./bitcoind -daemon
bitcoin server starting
/home/bitcoin/bin/32# Warning: To use the "-
daemon" option, you must set rpcpassword=<password>
in the configuration file: /root/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readabl
e-only file permissions.

/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpool
d)
[2011-08-02 12:13:17.433843] server.json: JSON parse fai
led
What is this ? Thanks a lot !

Edit : i use ubuntu 11 with DirectAdmin , i made the Database using the DirectAdmin , and i also installed the line posted by Xenland

sudo apt-get install libmysql++-dev.
I configured and installed both bitcoind and pushpoold .
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
August 02, 2011, 01:02:49 PM
 #407

Hello,
I am getting these errors when i run the ./pushpoold -E -F
i run the ./bitcoind and the server says it is starting, then gives a warning .
This is it
.
Code:
/home/bitcoin/bin/32# ./bitcoind -daemon
bitcoin server starting
/home/bitcoin/bin/32# Warning: To use the "-
daemon" option, you must set rpcpassword=<password>
in the configuration file: /root/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readabl
e-only file permissions.

/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpool
d)
[2011-08-02 12:13:17.433843] server.json: JSON parse fai
led
What is this ? Thanks a lot !

Edit : i use ubuntu 11 with DirectAdmin , i made the Database using the DirectAdmin , and i also installed the line posted by Xenland

sudo apt-get install libmysql++-dev.
I configured and installed both bitcoind and pushpoold .

Looks like bitcoind isn't starting up, you need to fix that first before you can get pushpoold to work and the error bitcoind is spitting out says you haven't setup a bitcoin.conf file for credentials.
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 02, 2011, 01:21:38 PM
 #408

Hello,
I am getting these errors when i run the ./pushpoold -E -F
i run the ./bitcoind and the server says it is starting, then gives a warning .
This is it
.
Code:
/home/bitcoin/bin/32# ./bitcoind -daemon
bitcoin server starting
/home/bitcoin/bin/32# Warning: To use the "-
daemon" option, you must set rpcpassword=<password>
in the configuration file: /root/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readabl
e-only file permissions.

/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpool
d)
[2011-08-02 12:13:17.433843] server.json: JSON parse fai
led
What is this ? Thanks a lot !

Edit : i use ubuntu 11 with DirectAdmin , i made the Database using the DirectAdmin , and i also installed the line posted by Xenland

sudo apt-get install libmysql++-dev.
I configured and installed both bitcoind and pushpoold .

Looks like bitcoind isn't starting up, you need to fix that first before you can get pushpoold to work and the error bitcoind is spitting out says you haven't setup a bitcoin.conf file for credentials.

Also, pushpool can't find your pushpool config file.  You have to specify it explicitly on the command line.  Unlike bitcoind, it won't look in a default path for the config file.
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 02, 2011, 01:26:33 PM
 #409

Hello,
I am getting these errors when i run the ./pushpoold -E -F
i run the ./bitcoind and the server says it is starting, then gives a warning .
This is it
.
Code:
/home/bitcoin/bin/32# ./bitcoind -daemon
bitcoin server starting
/home/bitcoin/bin/32# Warning: To use the "-
daemon" option, you must set rpcpassword=<password>
in the configuration file: /root/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readabl
e-only file permissions.

/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpool
d)
[2011-08-02 12:13:17.433843] server.json: JSON parse fai
led
What is this ? Thanks a lot !

Edit : i use ubuntu 11 with DirectAdmin , i made the Database using the DirectAdmin , and i also installed the line posted by Xenland

sudo apt-get install libmysql++-dev.
I configured and installed both bitcoind and pushpoold .

Looks like bitcoind isn't starting up, you need to fix that first before you can get pushpoold to work and the error bitcoind is spitting out says you haven't setup a bitcoin.conf file for credentials.
Thanks but ,
I already put bitcoin.conf in the /root/.bitcoin/ directory and set the rpc username and password , why can't it find it ?
and Furyan , i have the server.json file in the pool directory , what do you mean ? do i need a special command to specify it ? Can you help please? thanks !
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 02, 2011, 01:38:56 PM
 #410

Code:
/home/bitcoin/bin/32# ./bitcoind -daemon
bitcoin server starting
/home/bitcoin/bin/32# Warning: To use the "-
daemon" option, you must set rpcpassword=<password>
in the configuration file: /root/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readabl
e-only file permissions.

I'm guessing you are trying to run bitcoin as the wrong user.  
put your config file in /root/.bitcoin/bitcoin.conf then run as root.
if you are trying to run as user bitcoin, then you need to put the
config file in /home/bitcoin/.bitcoin/bitcoin/conf

If you can run it as user bitcoin, that is MUCH prefered to running as root.

Code:
/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpoold)
[2011-08-02 12:13:17.433843] server.json: JSON parse failed

In this error, you are seeking a library that cannot be found.
I do not have libmysqlclient.so.16 on my system, so it must not
be needed under centos 5.6.  I do, however, have a
libmysqlclient.so & libmysqlclient.so.15

yum provides "*/libmysqlclient.so"
tells us the library lives in mysql-devel
so you need
yum install mysql-devel
if it complains that you already have that package, run
yum reinstall mysql-devel

now, can anybody tell me what this means?

011-07-31 15:30:52: Listener for "pushpoold test": error: [Errno 10054] An existing connection was forcibly closed by the remote host
2011-07-31 15:30:52: Listener for "pushpoold test": Traceback (most recent call last):
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 261, in longPollThread
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 224, in request
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 974, in getresponse
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 391, in begin
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 349, in _read_status
2011-07-31 15:30:52: Listener for "pushpoold test": File "socket.pyo", line 397, in readline
2011-07-31 15:30:52: Listener for "pushpoold test": error: [Errno 10054] An existing connection was forcibly closed by the remote host
2011-07-31 15:30:52: Listener for "pushpoold test": Traceback (most recent call last):
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 261, in longPollThread
2011-07-31 15:30:52: Listener for "pushpoold test": File "BitcoinMiner.pyo", line 224, in request
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 974, in getresponse
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 391, in begin
2011-07-31 15:30:52: Listener for "pushpoold test": File "httplib.pyo", line 349, in _read_status
2011-07-31 15:40:52: Listener for "pushpoold test": 31/07/2011 15:40:52, long poll exception:
2011-07-31 15:50:52: Listener for "pushpoold test": 31/07/2011 15:50:52, long poll exception:
2011-07-31 16:00:52: Listener for "pushpoold test": 31/07/2011 16:00:52, long poll exception:
2011-07-31 16:10:52: Listener for "pushpoold test": 31/07/2011 16:10:52, long poll exception:


anybody?


Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 02, 2011, 01:49:11 PM
 #411

- snip -
Thanks but ,
I already put bitcoin.conf in the /root/.bitcoin/ directory and set the rpc username and password , why can't it find it ?
and Furyan , i have the server.json file in the pool directory , what do you mean ? do i need a special command to specify it ? Can you help please? thanks !

You start pushpool like this:

./pushpoold --config=/path/to/your/server/config/pushpool.json

I have mine wrapped in a shell script that also starts up memcached for me and allows me to specify extra params to pushpoold.
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 02, 2011, 01:54:31 PM
 #412

Now I have a question of my own -

pushpool does not support bitcoind RPC over SSL, does it?

I tried enabling that setting in bitcoind, and.. well.. regretted it.  I had verified all the certificates, signing, request/response etc was in place. Simply pushpool couldn't speak that language.

I might look at adding this.  I want to expose my bitcoind instance to the internet but I won't do that until it only uses SSL.
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 02, 2011, 01:58:03 PM
 #413

If you run them both on the same machine, you only need to expose pushpoold.  You can turn off the firewall for the bitcoind ports to the outside world.  Same way most people run mysql, ya?
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 02, 2011, 02:07:48 PM
 #414

If you run them both on the same machine, you only need to expose pushpoold.  You can turn off the firewall for the bitcoind ports to the outside world.  Same way most people run mysql, ya?

Mysql has nothing to do with my question.

Also, as I stated, my intention is to expose bitcoind to the internet.  I want to be able to update stats elsewhere (and run transactions and the such). E.g., a pool frontend.  Having everything run on one machine is simply a terrible design.

However, bitcoind is "ssl" or "no ssl". One or the other, for all connections.  Thus, if I enable the ssl setting in bitcoind, pushpool has to support it as well.  It doesn't look like it does, looking at the CURLOPT code in the pushpool server.
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 02, 2011, 03:58:38 PM
 #415

>Having everything run on one machine is simply a terrible design.

lol.


sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 02, 2011, 05:05:57 PM
 #416

I have Ubuntu 11 with Directadmin control panel on my server . Is there any command listed in this tutorial that i mustn't run ? Because i tried once and my SQL server became problematic , i think i mustn't install the libmysqlclient++dev thing right ?
Thanks a lot

Edit : A hard question :S I have Directadmin , and i could configure the pushpool successfully , but when i try to make; it says that no valid database engines defined, but i already got Directadmin with phpMyadmin and i can make sql databases and etc ...
And i still get this although i have a sql engine :S
Code:
checking for g++... g++
checking whether we are using the GNU C++ compiler... ye
s
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for SQLite3 library >= 3.0.0... not found
checking for mysql_config... no
checking for mysql_config5... no
checking for pg_config... no
no
checking for gawk... (cached) gawk
checking for curl-config... /us
And this is a piece of information about my server

Code:
Apache 2.2.19 Running
DirectAdmin 1.39.1 Running
Exim 4.73 Running
MySQL 5.5.9 Running
Named 9.7.3 Running
ProFTPd 1.3.3d Running
sshd Running
dovecot 2.0.13 Running
Php 5.2.17 Installed

What do you think i should do ? Thanks a lot !
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 02, 2011, 07:05:00 PM
 #417

>Having everything run on one machine is simply a terrible design.

lol.


Heh. Do continue.
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 03, 2011, 01:00:20 AM
 #418

checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for SQLite3 library >= 3.0.0... not found
checking for mysql_config... no

you need to compile with:

./configure -without-sqlite3 --prefix=/home/pushpool/ && make 

from pages 16-17 of this thread

sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 03, 2011, 11:15:32 AM
 #419

checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for SQLite3 library >= 3.0.0... not found
checking for mysql_config... no

you need to compile with:

./configure -without-sqlite3 --prefix=/home/pushpool/ && make  

from pages 16-17 of this thread



I tried this
and i got
Code:
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for mysql_config... no
checking for mysql_config5... no
checking for pg_config..

But when i do make i still get No valid Database engines defined .

Thanks for the help

Edit :
I fixed the problem by running
sudo apt-get install libmysqlclient-dev
but ,
now i get this
Code:
root@server:/home/pool# ./pushpoold -E -F
./pushpoold: /usr/local/mysql/lib/libmysqlclient.so.16:
no version information available (required by ./pushpool
d)
[2011-08-03 11:34:31.785467] server.json: JSON parse fai
led
And bitcoind is running .
What should i do ?
Thanks !

Edit 2 : it seems i managed to fix the "libmysqlclient.so.16" by renaming the file to "test and running
ln -s libmysqlclient.so.18 libmysqlclient.so.16 .

Now i get this problem hhh Cheesy
Code:
root@server:/home/pool# ./pushpoold -E -F
[2011-08-03 11:49:55.117310] config file(server.json) line too long

WHAT IS THIS Cheesy ?
Thanks !

Edit 3 ( the journey continues ) : i found here
https://github.com/jgarzik/pushpool/blame/master/config.c
this code
Code:
61 while ((line = fgets(linebuf, sizeof(linebuf), f)) != NULL) {
62 int i;
63 size_t linelen;
64 bool is_comment;
65
66 if (!memchr(line, '\n', sizeof(linebuf))) {
67 applog(LOG_ERR, "config file(%s) line too long", fn);
68 goto err_out_close;
69 }

Here is my server.json file
http://pastebin.com/UKFeg6Pa

I think it might help understand this problem ? Smiley
Thanks
Viceroy
Hero Member
*****
Offline Offline

Activity: 616


View Profile
August 03, 2011, 01:29:56 PM
 #420

two things I'd try:


1) wrap line 55 in your server.json.
on the second line be sure to add a #

double check to see if any other lines wrap, try to make them shorter.



2) is mysql installed?  (yum install mysql)
It's looking for mysql_config which is part of the mysql package

yum provides */mysql_config

leads to:


mysql-5.0.77-4.el5_6.6.i386 : MySQL client programs and shared libraries.
Repo        : installed
Matched from:
Filename    : /usr/lib/mysql/mysql_config
Filename    : /usr/bin/mysql_config



To test if mysql_config is installed (on your system it is not) run:

mysql_config --libs

It shows you what libraries are linked.  My test box shows:
-rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto



Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 »
  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!