Bitcoin Forum
December 03, 2016, 06:51:35 AM *
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 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 126664 times)
jgarzik
Legendary
*
Offline Offline

Activity: 1470


View Profile
September 18, 2011, 01:02:44 AM
 #481

Does anyone know what these parts of the pushpool server.json file are for...

Code:
       "listen" : [
                # binary protocol (default), port 8336
                { "port" : 8336 },

and

Code:
       "listen" : [
                # binary protocol, localhost-only port 8338
                { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
        ],

Do the miner clients need to connect to those ports?

The binary protocol is documented here:  https://bitcointalk.org/index.php?topic=3493.0

No mainstream miners support it, so most people will not need it.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1480747895
Hero Member
*
Offline Offline

Posts: 1480747895

View Profile Personal Message (Offline)

Ignore
1480747895
Reply with quote  #2

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

Posts: 1480747895

View Profile Personal Message (Offline)

Ignore
1480747895
Reply with quote  #2

1480747895
Report to moderator
1480747895
Hero Member
*
Offline Offline

Posts: 1480747895

View Profile Personal Message (Offline)

Ignore
1480747895
Reply with quote  #2

1480747895
Report to moderator
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
September 18, 2011, 11:20:50 PM
 #482

Does anyone know what these parts of the pushpool server.json file are for...

Code:
       "listen" : [
                # binary protocol (default), port 8336
                { "port" : 8336 },

and

Code:
       "listen" : [
                # binary protocol, localhost-only port 8338
                { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
        ],

Do the miner clients need to connect to those ports?

The binary protocol is documented here:  https://bitcointalk.org/index.php?topic=3493.0

No mainstream miners support it, so most people will not need it.



Thanks.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
September 18, 2011, 11:23:13 PM
 #483

I have fixed my problem where puspool stopped working with error too many files opened now it collapses with...

"HTTP request failed: couldn't connect to host"

A restart of pushpool gets it going again.

As anyone seen this before?
jackie
Newbie
*
Offline Offline

Activity: 9


View Profile
October 10, 2011, 07:51:30 PM
 #484

I'm running pushpool0.5.1 and have a problem with it. The problem is that my pushpool is working for about 15min-3hours and everything looks normal, but after some time when I try to mine and I get this error: Problems communicating with bitcoin RPC . Pushpoold process seems like working as allways. But after killing and running pushpoold again everything works normally...
My VPS is with ubuntu-11.04-x86 and 768 Mb of RAM. Bitcoin client is in another server (windows vps).
Maybe someone knows how to fix this problem?
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
October 10, 2011, 10:39:51 PM
 #485

I'm running pushpool0.5.1 and have a problem with it. The problem is that my pushpool is working for about 15min-3hours and everything looks normal, but after some time when I try to mine and I get this error: Problems communicating with bitcoin RPC . Pushpoold process seems like working as allways. But after killing and running pushpoold again everything works normally...
My VPS is with ubuntu-11.04-x86 and 768 Mb of RAM. Bitcoin client is in another server (windows vps).
Maybe someone knows how to fix this problem?
Yeah switch to PSJ it was the only way I was able to resolve that issue.  The people here know how but they will not tell you they need to keep an upper hand.

I plan to put an end to this, I'm going to publish everything I find and there is a lot I have learned they are hiding. 

But if I where to guess at the problem you need the 4diff patch for bitcoind that should clear it up for you.  Also you should not even bother trying to mine with out that patch as it cleans up duplicate work.

Finally, here is another tip pushpool is not production ready code it's example code that just functional enough for you to rewrite it for your pool.

Good luck dude this space is cut throat centralization of mining and it has to to stop because the next phase will be... Consolidation of pools after the next bitcoin bubble or when bitcoin hit supper lows as all bubbles go from WAY over valued to WAY undervalued.

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 07, 2011, 05:31:32 AM
 #486

Hi!

 After days trying this... I'm sure that I'm close to start my first pool!

 I'm running: pushpool-0.5.1, mysql, memcached and Litecoin (with LongPool patch applied).

 I run pushpool with: "pushpoold -c /home/administrativo/server.json -D 2 -E -F"

 Every time litecoin found a new block, I see at pushpool: "USR1 signal received, flushing LP waiters"

 All appear to be working okay but, when I connect my minerd at my pool, I don't get any "PROOF OF WORK RESULT: true (yay!!!)", even after minutes!

 But why?!

EDIT: AND... I don't see the message "Long-polling activated for http://mypool:9334/LP"... Any tips!? I disable it for tests... lol

 I'm planning to use the mmcFE web interface, it is pretty awesome and clean!

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 07, 2011, 06:36:28 AM
 #487


 All appear to be working okay but, when I connect my minerd at my pool, I don't get any "PROOF OF WORK RESULT: true (yay!!!)", even after minutes!

 But why?!

Best!
Thiago

Mmmm... Maybe because original pushpool does not support Scrypt!? lol

I'm trying this on now: https://github.com/ArtForz/pushpool

Tks
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 07, 2011, 06:51:36 AM
 #488


 All appear to be working okay but, when I connect my minerd at my pool, I don't get any "PROOF OF WORK RESULT: true (yay!!!)", even after minutes!

 But why?!

Best!
Thiago

Mmmm... Maybe because original pushpool does not support Scrypt!? lol

I'm trying this on now: https://github.com/ArtForz/pushpool

Tks
Thiago

Anyway, I'm still unable to find a valid share at my pool...    Cry

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 07, 2011, 09:41:25 AM
 #489

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
November 07, 2011, 03:00:18 PM
 #490

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago
Probably, the difficulty is quite high indeed.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
c_k
Donator
Sr. Member
*
Offline Offline

Activity: 242



View Profile
November 07, 2011, 06:42:07 PM
 #491

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago

Try testnet first?

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 07, 2011, 06:47:15 PM
 #492

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago

Try testnet first?

God one!! lol
I'll   :-P

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
wannaBhacker
Member
**
Offline Offline

Activity: 96


View Profile
November 08, 2011, 12:05:46 AM
 #493

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago

Try testnet first?

God one!! lol
I'll   :-P

Testnet should make it easier to get a share, of course. What do you have the artificial difficulty set at? Set it to 8 bits and you'll find several every second. If you are running it at BTC difficulty 1, you'll never find a share that way.
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
November 08, 2011, 12:22:02 AM
 #494

Thanks for this.  I'm wanting to setup a pool just to play around with Bitcoin and learn.

Pontius
Full Member
***
Offline Offline

Activity: 225


View Profile
November 08, 2011, 08:30:44 AM
 #495

Guys,

 I can't find a valid share (YAY!!!) even using minerd with Litecoind (solo mining)...
 This is because I'm too small?!

Thanks!
Thiago

For litecoin you need a pushpool with scrypt-support (take a look at https://github.com/ArtForz/pushpool), second you need to adjust the "rpc.target.bits" in your pushpool config and then the YAYs will be with you.  Wink

Have fun.
lituar
Member
**
Offline Offline

Activity: 75


View Profile
November 08, 2011, 10:46:21 PM
 #496

Code:
gcc -DHAVE_CONFIG_H -I. -fno-strict-aliasing -pthread     -g -O2 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c
server.c:106:2: erro: #error ("No valid database engines defined")
make[1]: ** [server.o] Error 1
make[1]: Saindo do diretório `/home/****/Pool'
make: ** [all] Erro 2


I follow all the steps. But keep returning this error. What can i do?

Why dont you get paid by every file downloaded? Yes, you can. uploaded.to
Help? Donate.
BTC - 1NhcitLsepHod6bP8kpdi6qTzDGrThjitK
LTC - Lgfdw4gU4X3DLRqLknfSEivoa34VAagV3F
jgarzik
Legendary
*
Offline Offline

Activity: 1470


View Profile
November 09, 2011, 01:15:23 AM
 #497

Code:
gcc -DHAVE_CONFIG_H -I. -fno-strict-aliasing -pthread     -g -O2 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c
server.c:106:2: erro: #error ("No valid database engines defined")
make[1]: ** [server.o] Error 1
make[1]: Saindo do diretório `/home/****/Pool'
make: ** [all] Erro 2


I follow all the steps. But keep returning this error. What can i do?

You need to install postgresql, mysql and/or sqlite development libraries on your system.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
bronan
Hero Member
*****
Offline Offline

Activity: 765


Lazy Lurker Reads Alot


View Profile WWW
December 01, 2011, 04:15:17 PM
 #498

Hi!

 After days trying this... I'm sure that I'm close to start my first pool!

 I'm running: pushpool-0.5.1, mysql, memcached and Litecoin (with LongPool patch applied).

 I run pushpool with: "pushpoold -c /home/administrativo/server.json -D 2 -E -F"

 Every time litecoin found a new block, I see at pushpool: "USR1 signal received, flushing LP waiters"

 All appear to be working okay but, when I connect my minerd at my pool, I don't get any "PROOF OF WORK RESULT: true (yay!!!)", even after minutes!

 But why?!

EDIT: AND... I don't see the message "Long-polling activated for http://mypool:9334/LP"... Any tips!? I disable it for tests... lol

 I'm planning to use the mmcFE web interface, it is pretty awesome and clean!

Best!
Thiago

Well its simple to me your pool software is not working at all if you do not get shares.
When you see no result it means your simply solo mining, that means only if you actually found and solved the complete block (50 coins )
So only when this block is found you see result in your miners it does not matter if it is litecoin or other currency
When you run a pool you should see many shares find in shorter time, when solo mining you can wait for days or even up to years without seeing a valid block depending on hashpower
But even if you found one it can result in a REJECT meaning you get silch, zero, nada, nothing, no way jose.

For example when i started mining litecoin i made 1 to 2 blocks a day with around 20 kh/s
Now with so much increased difficulty its at about 7 days before i find a block or even 14 days happened
To make it simple the value of litecoin does not cover the costs anymore for mine them in my view, simply because huge company owned miners jumped onto litecoin making it for
wndrbr3d
Sr. Member
****
Offline Offline

Activity: 295


View Profile
February 02, 2012, 08:53:35 PM
 #499

Old thread, but I thought I'd post this here.

I'm trying to setup a private pool for some folks here at work and I've got everything build and Pushpool seems to be working, EXCEPT that the shares tables and shares.log are empty. It can connect to MySQL fine because it's authenticating the users that connect.

My table creation script is the same one that it seems everyone is using:

Code:
CREATE TABLE IF NOT EXISTS `shares` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rem_host` text NOT NULL,
  `username` text NOT NULL,
  `our_result` text,
  `upstream_result` text,
  `reason` text,
  `solution` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

I've verified using wget that the credentials specified in server.json are proper for rpc.url/user/pass. When I do a wget against the rpc, it returns 500 after authorizing (not sure if this is an issue or not).

Any help is appreciated! Thanks! Smiley
Greedi
Sr. Member
****
Offline Offline

Activity: 266


LitecoinTalk


View Profile WWW
July 05, 2012, 05:36:01 PM
 #500

hello, can someone tell me wgat i'm doing wrong, i have installed all that yesterday on my test serv, all was good, but now when trying on my public serv i get this

Code:
root@69-248:/pushpool# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking for event_base_new in -levent... yes
checking for pthread_create in -lpthread... yes
checking for uncompress in -lz... yes
checking for json_loads in -ljansson... yes
checking for MD5_Init in -lcrypto... yes
checking for memcached_get in -lmemcached... yes
checking for argp_parse in -largp... no
checking for  version... ./configure: line 4829: -c: command not found

checking for  platform... ./configure: line 4848: -c: command not found

checking for  script directory... ${prefix}/lib/python/site-packages
checking for  extension module directory... ${exec_prefix}/lib/python/site-packages
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
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... /usr/bin/mysql_config
checking for pg_config... no
no
./configure: line 5740: syntax error near unexpected token `,'
./configure: line 5740: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
Code:
checking for pg_config... no
no
./configure: line 5740: syntax error near unexpected token `,'
./configure: line 5740: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
someone help?

LitecoinTalk - Sign up today!
Try out LTC-Aarade!
Buy Shares!
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!