Thanks for helping here.
Running Centos 6.7 and i used this script to install but modified it for Bitbar:
https://github.com/mikeminneman/dogecoind-centosOk, so my rpc password does match in both the pool config and bitbar.conf files. I think that is working because the debug log in Bitbar shows the rpc request from node "gettransactions".
Heres my Bitbar wallet "getinfo" - (I started a new wallet so its just downloading again)
"version" : "v0.4.3.004-5-g903edf9-beta",
"protocolversion" : 60006,
"walletversion" : 60000,
"balance" : 0.00000000,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 83500,
"moneysupply" : 14044.44104100,
"connections" : 1,
"proxy" : "",
"ip" : "X.X.X.X",
"difficulty" : 41.30374091,
"testnet" : false,
"keypoololdest" : 1450404332,
"keypoolsize" : 101,
"paytxfee" : 0.00010000,
"errors" : ""
Heres the error in NOMP:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): read_some: End of file
2015-12-18 15:45:46 [Payments] [bitbar] Check finished - daemon rpc error with batch gettransactions {"type":"request error","message":"read ECONNRESET"}
2015-12-18 15:45:46 [Payments] [bitbar] Finished interval - time spent: 995ms total, 3ms redis, 987ms daemon RPC
2015-12-18 15:45:46 [Pool] [bitbar] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
# bitbard getbalance
0.00000000
# bitbard gettransactions
terminate called after throwing an instance of 'std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::string> > > >'
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): read_some: End of file
Aborted (core dumped)
So it looks like an issue with the wallet when the "gettransactions" call is issued Im guessing there aren't any due to it being a new install. Any thing jump out at you? Maybe I'm missing something obvious....
the bitbard getinfo seemed to work well.
Do you get any errors if you do:
bitbard listtransactions -or-
bitbard listaccounts
If those work, then I think the wallet database is working ok.
I have a couple of thoughts:
1) Are you running a firewall, blocking any ports??
(I am unfamiliar with Centros, so this might not work)
2) compile bitbar from source using:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev *this may give you trouble
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost-all-dev
make -f makefile.unix USE_UPNP=-
- why:
Boost is complaining a lot, and interacts with some of the other dependencies. I'd like to make sure you are using the same libraries.
The boost errors have to do with the RPC calls. (rpc problems keep popping up. humm)
3) you might not like this one:
switch to Ubuntu server (or desktop) It is what I am using and could provide links to step by step instructions on how to set up Ubuntu and NOMP.
guess I could add a link anyway:
scratch that - the web site has been down for a while. I will just have to add it to Bitbar.co when I have time..
just had a thought -
I have to use sudo to start my nomp - it would give errors (but I don't remember what they are) if I don't use sudo:
sudo node init.js
<-- try this firstLet me know how it goes
Decided to bin Centos, its to much trouble getting the OS to work with a wallet on any coin.
Took your advice and re-imaged to Ubuntu, all working very quick and have the pool configured just looking at configuration before it goes public.
Difficulty has significantly increased :-( I'll post back when I've got a public solution available.