Hey Decred, does anyone plan on running a full node on ubuntu? If so are there any tutorials out there how to do it? When main net is released I plan on running a node for myself. And all of you of course
I run everything on Ubuntu. The Linux instructions worked for testnet. Main net is giving me issues...
Me too, i keep getting.. 12:37:21 2016-02-08 [WRN] SRVR: Can't listen on :9108: listen tcp4 :9108: bind: address already in use 12:37:21 2016-02-08 [WRN] SRVR: Can't listen on :9108: listen tcp6 :9108: bind: address already in use 12:37:21 2016-02-08 [ERR] DCRD: Unable to start server on [:9108]: no valid listen address
Which component? I did notice that the cgminer port changed. (I think) It would not start with 19109 but did with 9109... Documentation needs some catchup. The way I did it so far. Open 4 terminals. Terminal one will be the node for the blockchain. Terminal two will be the wallet. Terminal three is cgminer. And teminal for is for control. Term one... Code: ./dcrd -u user -P pass This creates the blockchain. Term two; Code: ./dcrwallet --create ./dcrwallet -u user -P pass --walletpass publicpassphrase --dcrdusername=user --dcrdpassword=pass Create wallet and connect. Note the "--walletpass publicpassphrase" is for the optional additional encryption. Save your seed and stuff somewhere secure. Now in terminal four; Code: dcrctl -u user -P pass --wallet getnewaddress Look, you have a Ds address! Save it with your seed. Go back to Terminal One, and ctl-c to break out. Then; Code: ./dcrd -u user -P pass --miningaddr=<address from wallet> It will run again, but have a mining address in place. Now in terminal three; Code: sudo -i cp /home/user/.dcrd/rpc.cert /usr/share/ca-certificates/dcrd.crt echo dcrd.crt >> /etc/ca-certificates.conf update-ca-certificates exit This sets up your certs... You may need to copy the certs for the wallet to work as well. Lastly, in terminal three; Code: sudo ./cgminer --blake256 --benchmark sudo ./cgminer --blake256 -o https://127.0.0.1:9109 -u user -p pass
I cant even get terminal one running. My 9108 port is forwarded properly but i cant run dcrd. I had testnet running just fine and mining blocks even, but this just wont work for me. Running the same stuff minus the --testnet options. Running kubuntu 14.04 64 bit so i downloaded linux-amd64-20160207-01.tar.gz.7z.
I straight up get this error: ubuntu@ip:~/linux_decred$ ./dcrd -u coins -P password -bash: ./dcrd: Permission denied
NO! Root is not needed for the blockchain! Also, just in general "Try running it as root" is a very bad idea any time! (Now the classic Linux newbie lesson "rm -rf /" can even permanently brick your BIOS!) If you are getting permission denied, lets look at the files... Code: lee@dev01:~/Decred/linux-amd64$ ll total 52M drwxrwxr-x 2 lee lee 4.0K Feb 7 12:25 ./ drwxrwxr-x 6 lee lee 4.0K Feb 8 12:14 ../ -rwxr-xr-x 1 lee lee 11M Feb 7 12:25 dcrctl* -rwxr-xr-x 1 lee lee 21M Feb 7 12:25 dcrd* -rwxr-xr-x 1 lee lee 21M Feb 7 12:25 dcrwallet* lee@dev01:~/Decred/linux-amd64$ Do your permissions look like mine? File ownership? If you extracted them as root, you may not have permission to run them as a user.
This is what I have: Code: ubuntu@ip:~/linux_decred$ ll total 44116 drwxrwxr-x 2 ubuntu ubuntu 4096 Feb 8 18:19 ./ drwxr-xr-x 10 ubuntu ubuntu 4096 Feb 8 18:15 ../ -rw-rw-r-- 1 ubuntu ubuntu 9666848 Feb 8 18:15 dcrctl -rw-rw-r-- 1 ubuntu ubuntu 17601464 Feb 8 18:15 dcrd -rw-rw-r-- 1 ubuntu ubuntu 17889688 Feb 8 18:15 dcrwallet Whats the numeric representation of your permissions?
Oops.. my bad. Also my issue is due to decred using the ports of another coin thats been established for a while. Bitquark.
You do not have exicute permissions on anything. "chmod 775 *" As for my "ll" I changed my .bashrc to add "h" to it... I like the human readable sizes.