Main Menu

Setting up a node

Started by tmbp, September 25, 2014, 05:24:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: tmbp on September 25, 2014, 07:46:01 PM
tl:dr I goofed up
I know what you mean .. happens to me all the time .. as long as it does burn money its worth learning from the errors :)

tmbp

It seems that I had another daemon listening on the same port despite having specified a different port and rpcport in the file for that daemon.

tl:dr I goofed up

xeroc

Quote from: tmbp on September 25, 2014, 06:46:47 PM
Quote from: xeroc on September 25, 2014, 05:45:26 PM
you are surely using the right config file? please check if there is another one? .. strange though

nano ~/.bitshares-pts/bitshares-pts.conf

server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0


What am I missing?

looks about right .. could you try with only these three lines:

server=1
rpcuser=user1
rpcpassword=pass4

testz

Quote from: tmbp on September 25, 2014, 06:46:47 PM
Quote from: xeroc on September 25, 2014, 05:45:26 PM
you are surely using the right config file? please check if there is another one? .. strange though

nano ~/.bitshares-pts/bitshares-pts.conf

server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0


What am I missing?

Try to add in conf file:

rpcallowip=127.0.0.1

tmbp

Quote from: xeroc on September 25, 2014, 05:45:26 PM
you are surely using the right config file? please check if there is another one? .. strange though

nano ~/.bitshares-pts/bitshares-pts.conf

server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0


What am I missing?

xeroc

you are surely using the right config file? please check if there is another one? .. strange though

tmbp

Quote from: testz on September 25, 2014, 05:32:06 PM
Quote from: tmbp on September 25, 2014, 05:24:56 PM

Try:

./bitshares-ptsd -rpcuser=user1 -rpcpassword=pass4 -rpcport=6003 getblockcount


Nope, still the same

Quote from: xeroc on September 25, 2014, 05:33:56 PM
you need to kill and restart the pts daemon if you changed the config file AFTER executing the deamon!

Already tried restarting multiple times

xeroc

you need to kill and restart the pts daemon if you changed the config file AFTER executing the deamon!

testz

Quote from: tmbp on September 25, 2014, 05:24:56 PM

Try:

./bitshares-ptsd -rpcuser=user1 -rpcpassword=pass4 -rpcport=6003 getblockcount

tmbp

#1
Hello there!

I have compiled and setup a node to behave like a daemon on my remote server, I have compiled bitshares-ptsd and used the following configs:

server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0


When I issue a simple command I get an error:

./bitshares-ptsd getblockcount
error: incorrect rpcuser or rpcpassword (authorization failed)