Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 13, 2011, 04:42:39 AM |
|
I'm sorry but we are all victims of misinterpretation and it is best to realise that in order to have good tech support is to keep the support going. I'm not blaming anyone It just helps if we keep it this way in this thread. Thanks
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 13, 2011, 05:07:33 AM |
|
the pin cannot start with 0. if you try it throws invalid pin. probably because whatever command php uses to determine the length cuts leading zeros. bug just cost me a pool worker :-( in register.php (onyl one i looked at) look for this section
$authPin = (int) $_POST["authPin"]; change to: $authPin = (string) $_POST["authPin"]; look for: //valid date authpin is valid change the block under it to read: //valid date authpin is valid if(strlen($authPin) >= 4){ if(!is_numeric($authPin)){ $validRegister = 0; $returnError .= " | Not a valid authpin"; } }else{ $validRegister = 0; $returnError .= " | Authorization pin number is not valid"; } verified myself this time. I think I just realised you are either using a really old version or you downloaded a custom version of my script. Please try the updated register.php file and get back to me
|
|
|
|
Laminator
Newbie
Offline
Activity: 10
Merit: 0
|
|
June 13, 2011, 01:15:07 PM Last edit: June 13, 2011, 02:22:28 PM by Laminator |
|
can anyone tell me how to use blkmon? What port should I use? (i'm using server.json from 1st page) How can I sure that long polling is active and working properly? Coz I have abot 4% stale blocks
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 13, 2011, 10:13:33 PM |
|
can anyone tell me how to use blkmon? What port should I use? (i'm using server.json from 1st page) How can I sure that long polling is active and working properly? Coz I have abot 4% stale blocks
I know this doesn't really help now but I'll be posting up a blkmond part of the tutorial soon, I haven't looked it my self but from what i read they said you open it up and configure the variables to your needs and then you run it. it might have a help feature if you try running blkmond --help Thanks Stay Tuned!
|
|
|
|
netxshare
|
|
June 14, 2011, 06:20:27 AM Last edit: June 14, 2011, 07:17:39 AM by netxshare |
|
I have pushpool up and running a long with blkmond it finds a new block just fine
"New block noticed, sending SIGUSR1 signal to PID 13697"
but none of the miners on the pushpool server get a LP message, anyone else ever run into this issue?
Update:
Just had to restart all of my miners....made it much harder then it was.
anyways, here is a quick guide to blkmond
make a new file such blkmond.conf
put
host=127.0.0.1 port=8333 pid=/tmp/pushpoold.pid
*note* port is not for RPC port.
now just do
./blkmond blkmond.conf
|
donations: 1CWddfhXagPoWgzUCs7oVHFjwBmqbAoJRr
|
|
|
aleksey
|
|
June 16, 2011, 12:36:50 PM |
|
I compile and install pushpoold, but after running it exit and doesnot return any information about error or another. Try use -D and -E keys. Logs not creating. How I can know why pushpoold not work?
|
|
|
|
Crs
Member
Offline
Activity: 107
Merit: 10
|
|
June 16, 2011, 01:09:32 PM |
|
can the pushpool software be used to create a namecoin pool? if yes, do I have to make some changes to the code or I just have to install and used namecoind instead of bitcoind ? thanks !
|
|
|
|
wachtwoord
Legendary
Offline
Activity: 2338
Merit: 1136
|
|
June 16, 2011, 07:30:04 PM |
|
This is going to sound extremely lazy: Could someone please upload a Virtual Image of a system with PushPool installed? (I saw a Chuckstra was creating a virtual image). I really don't care if it's for VirtualBox, VMWare of Virtual PC
|
|
|
|
phorensic
|
|
June 18, 2011, 09:53:30 PM |
|
I compile and install pushpoold, but after running it exit and doesnot return any information about error or another. Try use -D and -E keys. Logs not creating. How I can know why pushpoold not work?
In the latest version 0.5 there is a bug in "util.c" that prevents any output on the CLI when running pushpoold. See here on how to fix it, then recompile - https://github.com/ius/pushpool/commit/85297905ddc150c46664bd9ad77df6f502d64be1 . It will probably give you an error when you run it now, similar to "JSON parse failed" like mine was doing.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 18, 2011, 10:55:30 PM |
|
I am trying to install without memcached because i am on a xen vps. so i don't have memcached nor LibMemcached, I did ./configure --without-memcached it complains: configure: WARNING: unrecognized options: --without-memcached what am i doing wrong here? Xen or VM ware I'm not an expert but you should still be required to install libmemcached or memcached as its a pre-req to install the server. If you don't need it don't run memcached. If your having memeory problems with your server with(or without) memcached you need more ram)
|
|
|
|
|
frizzl
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 19, 2011, 01:42:12 PM Last edit: June 19, 2011, 01:55:19 PM by frizzl |
|
I thought i had all the dependencies installed but i am getting this error when i start pushpoold:
error while loading shared libraries: libmemcached.so.7: cannot open shared object file: no such file or directory
Find / -name 'libmemcached*'
shows it in /usr/local/lib/libmemcached.so.7
I download libmemcached.49 from the web and ran ./configure make make install
who no errors, what am i missing?
EDIT: I had to add to the dynamic library path /usr/local/lib
|
|
|
|
Sellaro
Newbie
Offline
Activity: 8
Merit: 0
|
|
June 19, 2011, 03:53:35 PM |
|
Folks I am trying to set up a bitcoind + pushpoold running on an Amazon EC2. No problems on bitcoind side, but I really don't know what's happening on the pushpoold side. Compilation was smooth, but I can't manage to run it. My config file: { # network ports "listen" : [ # binary protocol (default), port 8342 { "port" : 8342 },
# HTTP JSON-RPC protocol, port 8341 { "port" : 8347, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8344, #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.1, 192.168.1.100, or 192.168.254.254,etc,etc) # requests to us | "proxy" should be set to your ip address that people will connect through { "port" : 8344, "protocol" : "http-json", "proxy" : "127.0.0.1" },
# binary protocol, localhost-only port 8338 # host is most likely your localhost address { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" } ],
# database settings "database" : { "engine" : "mysql",
"host" : "localhost",
"port" : 3306,
#database name "name" : "pushpool", #database username "username" : "mysqlusername", #database password "password" : "mysqlpass", #enable sharelog | to insert share data or sometimes known as "work" "sharelog" : true, "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",
"stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
},
#uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram) # cache settings #"memcached" : { # "servers" : [ # { "host" : "127.0.0.1", "port" : 11211 } # ] #},
"pid" : "/tmp/pushpoold.pid",
# overrides local hostname detection "forcehost" : "localhost.localdomain",
"log.requests" : "/tmp/request.log", "log.shares" : "/tmp/shares.log",
# the server assumes longpolling (w/ SIGUSR1 called for each blk) "longpoll.disable" : false,
# length of time to cache username/password credentials, in seconds "auth.cred_cache.expire" : 75,
# RPC settings #Bitcoind Protocal settings #Host were bitcoind can be found on the network "rpc.url" : "http://127.0.0.1:8332/", #Username & password to connect to bitcoind "rpc.user" : "user", "rpc.pass" : "mypassword",
# rewrite returned 'target' to difficulty-1? "rpc.target.rewrite" : true }
I'm trying to run pushpoold with this command: # pushpoold -c /usr/local/etc/pushpool.json --debug=2 -F -E [2011-06-19 15:49:1.684078] Debug output enabled [2011-06-19 15:49:1.684530] Forcing local hostname to localhost.localdomain [2011-06-19 15:49:1.698690] Listening on host :: port 8342 [2011-06-19 15:49:1.698765] Listening on host :: port 8347 [2011-06-19 15:49:1.698819] Listening on host :: port 8344 [2011-06-19 15:49:1.698870] Listening on host 127.0.0.1 port 8338
Pushpoold simply quits. No messages, no further notice. This is pushpoold-0.5. I have tried a number of different branches as well as from the latest Github official sources. Same results. Any help is much much appreciated. Thanks in advance.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 19, 2011, 09:36:04 PM |
|
Make sure your mysql database has those credntials for login and that you can infact query the database with the queries inthe json file Folks I am trying to set up a bitcoind + pushpoold running on an Amazon EC2. No problems on bitcoind side, but I really don't know what's happening on the pushpoold side. Compilation was smooth, but I can't manage to run it. My config file: { # network ports "listen" : [ # binary protocol (default), port 8342 { "port" : 8342 },
# HTTP JSON-RPC protocol, port 8341 { "port" : 8347, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8344, #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.1, 192.168.1.100, or 192.168.254.254,etc,etc) # requests to us | "proxy" should be set to your ip address that people will connect through { "port" : 8344, "protocol" : "http-json", "proxy" : "127.0.0.1" },
# binary protocol, localhost-only port 8338 # host is most likely your localhost address { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" } ],
# database settings "database" : { "engine" : "mysql",
"host" : "localhost",
"port" : 3306,
#database name "name" : "pushpool", #database username "username" : "mysqlusername", #database password "password" : "mysqlpass", #enable sharelog | to insert share data or sometimes known as "work" "sharelog" : true, "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",
"stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
},
#uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram) # cache settings #"memcached" : { # "servers" : [ # { "host" : "127.0.0.1", "port" : 11211 } # ] #},
"pid" : "/tmp/pushpoold.pid",
# overrides local hostname detection "forcehost" : "localhost.localdomain",
"log.requests" : "/tmp/request.log", "log.shares" : "/tmp/shares.log",
# the server assumes longpolling (w/ SIGUSR1 called for each blk) "longpoll.disable" : false,
# length of time to cache username/password credentials, in seconds "auth.cred_cache.expire" : 75,
# RPC settings #Bitcoind Protocal settings #Host were bitcoind can be found on the network "rpc.url" : "http://127.0.0.1:8332/", #Username & password to connect to bitcoind "rpc.user" : "user", "rpc.pass" : "mypassword",
# rewrite returned 'target' to difficulty-1? "rpc.target.rewrite" : true }
I'm trying to run pushpoold with this command: # pushpoold -c /usr/local/etc/pushpool.json --debug=2 -F -E [2011-06-19 15:49:1.684078] Debug output enabled [2011-06-19 15:49:1.684530] Forcing local hostname to localhost.localdomain [2011-06-19 15:49:1.698690] Listening on host :: port 8342 [2011-06-19 15:49:1.698765] Listening on host :: port 8347 [2011-06-19 15:49:1.698819] Listening on host :: port 8344 [2011-06-19 15:49:1.698870] Listening on host 127.0.0.1 port 8338
Pushpoold simply quits. No messages, no further notice. This is pushpoold-0.5. I have tried a number of different branches as well as from the latest Github official sources. Same results. Any help is much much appreciated. Thanks in advance.
|
|
|
|
ius
Newbie
Offline
Activity: 56
Merit: 0
|
|
June 20, 2011, 12:18:54 AM |
|
Use that, although my fix re-enabled output it introduced buggy behavior in case the system would run out of memory while attempting to format the output string (athough that's very unlikely)..
|
|
|
|
lemosax
Newbie
Offline
Activity: 21
Merit: 0
|
|
June 20, 2011, 03:09:17 AM |
|
can the pushpool software be used to create a namecoin pool? if yes, do I have to make some changes to the code or I just have to install and used namecoind instead of bitcoind ? thanks !
Yes. Pushpool seems to work just fine as a namecoin pool. I tested this and successfully solved one block and now have an immature transaction for 50.01 Namecoins. In that the difficulty level is so much lower, it's a neat way to test the software without requiring tens or hundreds of gigahashes to successfully earn some coinage. I ended up opting for an alternative to blkmond since I couldn't get that working properly: http://forum.bitcoin.org/index.php?topic=8797.0I'm not highly experienced with it, but as far as I can tell thusfar, there's no real difference running pushpool as a namecoin pool than a bitcoin pool. Good luck with it!
|
|
|
|
frizzl
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 03:31:52 AM |
|
I have bitcoind installed and working along with pushpool updating the mysql database. This might be an obvious question for some but how will I know if a block is found? IS it upstream_result = Y? If it is Y then where and how do the 50 BTC get generated and sent to which address? I am guessing that i need to try all this on testnet but dont have the time right now. Can anyone outline in pseudocode what i need to do next for checks? Also, how do I poll bitcoind for info, if i try to send it commands i get: Bitcoin: Cannot obtain a lock on data directory .Bitcoin. Bitcoin is probably running?
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 21, 2011, 04:47:30 AM |
|
I have bitcoind installed and working along with pushpool updating the mysql database. This might be an obvious question for some but how will I know if a block is found? IS it upstream_result = Y? If it is Y then where and how do the 50 BTC get generated and sent to which address? I am guessing that i need to try all this on testnet but dont have the time right now. Can anyone outline in pseudocode what i need to do next for checks? Also, how do I poll bitcoind for info, if i try to send it commands i get: Bitcoin: Cannot obtain a lock on data directory .Bitcoin. Bitcoin is probably running?
Right if a share comes up Y you can be sure that a block has been found and you should look/query bitcoin wallet by sending "listtransactions" to it. or just start up bitcoin with the same wallet file and it should be there. If its not there it is becuase it is probubly unconfirmed and/or maybe invalid?
|
|
|
|
frizzl
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 05:25:52 AM |
|
How do i send "listtransactions" to it? I am using Ubuntu Server 11.04 w/ bitcoind. How do i send queries to the daemon? Im a linux n00b
|
|
|
|
|
|