Post
Topic
Board Altcoin Discussion
Re: [XPM] Working on a GPU miner for Primecoin, new thread :)
by
refer_2_me
on 09/09/2013, 14:34:27 UTC
Now, i'm running in to config issues. It's probably something simple, but I'm getting 'Couldn't connect to server.' errors.
I have primecoind running with server=1, and I have a rpcuser and pass in my ~/.primecoin/primecoin.conf file.
What do I need to do to get running now?

My primecoin.conf (in the reaper dir) is:
Code:
host 127.0.0.1
port 9914
user primecoinrpc
pass

protocol primecoin

worksize 512
aggression 21
threads_per_gpu 1
cpu_mining_threads 4
vectors 2
primecoin_address

use_gpu true
debug 1
device 0

What am I missing here?


You sure that port number's right?  Check it.

Code:
netstat -tpln
on *nix,
Code:
netstat -p tcp -an
on windows.  Look for or grep for the port number you're using (bound to either 127.0.0.1 or 0.0.0.0).

I think so. I see:
Code:
tcp6       0      0 :::9914                 :::*                    LISTEN      22704/primecoind

Although, this time it segfaulted:
Code:
Program built from saved binary.
Building kernel CalculateMultipliers
Building kernel Sieve
Building kernel Combine
Building kernel Fermat
done
RET! Invalid address
Segmentation fault (core dumped)