I'm trying to export some keys as a safe backup, i'm using an external drive as my datadir and that usually works fine but now i'm running into some trouble.
i'm running:
./bitcoind -datadir=/media/BTC listreceivedbyaddress
it then returns:
error: couldn't connect to server
Am i doing something wrong or how should i go about this?
i assume you enter that command by console so you can try first...
./bitcoind -datadir=/media/BTC&
wait a few moments for hte bitcoin daemon to start-up and do...
./bitcoind getinfo
or
./bitcoind help
when this commands return you some nice info try...
./bitcoind listreceivedbyaddress