So I am setting up masternode on OVH. Got Blockchain to download and list of masternodes but I cannot run the commands getinfo or getmininginfo.
xxxxx:~# darkcoind getinfo
error: couldn't connect to server
xxxxx:~# darkcoind getmininginfo
error: couldn't connect to server
Ideas?
Thank you.
Are you running it as root? Try as normal user.
I am running as normal user. When I start "darkcoind", I see this in the log...
2014-05-20 13:35:23 SetBestChain: new best=000000000654c64f3056c5eab371f2f13992155bc208f5f583be1c18a3328ee5 height=11998 log2_work=46.803469 tx=31726 date=2014-02-05 20:59:33 progress=0.123850
2014-05-20 13:35:23 ProcessBlock: ACCEPTED
2014-05-20 13:35:23 received block 0000000019702ce5df943a9a21e3b5c46dda34076516b5a16d448a34a86ed84a
2014-05-20 13:35:23 SetBestChain: new best=0000000019702ce5df943a9a21e3b5c46dda34076516b5a16d448a34a86ed84a height=11999 log2_work=46.803818 tx=31729 date=2014-02-05 21:00:18 progress=0.123878
2014-05-20 13:35:23 ProcessBlock: ACCEPTED
2014-05-20 13:35:23 received block 00000000075076f66347ae60a9012770a09389c2cba19dfcd387f62641de0946
2014-05-20 13:35:23 SetBestChain: new best=00000000075076f66347ae60a9012770a09389c2cba19dfcd387f62641de0946 height=12000 log2_work=46.804168 tx=31731 date=2014-02-05 21:01:33 progress=0.123897
2014-05-20 13:35:23 ProcessBlock: ACCEPTED
But I cannot run darkcoind getinfo or darkcoind getmininginfo.
My conf:
xxxxx:/$ cat ~/.darkcoin/darkcoin.conf
#----
rpcuser=random_user_name
rpcpassword=random_password
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
#--------------------
# change change_this_to_your_ec2_public_ip_ami_public_ip to public ip address which you connected by ssh
externalip=
#---------------------
You should have masternode=1 in your conf.
But the getinfo/getmining info should work anyway. Dunno.
Try it from within your .darkcoin directory with ./darkcoind getinfo