Bitcoin Forum
April 25, 2024, 05:32:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
Author Topic: pushpool - open source pool software  (Read 120157 times)
Vladimir
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1001


-


View Profile
June 29, 2011, 03:35:49 AM
 #161

Yes I am actually running it as root.

...

preparing to hear a patronizing lecture on how it is bad to run things as root....



-
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714066350
Hero Member
*
Offline Offline

Posts: 1714066350

View Profile Personal Message (Offline)

Ignore
1714066350
Reply with quote  #2

1714066350
Report to moderator
1714066350
Hero Member
*
Offline Offline

Posts: 1714066350

View Profile Personal Message (Offline)

Ignore
1714066350
Reply with quote  #2

1714066350
Report to moderator
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
June 29, 2011, 03:41:26 AM
 #162

Add this as well:

   /etc/sysctl.conf
      fs.file-max = 200000
      net.ipv4.tcp_fin_timeout = 10
      net.ipv4.ip_local_port_range = 10000 65000

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
sergio
Sr. Member
****
Offline Offline

Activity: 313
Merit: 258


View Profile WWW
June 29, 2011, 11:22:40 AM
 #163


Under Centos 5.5 when compiling pushpool 0.5 I get this errrors:

/root/pushpool05/pushpool-0.5/msg.c:562: undefined reference to `htole32'
server.o: In function `cli_send_hdronly':
/root/pushpool05/pushpool-0.5/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/pushpool05/pushpool-0.5/server.c:231: undefined reference to `htole32'
/root/pushpool05/pushpool-0.5/server.c:234: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/pushpool05/pushpool-0.5/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_read_hdr':
/root/pushpool05/pushpool-0.5/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1

Can someone define htole32 and le32toh since they are not part of ansi C, and therefore fail to compile under Centos 5.5 using gcc 4.1.2

Thanks


kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
June 29, 2011, 11:34:45 AM
 #164

Under Centos 5.5 when compiling pushpool 0.5 I get this errrors:

/root/pushpool05/pushpool-0.5/msg.c:562: undefined reference to `htole32'
server.o: In function `cli_send_hdronly':
/root/pushpool05/pushpool-0.5/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/pushpool05/pushpool-0.5/server.c:231: undefined reference to `htole32'
/root/pushpool05/pushpool-0.5/server.c:234: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/pushpool05/pushpool-0.5/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_read_hdr':
/root/pushpool05/pushpool-0.5/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1

Can someone define htole32 and le32toh since they are not part of ansi C, and therefore fail to compile under Centos 5.5 using gcc 4.1.2

The answer is way back on page 3.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile
July 03, 2011, 12:26:58 AM
 #165

Hey

trying to compile pushpoold on 64bit debian


kokade:~/bc/pushpool-0.5.1# make
make  all-am
make[1]: Entering directory `/root/bc/pushpool-0.5.1'
gcc  -O2 -Wall -g -I/usr/local/include -pthread -L/usr/local/lib -o pushpoold hist.o htab.o anet.o config.o msg.o server.o util.o db-sqlite.o db-mysql.o db-postgresql.o -lcurl -levent -lpthread -ljansson -lcrypto -lz -lmemcached -L/usr/lib -lpq
msg.o: In function `cli_op_work_get':
/root/bc/pushpool-0.5.1/msg.c:562: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/bc/pushpool-0.5.1/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_send_hdronly':
/root/bc/pushpool-0.5.1/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/bc/pushpool-0.5.1/server.c:231: undefined reference to `htole32'
/root/bc/pushpool-0.5.1/server.c:234: undefined reference to `htole32'
server.o: In function `cli_read_hdr':
/root/bc/pushpool-0.5.1/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1
make[1]: Leaving directory `/root/bc/pushpool-0.5.1'
make: *** [all] Error 2
kokade:~/bc/pushpool-0.5.1#


Any ideas?  endian.h exists, is it to do with it being 64bit arch?
dikidera
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
July 03, 2011, 02:53:57 AM
 #166

Hey

trying to compile pushpoold on 64bit debian


kokade:~/bc/pushpool-0.5.1# make
make  all-am
make[1]: Entering directory `/root/bc/pushpool-0.5.1'
gcc  -O2 -Wall -g -I/usr/local/include -pthread -L/usr/local/lib -o pushpoold hist.o htab.o anet.o config.o msg.o server.o util.o db-sqlite.o db-mysql.o db-postgresql.o -lcurl -levent -lpthread -ljansson -lcrypto -lz -lmemcached -L/usr/lib -lpq
msg.o: In function `cli_op_work_get':
/root/bc/pushpool-0.5.1/msg.c:562: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/bc/pushpool-0.5.1/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_send_hdronly':
/root/bc/pushpool-0.5.1/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/bc/pushpool-0.5.1/server.c:231: undefined reference to `htole32'
/root/bc/pushpool-0.5.1/server.c:234: undefined reference to `htole32'
server.o: In function `cli_read_hdr':
/root/bc/pushpool-0.5.1/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1
make[1]: Leaving directory `/root/bc/pushpool-0.5.1'
make: *** [all] Error 2
kokade:~/bc/pushpool-0.5.1#


Any ideas?  endian.h exists, is it to do with it being 64bit arch?
You dont deserve any help if you failed to read the previous post.
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile
July 03, 2011, 08:19:51 AM
 #167

oops, true this.  I thought it was to do with endian.h - which seems to exist and be included. Mucho apologies.

