Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peercoind -conf argument not works #413

Closed
EminBudak opened this issue Jan 1, 2019 · 7 comments
Closed

peercoind -conf argument not works #413

EminBudak opened this issue Jan 1, 2019 · 7 comments

Comments

@EminBudak
Copy link

I run peercoind like that

/usr/bin/peercoind -daemon -conf=/root/.peercoin/peercoin.conf > /dev/null 2>&1 &
But when I looked log file config file is not loaded.

Deamon starts sync without configuration.

I installed bionic-peercoind_0.6.4-1_amd64.deb

@backpacker69
Copy link
Member

the only reason why config would not load when specified like this would be permission problems. please check the user that runs your daemon and group/other permissions of peercoin.conf file.

@EminBudak
Copy link
Author

I think permissions are right. Because I run bitcoin, litecoin, dash and other clones properly like that. I faced up this problem with peercoin.

@backpacker69
Copy link
Member

to further debug, please show output of these commands:

ls -la /root/.peercoin/peercoin.conf
and while running peercoind daemon:

ps auxw | grep peercoind

@EminBudak
Copy link
Author

peercoind starts sync without error but when I check debug.log I see that there is no related line with "configuration loaded" in the log file. So I cannot make rpc call because rpcuser & rpcpassword are not set.

ls -la /root/.peercoin/peercoin.conf

-rw-r--r-- 1 root root 180 Jan 1 22:02 /root/.peercoin/peercoin.conf

ps auxw | grep peercoind

root 542 0.0 0.0 17436 1008 pts/0 S+ 13:25 0:00 grep --color=auto peercoind

@backpacker69
Copy link
Member

please start peercoind first and then run 'ps auxw | grep peercoind' command

@EminBudak
Copy link
Author

I solved my problem thanks you change my viewpoint about problem. I focused the wrong point (conf file). I run deamon with bash script and it returns an error before executed because of port number 9901 already used. I changed my port number and it works now. The log file still doesn't consist configuration line but it loaded configuration. (Other bitcoin clones show conf line in log when it loaded I confused because of this.)

@backpacker69
Copy link
Member

you are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants