Bitcoin Forum
May 10, 2024, 04:51:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Raspnode error and external drive  (Read 846 times)
soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 11, 2017, 05:19:42 PM
 #1

Using a stock Canakit RPI3 and a 250 external USB hard drive, I started the installation according to the instructions on http://raspnode.com/diyBitcoin.html#raspconfig

I had a few difficulties setting up the RPI, schlepping it across the room to my TV as it is the only HDMI monitor.  I didn't want to use the REALVNC after seeing there's a fee of some sort so went with xtightvncserver.   But I had set up in a terminal as root and started the server.  When I connected using xvncviewer I was logged in to root's desktop.  I started the ~/bin parts installation there in the /root because when I open a terminal it opens in /root not /home/pi.  I'm hoping that when I finish the installation ssh in and kill the vncserver and restart it as pi then use xvncviewer and connect to pi's desktop and start bitcoin-qt on pi's desktop.

I ran into a  "g++: internal compiler error: Killed (program cc1plus)" error and worked from the solution in this post: https://bitcointalk.org/index.php?topic=304389.0 but zeroing out the /etc/dphys-swapfile.

I'm now running the 'make -j2' command again.  When it's complete, and if it finishes successfully after 2½ hours, I'll try killing the vncserver via ssh and try starting it as pi. 

My question is: the external drive I'm going to use for the datadir is formatted as ext4.  Can I take that and using SyncToy 2.1, copy the blockchain from a Windows machine to the USB drive and when the Raspnode Bitcoin-QT starts will it have any difficulties with that blockchain?  Thanks.

soy
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 11, 2017, 06:14:36 PM
 #2

Didn't take 2½ hours.

Couldn't clear lock for vnc so rebooted and ssh'd in.  Ran tightvncserver :1 then connected.  I did notice that if I did an nmap of the subnet the pi has port 5901 assigned to vnc-1 and 6001 to X11:1

Connected and have Pi's X desktop.  Could start bitcoin-qt but think I'll try getting /blocks/ on my external USB drive from a Windows machine first.

soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 11, 2017, 06:56:12 PM
 #3

Ran bitcoin-qt as user Pi but it couldn't find the command.  Ran find, located bitcoin-qt, made a link in Pi's home directory, and bob's your uncle it's syncing.
soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 12, 2017, 01:08:07 AM
 #4

Seems to have a problem.  Responds to nmap, showing ssh, is open as well as 5901 & 6001 but won't respond to ssh in nor VCN. 
soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 12, 2017, 02:34:40 AM
 #5

I had difficulties starting bitcoin-qt from the link to /bin/bitcoin/src/bitcoin-qt so I had tried starting from a terminal on the desktop and that's when I started getting an error.

I deleted the link in the pi home directory and put link -s in /usr/bin to the above bitcoin-qt and now it starts when command by user pi, no problem.  I shut down vnc, looked in my ssh session, and the debug.log was continuing to update so bitcoin-qt was running headless.  I did reconnect with vnc and sure enough the blockchain was continuing to download.
soy (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1013



View Profile
June 13, 2017, 01:41:22 PM
 #6

Hasn't updated since I removed the link to /bin/bitcoin/src/qt/bitcoin-qt from the /home/pi directory and put a link in /usr/bin.  Shutting down the program there was a Runaway exception.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!