lassdas
Legendary
Offline
Activity: 3676
Merit: 1495
|
|
July 23, 2016, 10:34:04 PM |
|
Was soll ich sagen? DANKE!
Gern geschehen, freut mich, dasses geklappt hat. Am Ende habe ich noch datatdir -> datadir angepasst, vielleicht für zukünftige Neulinge relevant.
Sorry, mein Fehler, hab's editiert.
|
|
|
|
BitCharlie
|
|
July 30, 2016, 09:09:38 AM |
|
Hallo der Node lädt gerade noch fleißig runter und blinkt wie verrückt. Ich wollte mal den Zwischenstand überprüfen und habe daraufhin folgendes ausgeführt: 1 root@bananapi ~ # bitcoin-cli getinfo error: incorrect rpcuser or rpcpassword (authorization failed) 1 root@bananapi ~ # Funktioniert das erst sobald die Blockchain vollständig analysiert wurde?
|
|
|
|
Real-Duke
Legendary
Offline
Activity: 3542
Merit: 2314
Top Crypto Casino
|
|
August 01, 2016, 09:08:05 AM |
|
Schöne Grüße aus dem Urlaub Das stand auf der 1. Seite: Beim ersten Start wird ein Username und Passwort gefordert. Hier könnt ihr den Vorschlag übernehmen, der euch angezeigt wird. In die Config Datei könnt ihr mit dem Befehl „nano“ schreiben oder ihr benutzt das Tool WinSCP ( https://winscp.net/eng/docs/lang:de). Achtung: Die .conf Datei liegt auf der HDD! Das ist für den rpcuser+pass, das muss in die "bitcoin.conf"
|
|
|
|
BitCharlie
|
|
August 01, 2016, 02:22:56 PM |
|
Danke, gibt es ein Standard Passwort? Vergeben habe ich noch nichts, er synct wohl noch. Schönen Urlaub noch
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 01, 2016, 08:23:21 PM |
|
Danke, gibt es ein Standard Passwort? Vergeben habe ich noch nichts, er synct wohl noch. Schönen Urlaub noch Ne gibt kein Standard pw aber du kannst ein willkürliches vergeben. Freut mich, dass dein BPI nun läuft.
|
|
|
|
BitCharlie
|
|
August 01, 2016, 08:32:49 PM |
|
Ne gibt kein Standard pw aber du kannst ein willkürliches vergeben. Freut mich, dass dein BPI nun läuft. Naja noch ist er nicht online, aber das ist wohl bald soweit. Das tagelange schnelles blinken ist wie ein guter Film.. purer Genuss. Ich mache meldung sobald er online ist. Das Webinterface ist ja auch cool, wäre dann noch der nächste Schritt um die potenziellen Fehlerquellen noch einmal kräftig steigen zu lassen und die schwierigkeit für mich zu steigern
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 13, 2016, 01:27:16 PM |
|
So habe mal Lassdas Anleitung zur Einbindung der HDD und der Stats mit in die Fullnode Anleitung aufgenommen. Danke noch mal für die tolle Hilfe!
|
|
|
|
BitCharlie
|
|
August 14, 2016, 01:33:36 PM |
|
Hallo noch einmal von mir.. Nach gut 2 Wochen ist das syncen wohl durch.. der verrückte blinken hat aufgehört und auch bei htop ist die Systemauslastung nicht mehr ganz so hoch. Nach Eingabe von bitcoin-cli getinfo kommt das Passwort und User Fehler. Leider finde ich in der Config keinerlei Informationen zu User oder PW. Ich habe mich mit Cyberduck per FTP verbunden und im Verzeichnis geschaut - leider nichts brauchbares gefunden. Wenn ich meine IP unter https://bitnodes.21.co checke, kann mein Node leider nicht gefunden werden.. somit stecke ich wieder fest
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 14, 2016, 01:47:13 PM |
|
Hallo noch einmal von mir.. Nach gut 2 Wochen ist das syncen wohl durch.. der verrückte blinken hat aufgehört und auch bei htop ist die Systemauslastung nicht mehr ganz so hoch. Nach Eingabe von bitcoin-cli getinfo kommt das Passwort und User Fehler. Leider finde ich in der Config keinerlei Informationen zu User oder PW. Ich habe mich mit Cyberduck per FTP verbunden und im Verzeichnis geschaut - leider nichts brauchbares gefunden. Wenn ich meine IP unter https://bitnodes.21.co checke, kann mein Node leider nicht gefunden werden.. somit stecke ich wieder fest Du musst in die Datei bitcoin.conf folgendes Eintragen: rpcuser=irgendeinusernamehauptsachedastehtwas rpcpassword=rgendeinpassworthauptsachedastehtwas
Das ist natürlich nur ein Beispiel. Wie gesagt ist es egal was du für rpcuser und rpcpassword wählst. Hauptsache da steht was.
|
|
|
|
lassdas
Legendary
Offline
Activity: 3676
Merit: 1495
|
|
August 14, 2016, 01:50:17 PM |
|
Hast Du denn ne Datei Namens " bitcoin.conf" in Deinem datadir? Wenn nicht, erstell eine, in der Datei gibste dann User und PW an. Sollte dann in etwa so aussehen: rpcuser=irgendeinuser rpcpassword=irgendeinpasswort
addnode=188.68.53.44 #Shorena's full node v2
maxconnections=50 #Maintain at most <n> connections to peers (default: 125) maxmempool=300 #Keep the transaction memory pool below <n> megabytes (default: 300) minrelaytxfee=0.00002 #Fees (in BTC/kB) smaller than this are considered zero fee (default: 0.00001) limitfreerelay=15 #Rate-limit free transactions to <n>*1000 bytes per minute (default: 15)
dbcache=100 #database cache size in megabytes (4 to 16384, default: 100) checkblocks=24 #How many blocks to check at startup (default: 288, 0 = all) checklevel=2 #How thorough the block verification of -checkblocks is (0-4, default: 3) *Lincoln war schneller
|
|
|
|
BitCharlie
|
|
August 14, 2016, 01:58:52 PM |
|
Genial! Seit ihr schnell Also im Ordner HDD gibt es keine bitcoin.config datei. Die einzige Datei dich ich gefunden habe heisst config.log (ist also falsch) Die hoffentlich letzte Frage: Wie erstelle ich die config datei? TextEditor bei Mac lässt eine Speicherung .config nicht zu.
|
|
|
|
lassdas
Legendary
Offline
Activity: 3676
Merit: 1495
|
|
August 14, 2016, 02:08:23 PM |
|
Log Dich wie gewohnt per ssh ein und erstell die Datei einfach direkt auf dem Pi. nano /hdd/datadir/bitcoin.conf alles eintragen, was Du eintragen willst Ctrl-O, Ctrl-X, Bitcoin neustarten.
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 14, 2016, 02:12:16 PM |
|
Diesmal was Lassdas schneller Für solche Mucken hätte ich den Mac schon längst aus dem Fenster geschmissen. Gut, dass ich keinen habe...
|
|
|
|
BitCharlie
|
|
August 14, 2016, 02:25:51 PM |
|
So.. habe ich ausgeführt und finde die config nun auch auf der Platte: Inhalt: rpcuser=root rpcpassword=12345
maxconnections=50 #Maintain at most <n> connections to peers (default: 125) maxmempool=300 #Keep the transaction memory pool below <n> megabytes (default: 300) minrelaytxfee=0.00002 #Fees (in BTC/kB) smaller than this are considered zero fee (default: 0.00001) limitfreerelay=15 #Rate-limit free transactions to <n>*1000 bytes per minute (default: 15)
dbcache=100 #database cache size in megabytes (4 to 16384, default: 100) checkblocks=24 #How many blocks to check at startup (default: 288, 0 = all) checklevel=2 #How thorough the block verification of -checkblocks is (0-4, default: 3)
Wenn ich jetzt "bitcoin-cli getinfo" ausführe kommt die selbe Fehlermeldung.
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 14, 2016, 04:13:02 PM |
|
So.. habe ich ausgeführt und finde die config nun auch auf der Platte: Inhalt: rpcuser=root rpcpassword=12345
maxconnections=50 #Maintain at most <n> connections to peers (default: 125) maxmempool=300 #Keep the transaction memory pool below <n> megabytes (default: 300) minrelaytxfee=0.00002 #Fees (in BTC/kB) smaller than this are considered zero fee (default: 0.00001) limitfreerelay=15 #Rate-limit free transactions to <n>*1000 bytes per minute (default: 15)
dbcache=100 #database cache size in megabytes (4 to 16384, default: 100) checkblocks=24 #How many blocks to check at startup (default: 288, 0 = all) checklevel=2 #How thorough the block verification of -checkblocks is (0-4, default: 3)
Wenn ich jetzt "bitcoin-cli getinfo" ausführe kommt die selbe Fehlermeldung. du hast sicher bitcoin mit dem richtigen datadir Verzeichnis Parameter gestartet? also zum Beispiel: bitcoind -datadir=/namederhdd mhh mein BPI steigt in letzer Zeit des öfteren mal aus weil die HDD irgendwie nicht mehr richtig erkannt wird. Nach einem Neustart funktioniert alles wieder wie gewohnt. Edit: Habe mal gerade geschaut wie groß die Blockchain mittlerweile schon ist: ca. 80 GB! Anfang des Jahres waren wir noch bei 50GB!
|
|
|
|
BitCharlie
|
|
August 14, 2016, 05:30:44 PM |
|
Jupp der Name der HDD ist korrekt.. heisst bei mir hdd unter htop sehe ich auch das bitcoind läuft nur gibt es immer das Passwort problem beim abfragen von Status und der Node ist eben bei https://bitnodes.21.co nicht drin..
|
|
|
|
Lincoln6Echo (OP)
Legendary
Offline
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
|
|
August 14, 2016, 06:59:51 PM |
|
Jupp der Name der HDD ist korrekt.. heisst bei mir hdd unter htop sehe ich auch das bitcoind läuft nur gibt es immer das Passwort problem beim abfragen von Status und der Node ist eben bei https://bitnodes.21.co nicht drin.. klingt jetzt vielleicht blöd aber vielleicht hilft ein: bitcoin-cli stop shutdown -r now
Nach dem Neustart dann per Cyberduck checken, ob die hdd wirklich erkannt wurde und dann:
|
|
|
|
BitCharlie
|
|
August 14, 2016, 08:30:10 PM |
|
root@bananapi ~ # bitcoin-cli stop error: incorrect rpcuser or rpcpassword (authorization failed) Leider der gleiche Fehler. Habe trotzdem neugestartet. Fehler bleibt leider gleich Ging das bei euch alles so problemlos?
|
|
|
|
lassdas
Legendary
Offline
Activity: 3676
Merit: 1495
|
|
August 15, 2016, 05:25:18 AM |
|
Ging das bei euch alles so problemlos? Ja, solche Probleme sind schon etwas merkwürdig. Aber wir kommen der Sache schon noch auf den Grund. Wie genau heißt Dein datadir, ist das jetz /hdd, oder isses /hdd/datadir? Wo genau hast Du die bitcoin.conf erstellt, in /hdd, oder in /hdd/datadir? Und wie startest Du bitcoind, mit -datadir=/hdd, oder mit -datadir=/hdd/datadir? Welche Variante Du benutzt, is im Grunde egal, wichtig is nur, daß es in allen 3 Fällen das gleiche Vz is. Wenn das alles nix hilft, check doch mal das debug.log File, vielleicht steht da irgendwas drin, was uns weiterbringt.
|
|
|
|
fronti
Legendary
Offline
Activity: 2912
Merit: 1309
|
|
August 15, 2016, 09:35:11 AM |
|
soll der bitcoind nicht die rpc schnittstelle verlieren?
also welche version von bitcoind nimmst du?
ab 12.0:
When no -rpcpassword is specified, the daemon now uses a special 'cookie' file for authentication. This file is generated with random content when the daemon starts, and deleted when it exits. Its contents are used as authentication token. Read access to this file controls who can access through RPC. By default it is stored in the data directory but its location can be overridden with the option -rpccookiefile.
daher evtl -rpcpassword setzen..
|
If you like to give me a tip: bc1q8ht32j5hj42us5qfptvu08ug9zeqgvxuhwznzk
"Bankraub ist eine Unternehmung von Dilettanten. Wahre Profis gründen eine Bank." Bertolt Brecht
|
|
|
|