I'm a Linux user and I've recently installed bitcoind/bitcoin-qt (version v0.6.3.0-g6e0c5e3-beta) and built cpuminer (minerd version 1.0.2) but I can't get them to work together.
I start bitcoind:
bitcoind -datadir=mydatadir -conf=mybitcoin.conf -printtoconsole
Then I verify that I can communicate with the rpc server:
curl --user myrpcuser --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
which responds:
{"result":{"version":60300,"protocolversion":60001,"walletversion":60000...
Then I start the miner:
./minerd --userpass myrpcuser:myrpcpass -P --url http://localhost:8333
which outputs:
...
[2013-03-13 09:50:37] 8 miner threads started, using SHA256 'sse2_64' algorithm.
* Empty reply from server
* Connection #0 to host localhost left intact
[2013-03-13 09:51:30] HTTP request failed: Empty reply from server
[2013-03-13 09:51:30] json_rpc_call failed, retry after 30 seconds
In the bitcoind session I can observe the following output:
accepted connection 127.0.0.1:51079
PROCESSMESSAGE MESSAGESTART NOT FOUND
Any clues as how I can resolve this?