profile
viewpoint

Ask questionsfailure to read passphrase when using screen.

Setting up a private stagenet with 2 monerod running in screen sessions. No problem. Launching 2 wallets, also in screen sessions, with one mining on the daemon. Wallets was created without password.

I'm constantly prompted for password, but the wallet does not wait for input.

Monero 'Boron Butterfly' (v0.14.1.0-29a505d1c)

[wallet 56Vbjc]: status
Refreshed 260/281, syncing, daemon RPC v2.6, SSL
[wallet 56Vbjc]: refresh        
Starting refresh...
Enter password (output received): Enter password (output received): Enter password (output received): Enter password (output received): Error: refresh failed: unexpected error: proxy exception in refresh thread. Blocks received: 0
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
[wallet 56Vbjc]:                
[wallet 56Vbjc]: wallet_info    
Filename: /home/crypto/stagenet/wallet_02.bin
Description: <Not set>
Address: 56VbjczrFCVZiLn66S3Qzv8QfmtcwkdXgM5cWGsXAPxoQeMQ79md51PLPCijvzk1iHbuHi91pws5B7iajTX9KTtJ4Z6HAo6
Type: Normal
Network type: Stagenet
[wallet 56Vbjc]:                
status 
Height: 288/288 (100.0%) on stagenet, mining at 17 H/s, net hash 16 H/s, v1 (next fork in 22.0 days), up to date, 1(out)+1(in) connections, uptime 0d 0h 38m 28s
2019-07-01 16:26:04.014     W There were 7 blocks in the last 90 minutes, there might be large hash rate changes, or we might be partitioned, cut off from the Monero network or under attack. Or it could be just sheer bad luck.
2019-07-01 16:26:31.641  I Found block <7e43974ccbe1217af29881a519ef7de9f170c8dbb3d5cb03079bb3438ec874e5> at height 288 for difficulty: 1000
2019-07-01 16:26:46.638  I Found block <64413c350fa12e5ef9c559fa036afb739ba43bb9dc51778fc246c35adb2af19d> at height 289 for difficulty: 1000
2019-07-01 16:27:05.563  I Found block <62f9594d95bab35c013252c582cb07d8d3152300f19b611ecf12af281ee518d5> at height 290 for difficulty: 1000
2019-07-01 16:27:15.483  I Found block <db0c7711c35c6239eb4a20cd6a829b25163d5b4f960fc15e975488d3c547bef9> at height 291 for difficulty: 1000
2019-07-01 16:27:34.028  W There were 11 blocks in the last 90 minutes, there might be large hash rate changes, or we might be partitioned, cut off from the Monero network or under attack. Or it could be just sheer bad luck.
status 
Height: 292/292 (100.0%) on stagenet, mining at 17 H/s, net hash 16 H/s, v1 (next fork in 22.0 days), up to date, 1(out)+1(in) connections, uptime 0d 0h 40m 39s
monero-project/monero

Answer questions trasherdk

I just got that Enter password thing again:

Enter password (output received): Enter password (output received): Enter password (output received): Enter password (output received): Error: refresh failed: unexpected error: proxy exception in refresh thread. Blocks received: 0
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command

I appears when starting monero-wallet-cli from a bash script, in a detached screen session:

#!/bin/sh
do_stuff
do_more
screen -S 'miner' -d -m ./monero-stratum-ss/monero-wallet-cli --testnet --password '' --wallet-file data/testnet/miner-wallet

then, after some time, reattaching screen -r miner, and the Enter password occur (sometimes).

What do I need to set, to get rid of:

2019-07-11 23:17:06.944  E Error locking page at 0x7fa7a4038000: Cannot allocate memory, subsequent mlock errors will be silenced

from monero-wallet-rcp ?

BTW. I'm on testnet at the moment.

useful!
source:https://uonfu.com/
Github User Rank List