doing the fix mentioned earlier (some macro + another include) seems to have made it compile, but, not tested it out yet.

For reference, also on Lenny debian.

kokade:~/bc/pushpool-0.5.1# cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jan 25 05:59:43 UTC 2011


zapnap
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 04, 2011, 03:56:20 PM
 #168

I patched pushpool awhile back so it would compile on OS X but I still seem to have some issues getting clients to talk to it. Is anyone else having any level of success on OS X or *BSD platforms with the endian fixes?
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile
July 04, 2011, 04:07:22 PM
 #169

No, but the debian fixes should work fine on BSD. 
zapnap
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 04, 2011, 07:49:56 PM
Last edit: July 05, 2011, 01:01:13 AM by zapnap
 #170

Actually it looks like the issues I'm seeing on OS X have nothing at all to do with the endianness. Content-length seems to be incorrect here for some reason. Investigating now. If anyone else is trying to run pushpool on OS X, please drop me a note. Would love to compare notes / sanity check.

Update: the problem had to do with strndup on OS X. Fixed and pushed to my fork at http://github.com/zapnap/pushpool. If someone else is using OS X I'd love to hear from you Smiley.
LehmanSister
Member
**
Offline Offline

Activity: 68
Merit: 10


High Desert Dweller-Where Space and Time Meet $


View Profile
July 07, 2011, 03:04:27 AM
 #171

Feature Request:

I'd like to be able to do have a status() call to go along with getwork() by default.

Currently, what I do is try to connect to the pool before launching a miner on it, authorize appropriately, then GET /, to see if i get a 400 code. I'd rather be able to get back a dict with information like:

"next_scheduled_downtime"
"switch_to_this_pool_server"
"load"
"administrator_note"

Ratelimiting status() would be fine as well, as saying "we're up, but we don't know you well enough to let you use status() yet".

I also don't want my bad requests to make the system think I'm attacking it.

ISO: small island nations with large native populations excited to pay tribute to flying gods, will trade BTC.
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


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


View Profile
July 07, 2011, 05:11:07 AM
 #172

Feature Request:

I'd like to be able to do have a status() call to go along with getwork() by default.

Currently, what I do is try to connect to the pool before launching a miner on it, authorize appropriately, then GET /, to see if i get a 400 code. I'd rather be able to get back a dict with information like:

"next_scheduled_downtime"
"switch_to_this_pool_server"
"load"
"administrator_note"

Ratelimiting status() would be fine as well, as saying "we're up, but we don't know you well enough to let you use status() yet".

I also don't want my bad requests to make the system think I'm attacking it.
1+

Great idea this would help alot of confusion with many users and debugging setups
nexus
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 11, 2011, 01:55:05 PM
 #173

Would be cool if we got a windows build
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
July 17, 2011, 05:20:42 AM
 #174

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
July 18, 2011, 05:49:24 PM
 #175

Does anybody see any potential problems with this upcoming namecoin/bitcoin merged mining addon?
Furyan
Full Member
***
Offline Offline

Activity: 175
Merit: 100



View Profile
July 19, 2011, 10:13:23 PM
 #176

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 780
Merit: 510


Bitcoin - helping to end bankster enslavement.


View Profile WWW
August 04, 2011, 03:29:17 PM
 #177

I am not sure if I got blkmon running correctly on my pool at nmcbit.com
I would run it and it would connect and disconnect like this...

Code:
Connecting
connected
close
close

I looked at the source code and I looks like its looking to see if a new block is found and killing the pushpoold I jjust did not find where it starts it up again.  Anyhow I switch the port that was set in blkmond.conf file to the RPC port and it stayed connected but it's not doing anything.

My problem is pushpoold stops working a while after it finds a block.

Can anyone help?
shads
Sr. Member
****
Offline Offline

Activity: 266
Merit: 254


View Profile
August 05, 2011, 10:06:28 AM
 #178

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.

PoolserverJ will run under windows as a service.

PoolServerJ Home Page - High performance java mining pool engine

Quote from: Matthew N. Wright
Stop wasting the internet.
Furyan
Full Member
***
Offline Offline

Activity: 175
Merit: 100



View Profile
August 09, 2011, 09:26:31 PM
 #179

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.

PoolserverJ will run under windows as a service.

Yep - I've posted in your PoolServerJ thread - I'm very very interested in this project.
pantherqs
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
August 31, 2011, 08:05:23 AM
 #180

Howdy, trying to get pushpoold setup on CentOS, searched around but couldn't seem to find a solution for it short of switching OS'.  Anyone have any idea what could be wrong here?  sqlite-devel is installed, at least I think it is.

Error on make:

Code:
make  all-am
make[1]: Entering directory `/home/pushpool/pushpool-0.4.1'
gcc -DHAVE_CONFIG_H -I. -fno-strict-aliasing -pthread -I/usr/include/mysql  -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64     -g -O2 -MT db-sqlite.o -MD -MP -MF .deps/db-sqlite.Tpo -c -o db-sqlite.o db-sqlite.c
db-sqlite.c: In function 'sql_open':
db-sqlite.c:137: error: 'SQLITE_OPEN_READWRITE' undeclared (first use in this function)
db-sqlite.c:137: error: (Each undeclared identifier is reported only once
db-sqlite.c:137: error: for each function it appears in.)
make[1]: *** [db-sqlite.o] Error 1
make[1]: Leaving directory `/home/pushpool/pushpool-0.4.1'
make: *** [all] Error 2

Thanks!
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!