Bitcoin Forum
November 07, 2024, 08:49:32 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: Pushpool - Tech Support  (Read 135227 times)
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


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


View Profile
July 11, 2011, 05:53:58 AM
 #281

I am getting an error "[2011-07-10 18:00:35.988488] mysql sharelog failed at execute".

Any suggestions?

Here's what my table looks like:

Code:
DROP TABLE IF EXISTS `btcserver`.`shares`;
CREATE TABLE  `btcserver`.`shares` (
  `id` bigint(30) NOT NULL AUTO_INCREMENT,
  `time` int(255) NOT NULL,
  `rem_host` varchar(255) NOT NULL,
  `username` varchar(120) NOT NULL,
  `our_result` enum('Y','N') NOT NULL,
  `upstream_result` enum('Y','N') DEFAULT NULL,
  `reason` varchar(50) DEFAULT NULL,
  `solution` varchar(257) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

Post your json file(with out RPC credientials or MYSQL username or password) sounds like an easy fix.


json:


Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8341, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public p...
      # requests to us | "proxy" should be set to your ip address that people w...
      { "port" : 8344, "protocol" : "http-json", "proxy" : "192.168.XXX.XXX" },
      # 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" : "192.168.XXX.XXX",
      "port" : 3306,
      #database name
      "name" : "XXX",
      #database username
      "username" : "XXX",
      #database password
      "password" : "XXX",
      #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...
   # cache settings
   #"memcached" : {
   #   "servers" : [
  #   "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" : "XXX",
   "rpc.pass" : "XXX",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}

Make sure you applied the appropriate privileges for the selected Mysql user, and let us know if that solved the problem, if not i think i have another idea
LivTru
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 11, 2011, 06:08:14 AM
 #282

I am getting an error "[2011-07-10 18:00:35.988488] mysql sharelog failed at execute".

Any suggestions?

Here's what my table looks like:

Code:
DROP TABLE IF EXISTS `btcserver`.`shares`;
CREATE TABLE  `btcserver`.`shares` (
  `id` bigint(30) NOT NULL AUTO_INCREMENT,
  `time` int(255) NOT NULL,
  `rem_host` varchar(255) NOT NULL,
  `username` varchar(120) NOT NULL,
  `our_result` enum('Y','N') NOT NULL,
  `upstream_result` enum('Y','N') DEFAULT NULL,
  `reason` varchar(50) DEFAULT NULL,
  `solution` varchar(257) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

Post your json file(with out RPC credientials or MYSQL username or password) sounds like an easy fix.


json:


Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8341, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public p...
      # requests to us | "proxy" should be set to your ip address that people w...
      { "port" : 8344, "protocol" : "http-json", "proxy" : "192.168.XXX.XXX" },
      # 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" : "192.168.XXX.XXX",
      "port" : 3306,
      #database name
      "name" : "XXX",
      #database username
      "username" : "XXX",
      #database password
      "password" : "XXX",
      #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...
   # cache settings
   #"memcached" : {
   #   "servers" : [
  #   "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" : "XXX",
   "rpc.pass" : "XXX",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}

Make sure you applied the appropriate privileges for the selected Mysql user, and let us know if that solved the problem, if not i think i have another idea

I gave the db user account full access. What else are you thinking?


dikidera
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
July 11, 2011, 02:43:14 PM
 #283

Unless you are running a VM with mysql in it, or have another computer connected via a router, the host for mysql is localhost. The error comes from this piece of code

Code:
	step = "execute";
if (mysql_stmt_execute(stmt))
goto err_out;
Meaning that mysql failed to execute the prepared statement.
ziomik
Legendary
*
Offline Offline

Activity: 1960
Merit: 1012


SELL bitcoinmarket.net | bitcoinitalia.com SELL


View Profile WWW
July 11, 2011, 04:19:19 PM
 #284

Aummm.... my problem...
btcoind and pushpoold config is ok but :

[ 412.571365] bitcoind[1153] general protection ip:b741e160 sp:b572a60c error:0 in libcrypto++.so.8.0.0[b7122000+3b9000]


Code:
[1310401001.856061] Listening on host :: port 8342
[1310401001.856708] Listening on host :: port 8341
[1310401001.857326] Listening on host :: port 8334
[1310401001.857909] Listening on host 127.0.0.1 port 8338
[1310401001.861818] initialized
[ 412.571365] bitcoind[1153] general protection ip:b741e160 sp:b572a60c error:0 in libcrypto++.so.8.0.0[b7122000+3b9000]
[1310401003.264869] HTTP request failed: Empty reply from server
[1310401006.168083] HTTP request failed: couldn't connect to host
^C[1310401009.017170] shutting down

and bitcoind is kill..

Please help...  Undecided Cry

DOMINI IN VENDITA/NOLEGGIO
bitcoinmarket.net | bitcoinitalia.com

Contattatemi pure per info.
---- +++ ----
"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
dikidera
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
July 11, 2011, 04:32:40 PM
 #285

Well..this is new, but i am going to speculate and...did you set allowip in bitcoin's bitcoin.conf file?
Add a line in the file with

allowip=127.0.0.1 save and restart bitcoin and try again with pushpoold
ziomik
Legendary
*
Offline Offline

Activity: 1960
Merit: 1012


SELL bitcoinmarket.net | bitcoinitalia.com SELL


View Profile WWW
July 11, 2011, 05:07:40 PM
 #286

Well..this is new, but i am going to speculate and...did you set allowip in bitcoin's bitcoin.conf file?
Add a line in the file with

allowip=127.0.0.1 save and restart bitcoin and try again with pushpoold

problem is not solved yet .. sigh
I installed all the required libraries do not understand ..

DOMINI IN VENDITA/NOLEGGIO
bitcoinmarket.net | bitcoinitalia.com

Contattatemi pure per info.
---- +++ ----
"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
ziomik
Legendary
*
Offline Offline

Activity: 1960
Merit: 1012


SELL bitcoinmarket.net | bitcoinitalia.com SELL


View Profile WWW
July 11, 2011, 10:27:21 PM
 #287

Solution is delete  file in .bitcoin folder

but now another problem.
I read the error 500 that you have to wait for 4 hours, but it does not go ...

Code:
* The requested URL returned error: 500
* Closing connection #0
[2011-07-11 22:27:0.347559] HTTP request failed: The requested URL returned error: 500
JSON protocol request:
{"method": "getwork", "params": [], "id":86}

