Snipa22 / nodejs-pool

Other
479 stars 422 forks source link

Don`t connect to network #268

Open PalSec opened 6 years ago

PalSec commented 6 years ago

Hi,

I installed this software.Where can I find options for connect to network monero because I see Network: 0 h/s

Thanks for help.

ArqTras commented 6 years ago

Look at wiki there is info what you need to configure manually. Daemon must be synced, pool and api connected wallets in MySQL and few other things

PalSec commented 6 years ago

Thank you for aswer....

PalSec commented 6 years ago

I have problem with wallet...This command not work /usr/local/src/monero/build/release/bin/monero-wallet-cli so I try manual compile but I wait a long time at 69%.....Is it normal?

PalSec commented 6 years ago

I am waiting on this section : Building CXX object src/wallet/CMakeFiles/obj_wallet.dir/wallet2.cpp.o

PalSec commented 6 years ago

solve....I add swap and it works....

ArqTras commented 6 years ago

I think your vm is not good enough. Share spec of vm/server

PalSec commented 6 years ago

2 Cores , 2.048 GB Memory 60GB Sata Ubuntu 16.04

ArqTras commented 6 years ago

So you see minimum 4 GB memory even swap enabled it will work slowly

PalSec commented 6 years ago

So I have to buy better VPS.....

PalSec commented 6 years ago

I am trying start pool but I have problem with wallet.I dont know why system dont find file when I cteated before...System wrote me:

Logging to /usr/local/src/monero/build/release/bin/monero-wallet-rpc.log ^[[33m2018-01-15 19:05:53.676 7f0bf6b83740 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:1853 Loading wallet... ^[[0m^[[31m2018-01-15 19:05:53.677 7f0bf6b83740 ERROR wallet.wallet2 src/wallet/wallet2.cpp:2499 e || !exists. THROW EXCEPTION: error::file_not_found ^[[0m^[[33m2018-01-15 19:05:53.677 7f0bf6b83740 WARN net.http src/wallet/wallet_errors.h:707 /usr/local/src/monero/src/wallet/wallet2.cpp:2499:N5tools5error15file_error_baseILi1EEE: f$ ^[[0m^[[31m2018-01-15 19:05:53.681 7f0bf6b83740 ERROR wallet.rpc src/wallet/wallet_rpc_server.cpp:1887 Wallet initialization failed: file not found "poolwallet.keys" ^[[0m

I have these files poolwallet poolwallet.address.txt poolwallet.keys in directory: /usr/local/src/monero/build/release/bin

Is problem with permision?

Thanks for help....

bobbieltd commented 6 years ago

@PalSec : You should share your command line too to see if it’s correct.

PalSec commented 6 years ago

pm2 start /usr/local/src/monero/build/release/bin/monero-wallet-rpc -- --rpc-bind-port 18082 --password-file ~/passwallet --wallet-file poolwallet --disable-rpc-login --trusted-daemon

bobbieltd commented 6 years ago

Try : pm2 start /usr/local/src/monero/build/release/bin/monero-wallet-rpc -- --rpc-bind-port 18082 --password-file ~/passwallet --wallet-file /usr/local/src/monero/build/release/bin/poolwallet --disable-rpc-login --trusted-daemon If there is problem with permission, you should try sudo or you create your poolwallet at your local home ~

PalSec commented 6 years ago

create wallet in local home help me....Thank you and another problem :)....

Logging to /usr/local/src/monero/build/release/bin/monero-wallet-rpc.log ^[[33m2018-01-15 20:15:01.792 7f4340df9740 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:1853 Loading wallet... ^[[0m^[[33m2018-01-15 20:15:01.879 7f4340df9740 WARN wallet.wallet2 src/wallet/wallet2.cpp:2505 Loaded wallet keys file, with public address: 47MPCdtBNR4ZoXQdmZ7BbnDsRdaBaaE5tGYSzkdeG8Pb$ ^[[0m^[[31m2018-01-15 20:15:02.004 7f4340df9740 ERROR wallet.wallet2 src/wallet/wallet2.cpp:1238 !r. THROW EXCEPTION: error::no_connection_to_daemon ^[[0m^[[33m2018-01-15 20:15:02.004 7f4340df9740 WARN net.http src/wallet/wallet_errors.h:707 /usr/local/src/monero/src/wallet/wallet2.cpp:1238:N5tools5error23no_connection_to_daemonE:$ ^[[0m^[[31m2018-01-15 20:15:02.014 7f4340df9740 ERROR wallet.rpc src/wallet/wallet_rpc_server.cpp:1887 Wallet initialization failed: no connection to daemon ^[[0m

bobbieltd commented 6 years ago

Check monerod service log to see if it’s running and fully synced. “tail -f ~/.bitmonero/bitmonero.log” or find the log to check. If it doesn’t run, “sudo systemctl daemon-reload sudo systemctl restart monero” and check status “sudo systemctl status monero”

PalSec commented 6 years ago

Thank you very much.....all work....when I started “sudo systemctl daemon-reload sudo systemctl restart monero” so system started to work....

PalSec commented 6 years ago

bobbieltd: last question...if I want use coin KRB , so I will change config file only?

bobbieltd commented 6 years ago

If you want to use coin KRB, you need to be a hard coders , see this #261 Better to stick to XMR to get more helps.

PalSec commented 6 years ago

Bobbieltd do you have any messenger...skype,signal,viber,whatsup?

bobbieltd commented 6 years ago

@PalSec Send me an email with your whatsapp to support@mail.semipool.com , I’ll give you to my whatsapp.

PalSec commented 6 years ago

I sent you...my mail palomm@stonline.sk

bobbieltd commented 6 years ago

Done. I mess you on whatsapp already. You can close this issue and follow issue 261 to setup KRB