Whenever I connect miners to pushpoold (connected to litecoind), it's not updating the shares table in MySQL (which in turn means the stats on mmcfe isn't updating). I'm pretty certain the database settings are correct as pushpool can read the users table to authenticate the miners and it's not an mmcfe config because I've inspected the shares table independently of mmcfe.
My pushpool server.json file is as follows:
{
"listen" : [
{ "host": "domain.com", "port" : 8336 },
{ "host": "domain.com", "port" : 8337, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8339,
# with trusted proxy appserver.example.com forwarding
# requests to us
#{ "port" : 8337, "protocol" : "http-json",
# "proxy" : "appserver.example.com" },
# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],
"database" : {
"engine" : "mysql",
"host" : "localhost",
"port" : 3306,
"name" : "db",
"username" : "user",
"password" : "pass",
"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 (?, ?, ?, ?, ?, ?)"
},
"memcached" : {
"servers" : [
{ "host" : "127.0.0.1", "port" : 11211 }
]
},
"pid" : "/opt/pushpool/tmp/pushpoold.pid",
"forcehost" : "localhost",
"log.requests" : "/opt/pushpool/tmp/request.log",
"log.shares" : "/opt/pushpool/tmp/shares.log",
"longpoll.disable" : false,
"auth.cred_cache.expire" : 75,
"rpc.url" : "http://127.0.0.1:8332/",
"rpc.user" : "user",
"rpc.pass" : "pass",
"rpc.target.bits" : 21,
"work.expire" : 120,
"roll.ntime.disable" : false
}
I've already searched through stackexchange as well as the wider web, so I think I've picked up on all the basic mistakes (eg not including stmt.sharelog and the rpc.target.bits), but I suspect this is still a configuration problem and that I've overlooked something really stupid.
Overview specs:
- Debian Wheezy 64bit
- pushpool (repo: https://github.com/jgarzik/pushpool)
- litecoind
- mysql Ver 14.14 Distrib 5.5.31, for debian-linux-gnu (x86_64) using readline 6.2