* About to connect() to 127.0.0.1 port 8331 (#0)
*   Trying 127.0.0.1... * TCP_NODELAY set
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 8331 (#0)
* Server auth using Basic with user 'ziomik2'
> POST / HTTP/1.1
Authorization: Basic emlvbWlrMjo4NzM1OTA=
Host: 127.0.0.1:8331
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 46

* The requested URL returned error: 500
* Closing connection #0
[2011-07-11 22:27:0.844513] HTTP request failed: The requested URL returned error: 500
JSON protocol request:
{"method": "getwork", "params": [], "id":87}

* About to connect() to 127.0.0.1 port 8331 (#0)
*   Trying 127.0.0.1... * TCP_NODELAY set
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 8331 (#0)
* Server auth using Basic with user 'ziomik2'
> POST / HTTP/1.1
Authorization: Basic emlvbWlrMjo4NzM1OTA=
Host: 127.0.0.1:8331
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 46

DOMINI IN VENDITA/NOLEGGIO
bitcoinmarket.net | bitcoinitalia.com

Contattatemi pure per info.
---- +++ ----
"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
LivTru
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 11, 2011, 11:02:15 PM
 #288

I am getting an error "[2011-07-10 18:00:35.988488] mysql sharelog failed at execute".

Any suggestions?

Here's what my table looks like:

Code:
DROP TABLE IF EXISTS `btcserver`.`shares`;
CREATE TABLE  `btcserver`.`shares` (
  `id` bigint(30) NOT NULL AUTO_INCREMENT,
  `time` int(255) NOT NULL,
  `rem_host` varchar(255) NOT NULL,
  `username` varchar(120) NOT NULL,
  `our_result` enum('Y','N') NOT NULL,
  `upstream_result` enum('Y','N') DEFAULT NULL,
  `reason` varchar(50) DEFAULT NULL,
  `solution` varchar(257) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

Post your json file(with out RPC credientials or MYSQL username or password) sounds like an easy fix.


json:


Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8341, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public p...
      # requests to us | "proxy" should be set to your ip address that people w...
      { "port" : 8344, "protocol" : "http-json", "proxy" : "192.168.XXX.XXX" },
      # 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" : "192.168.XXX.XXX",
      "port" : 3306,
      #database name
      "name" : "XXX",
      #database username
      "username" : "XXX",
      #database password
      "password" : "XXX",
      #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...
   # cache settings
   #"memcached" : {
   #   "servers" : [
  #   "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" : "XXX",
   "rpc.pass" : "XXX",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}

Make sure you applied the appropriate privileges for the selected Mysql user, and let us know if that solved the problem, if not i think i have another idea

I gave the db user account full access. What else are you thinking?


I am not sure what it was that I changed in the MySQL ini file but things are working now. Or, maybe it was the system reboot? Smiley
TeraPool
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
July 12, 2011, 11:39:03 PM
 #289

It's always a system reboot Wink
Wuked
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile WWW
July 13, 2011, 10:53:35 PM
 #290

Just a quick thank you to Xenland for running this thread and helping everyone out.

Ztjuh
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
July 14, 2011, 12:28:43 PM
 #291

Hey there,

My miner doesn't seem to get any work..

Quote
...@...:~/pushpool$ pushpoold --config=./config.json --debug=2 --stderr --foreground
[2011-07-14 01:25:8.018911] Debug output enabled
[2011-07-14 01:25:8.050485] Listening on host :: port 8342
[2011-07-14 01:25:8.050614] Listening on host :: port 8341
[2011-07-14 01:25:8.050678] Listening on host :: port 8344
[2011-07-14 01:25:8.050740] Listening on host 127.0.0.1 port 8338
[2011-07-14 01:25:8.082694] initialized

Connecting my miner.

Quote
JSON protocol request:
{"method": "getwork", "params": [], "id":1}

* About to connect() to 127.0.0.1 port 8333 (#0)
*   Trying 127.0.0.1... * TCP_NODELAY set
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 8333 (#0)
* Server auth using Basic with user 'username'
> POST / HTTP/1.1
Authorization: Basic enRqdWg6dGVzdDEyMw==
Host: 127.0.0.1:8333
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 45

* Empty reply from server
* Connection #0 to host 127.0.0.1 left intact
[2011-07-14 01:27:16.074094] HTTP request failed: Empty reply from server
JSON protocol request:
{"method": "getwork", "params": [], "id":2}

* Connection #0 seems to be dead!
* Closing connection #0
* About to connect() to 127.0.0.1 port 8333 (#0)
*   Trying 127.0.0.1... * TCP_NODELAY set
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 8333 (#0)
* Server auth using Basic with user 'username'
> POST / HTTP/1.1
Authorization: Basic enRqdWg6dGVzdDEyMw==
Host: 127.0.0.1:8333
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 45



This keeps looping since my miner would like some work..

(http://forum.bitcoin.org/index.php?topic=27988.0)
Vadtec
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
July 14, 2011, 11:18:42 PM
Last edit: July 15, 2011, 06:27:42 AM by Vadtec
 #292

I've been reading this thread over the past 45ish mins, but I haven't come across anything to solve my problem. If I missed it, I apologize in advance.

I am running pushpool, and everything is working except for one thing. None of the shares are getting stored in the mysql db. I have checked to make sure everything is setup correctly in the db, the db user has the necessary perms (full access to the database being used), and I am running pushpool in the foreground.

I can see the shares being logged to the log file I gave, but I do not see any entries in the db table. Nor do I see any errors that would indicate there is a problem with the db table. As well, I am running pushpool in gdb, and have it set to break on the line of code that should be calling the code to insert the shares into the db table.

I am using GUI Miner 2011-06-14, running the poclm miner, bitcoin-0.3.24, and pushpool-0.5 (from the git repo).

I have put around 500 shares through pushpool, none of which show up in the db table. I have not seen a single mysql error, or error from pushpool related to mysql. I know pushpool is able to connect to the db, because I do not get errors when I have the miner login to pushpool. I also see the miner getting work like normal.

Does anyone have any info as to what might be causing the shares to get logged to file but not to the mysql db table?

- Vadtec

*Addendum: I fixed it, never mind.
cuqa
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
July 18, 2011, 12:36:56 PM
 #293

Hey,

what is the request.log supposed to log actually? I get lots of requests without a username like this one:

Code:
[2011-07-18 02:04:12.14616] ::ffff:xx.xxx.245.188 username1 "/"
[2011-07-18 02:04:12.114522] ::ffff:xx.xxx.226.30 - "/"
[2011-07-18 02:04:12.711918] ::ffff:xx.xxx.159.150 username2 "/"
Furyan
Full Member
***
Offline Offline

Activity: 175
Merit: 102



View Profile
July 18, 2011, 02:37:55 PM
 #294

Hey,

what is the request.log supposed to log actually? I get lots of requests without a username like this one:

Code:
[2011-07-18 02:04:12.14616] ::ffff:xx.xxx.245.188 username1 "/"
[2011-07-18 02:04:12.114522] ::ffff:xx.xxx.226.30 - "/"
[2011-07-18 02:04:12.711918] ::ffff:xx.xxx.159.150 username2 "/"

That indicates a worker username/password error.  Authentication can't succeed so it just shoves an empty entry in the log.

Make sure the worker username and password are being passed correctly from the miner.
Viceroy
Hero Member
*****
Offline Offline

Activity: 924
Merit: 501


View Profile
July 22, 2011, 09:50:24 PM
Last edit: July 22, 2011, 10:09:18 PM by Viceroy
 #295

Moving this from the newb post section....

I am using Centos 5.6.



I followed the instructions on page 3 of the post:

yum groupinstall "Development Tools" -y
yum install -y openssl-devel.x86_64 mysql-devel.x86_64 \
                   curl-devel.x86_64 \
                   sqlite-devel.x86_64 \
                   postgresql-devel.x86_64 \
                   zlib-devel.x86_64 libevent-devel.x86_64

wget http://www.digip.org/jansson/releases/jansson-2.0.1.tar.gz
tar xfvz jansson-2.0.1.tar.gz; cd jansson-2.0.1/
./configure && make && make install; cd ..

yum install -y libmemcached.x86_64 \
                   libmemcached-devel.x86_64 \
                   libcurl-devel.x86_64

useradd -m pushpool
cd /home/pushpool

wget http://yyz.us/bitcoin/pushpool-0.5.1.tar.gz; tar xfvz pushpool-0.5.1.tar.gz
cd pushpool-0.5.1/;

./configure --prefix=/home/pushpool/ && make
make install
chown pushpool /home/pushpool -R; cd /home/pushpool






And I get this:

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


These do not work:
install sqlite
install sqlite-devel
use --no-sqlite  in configure



What do I need to do?
* Viceroy scratches head
Viceroy
Hero Member
*****
Offline Offline

Activity: 924
Merit: 501


View Profile
July 22, 2011, 09:50:46 PM
 #296

so I get to the next error (HURRAY)

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

and on to the well known htole error

/home/pushpool/pushpool-0.5.1/msg.c:562: undefined reference to `htole32'

and I modify server.h adding the lines:


/*
 * fix from http://returnederror.com/tag/htole32/
 */

// Compatibility with glibc < 2.9
#if !defined(htole32) && !defined(le32toh)
#  include <byteswap.h>
#  define htole32(x)  (bswap_32(htonl(x)))
#  define le32toh(x)  (ntohl(bswap_32(x)))
#endif

/*
 * end fix from http://returnederror.com/tag/htole32/
 */


and I recompile


./configure --prefix=/home/pushpool/ && make
make install
chown pushpool /home/pushpool -R; cd /home/pushpool


and what do you know....

presto....

I gotz me a pushpoold


YEEEEEFRCKINHAWWWW
* Viceroy does a jig

I got me an error:


./pushpoold: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory


hmm... no source for info on this one yet...
* Viceroy heads to google
Viceroy
Hero Member
*****
Offline Offline

Activity: 924
Merit: 501


View Profile
July 22, 2011, 09:51:34 PM
 #297

I'll be nice to you! I've been looking for solutions 2 days..
The Jansson Error:
1) First change directories to /usr/local/lib
Code:
cd /usr/local/lib
2) check if the libjansson.so.4 file is there.
Code:
ls
3) if it's in there do the following commands:
Code:
ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
4) Make sure you reload the libraries
Code:
ldconfig

Ahhhh,


Thank you.  Would you look at that, a couple of newbies got the job done when the more experienced non-noobs can't seem too.


Thanks Flowz!
Viceroy
Hero Member
*****
Offline Offline

Activity: 924
Merit: 501


View Profile
July 22, 2011, 09:54:19 PM
Last edit: July 22, 2011, 10:14:09 PM by Viceroy
 #298

So I'm almost there...


bitcoin.conf:
http://pastebin.com/GfT0hbvp


bitcoind works fine using
user: test
pw: x
port: 8332


server.json:
http://pastebin.com/2jhCSqgF

./pushpoold -E -F --foreground --debug=2 --stderr --config=server.json

shows:

[2011-07-22 22:02:18.875301] Debug output enabled
[2011-07-22 22:02:18.875663] Forcing local hostname to localhost.localdomain
[2011-07-22 22:02:18.878457] Listening on host :: port 8342
[2011-07-22 22:02:18.878590] Listening on host :: port 8341
[2011-07-22 22:02:18.878652] Listening on host :: port 8344
[2011-07-22 22:02:18.878707] Listening on host 127.0.0.1 port 8338

I DO NOT get an "initialized"

And am unable to connect to any port other than 8332

All ports open in firewall.
Server is local at 192.168.3.52
mysql set up and working
workers installed in table mydatabase.pool_worker

Thoughts?


Viceroy
Hero Member
*****
Offline Offline

Activity: 924
Merit: 501


View Profile
July 22, 2011, 10:22:45 PM
 #299

please also see this post:

http://forum.bitcoin.org/index.php?topic=31007.0


Flowz is still stuck in noobiehell
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


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


View Profile
July 22, 2011, 11:10:15 PM
 #300

So I'm almost there...


bitcoin.conf:
http://pastebin.com/GfT0hbvp


bitcoind works fine using
user: test
pw: x
port: 8332


server.json:
http://pastebin.com/2jhCSqgF

./pushpoold -E -F --foreground --debug=2 --stderr --config=server.json

shows:

[2011-07-22 22:02:18.875301] Debug output enabled
[2011-07-22 22:02:18.875663] Forcing local hostname to localhost.localdomain
[2011-07-22 22:02:18.878457] Listening on host :: port 8342
[2011-07-22 22:02:18.878590] Listening on host :: port 8341
[2011-07-22 22:02:18.878652] Listening on host :: port 8344
[2011-07-22 22:02:18.878707] Listening on host 127.0.0.1 port 8338

I DO NOT get an "initialized"

And am unable to connect to any port other than 8332

All ports open in firewall.
Server is local at 192.168.3.52
mysql set up and working
workers installed in table mydatabase.pool_worker

Thoughts?





Quote
    "rpc.url" : "http://127.0.0.1:8333/",
        "rpc.user" : "test",
        "rpc.pass" : "x",

Looks like pushpool is connecting to bitcoin protocal port # 8333 instead of the one you supplied in your post which is 8332 please make them match, and let us know your results
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 »
  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!