Pages:
Author

Topic: PSA: Add a Full Node for just $19/year! - page 5. (Read 17776 times)

jr. member
Activity: 38
Merit: 2
I had that problem on one of my machines a while ago. I believe I had to disable IPv6 in ufw for it to start working again. Let me see if I can find out how to do that again, I can't remember.

Edit: try this:

To disable ipv6, edit /etc/default/ufw and change IPV6 to “no” (without quotes)

# Set to yes to apply rules to support IPv6 (no means only IPv6 on loopback
# accepted). You will need to ‘disable’ and then ‘enable’ the firewall for
# the changes to take affect.
IPV6=no



Amazing.  That fixes my ufw issue.  That also fixed my other connections issues.  For example, connecting from ssh took 20-30seconds to connect after ufw is enabled.  that is also fixed.  
Thank you very much Morblias.  
legendary
Activity: 2478
Merit: 1362
I've just sponsored 2 nodes.

1st Node:
http://198.23.132.134/
Bandwidth: http://198.23.132.134/vnstat

2nd Node:
http://109.73.173.112/
http://109.73.173.112/vnstat/

Everything was paid to Morblias and he did the setup within an hour.

That was smooth and I enjoy the idea of participating to the Bitcoin project actively. If you could do the same, that'd be nice.

hero member
Activity: 576
Merit: 500
Each node operator can set their own fee in p2pool, so anyone mining with them would be charged whatever fee the owner set. After p2pool is installed, you can run the python script to show a list of all options.

Code:
python run_p2pool.py --help

You have to follow this link to get the $19/year deal and click the order button from this page: http://lowendbox.com/blog/black-friday-weloveservers-19year-1gb-and-7month-3gb-openvz-vps-in-five-locations/

It doesn't say how much RAM that semi-dedicated one has, but it needs at the very least 1gb ram (plus 1gb vswap) for bitcoind to run smooth. Also, it might be against their terms of service to run bitcoind on that, so you would have to check with them first before doing so.

I don't know a whole lot about APIs so I might not be the best person to ask that, but yeah I believe you can do so. You would just need to use the ip and rpcuser/password to gain access to it, such as how the btc-update.py contains this from https://github.com/jgarzik/python-bitcoinrpc

Code:
access = AuthServiceProxy("http://RPCUSER:[email protected]:8332")
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
1. Is there any owner's incentive in a P2Pool apart from his own Hash rewards ?

2. What would be your charge in setting up a P2Pool ?

No there is no owner's incentive, unless the pool charges fees. I don't charge anything, I just let people know how to set it up. Or if you wanted, you can give me root privilege and I can set it up for you, then you can change the root password.

This is basically the overview of setting up bitcoind and p2pool: http://www.reddit.com/r/BitcoinMining/comments/286tv6/i_saw_a_lot_of_discussion_on_getting_miners_to/ci89fs7

Sorry, I have got a few more Q...

1. Is it possible for a P2Pool owner to dynamically control mining fee, say 0%~0.5% ? As I understand, at P2Pool mining power will be distributed among the miners on a P2P basis. In that scenario, how does the owner charge ? Or I have some wrong conception ?

2. I was checking http://www.weloveservers.net/vps_hosting.php, but did not get any 19 USD per year plan !!! The lowest here is 4 USD per month, i.e. 48 USD per year. In that case, wont DigitalOcean be a better option ?

3. I have a semi-dedicated account where most of the server space and bandwidth are unused. Here is the configuration => http://besthostfree.com/semi-dedicated-hosting.html (Starter Semi Dedicated). Can I run a P2Pool on this ?

4. While I'll be running a BitcoinD for the P2Pool, can I make the basic API calls to it from my Bitcoin services instead of calling blockchain.info ?

Eagerly waiting for your response... Thanks for the awesome reddit link Smiley
hero member
Activity: 576
Merit: 500
I had that problem on one of my machines a while ago. I believe I had to disable IPv6 in ufw for it to start working again. Let me see if I can find out how to do that again, I can't remember.

Edit: try this:

To disable ipv6, edit /etc/default/ufw and change IPV6 to “no” (without quotes)

# Set to yes to apply rules to support IPv6 (no means only IPv6 on loopback
# accepted). You will need to ‘disable’ and then ‘enable’ the firewall for
# the changes to take affect.
IPV6=no

jr. member
Activity: 38
Merit: 2
I am running into an error while executing
  $ ufw enable

------------------------------------
Longer version:

I am running this on weloveservers.net and I have done a complete wipe out and re-install OS from the control panel. 

I am running this on ubuntu 13.10 now. 

Following the instruction, I am executing (instead of executing the script, I run line by line on command line):

  $ ufw --force enable

I am getting:

ERROR: problem running ufw-init
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab090.3/modules.builtin.bin'
FATAL: Module nf_conntrack_ftp not found.
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab090.3/modules.builtin.bin'
FATAL: Module nf_nat_ftp not found.
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab090.3/modules.builtin.bin'
FATAL: Module nf_conntrack_netbios_ns not found.
ip6tables-restore: line 4 failed
ip6tables-restore: line 65 failed
ip6tables-restore: line 69 failed
sysctl: permission denied on key 'net.ipv4.tcp_sack'

Problem running '/etc/ufw/before6.rules'
Problem running '/lib/ufw/user6.rules'


Some googling showed that this kind of issues could occur on OpenVZ.  Some people recommend commenting out rules in before6.rules and user6.rules. 

Did any of you see have issue executing "ufw enable"?  Or it is just me?  Which OS version did you choose?  I am using ubuntu 13.10. 

Thanks ahead...

hero member
Activity: 576
Merit: 500
1. Is there any owner's incentive in a P2Pool apart from his own Hash rewards ?

2. What would be your charge in setting up a P2Pool ?

No there is no owner's incentive, unless the pool charges fees. I don't charge anything, I just let people know how to set it up. Or if you wanted, you can give me root privilege and I can set it up for you, then you can change the root password.

This is basically the overview of setting up bitcoind and p2pool: http://www.reddit.com/r/BitcoinMining/comments/286tv6/i_saw_a_lot_of_discussion_on_getting_miners_to/ci89fs7
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
@Morblias Do u help in setting up a normal pool with miner's payment interface ?

Nope, only p2pool.

1. Is there any owner's incentive in a P2Pool apart from his own Hash rewards ?

2. What would be your charge in setting up a P2Pool ?
hero member
Activity: 576
Merit: 500
@Morblias Do u help in setting up a normal pool with miner's payment interface ?

Nope, only p2pool.
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
@Morblias Do u help in setting up a normal pool with miner's payment interface ?
hero member
Activity: 576
Merit: 500
I have done once again all the steps to setup the node but unfortunately after the last reboot the node start and after a while stops to accept connections. If i type top i see that bitcoind run but here

https://getaddr.bitnodes.io/

i see that my server is off
When i type

bitcoind getinfo

the command line stuck and nonthing returns. I try to reinstall bitcoind, to erase /.bitcoin folder but with no luck. Can i setup a node without anything else to that server? If i do a new clean install with only bitcoin installed what else i have to setup to run a node? I dont care about the website or anything else. I care only to run a node.
Thank you

By any chance are you running a weloveservers node in Orlando? There have been a couple of people that had problems with that area's nodes that had to file tickets with them to move their VPS to a new location.

Also, if you just want to install bitcoind with nothing else, no web UI or anything, just use this command:

Code:
wget -O btcNode.sh https://raw.github.com/XertroV/BitcoinAutoNode/master/bitcoinAutoNode.sh ; sudo bash btcNode.sh

You can go here to see everything it does: https://raw.github.com/XertroV/BitcoinAutoNode/master/bitcoinAutoNode.sh
legendary
Activity: 1764
Merit: 1002
I have done once again all the steps to setup the node but unfortunately after the last reboot the node start and after a while stops to accept connections. If i type top i see that bitcoind run but here

https://getaddr.bitnodes.io/

i see that my server is off
When i type

bitcoind getinfo

the command line stuck and nonthing returns. I try to reinstall bitcoind, to erase /.bitcoin folder but with no luck. Can i setup a node without anything else to that server? If i do a new clean install with only bitcoin installed what else i have to setup to run a node? I dont care about the website or anything else. I care only to run a node.
Thank you

I'm having similar issues with one of my nodes.  I'm going to have to try an uninstall reinstall today. Yes, all my nodes only run bitcoind.
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
I have done once again all the steps to setup the node but unfortunately after the last reboot the node start and after a while stops to accept connections. If i type top i see that bitcoind run but here

https://getaddr.bitnodes.io/

i see that my server is off
When i type

bitcoind getinfo

the command line stuck and nonthing returns. I try to reinstall bitcoind, to erase /.bitcoin folder but with no luck. Can i setup a node without anything else to that server? If i do a new clean install with only bitcoin installed what else i have to setup to run a node? I dont care about the website or anything else. I care only to run a node.
Thank you
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
ok my fault i have type the commands in ssh server client and not to my pc Tongue now is ok
newbie
Activity: 16
Merit: 0
Ok i have done a clean new install with ubuntu 12.04 but can someone know why i cant access my server via ssh? When i try to do that i get this strange message?

Quote
(snip SSH error)
Offending RSA key in /home/spiros/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/spiros/.ssh/known_hosts" -R 69.12.86.115
RSA host key for 69.12.86.115 has changed and you have requested strict checking.
Host key verification failed.

i can access my server through control panel of weloveservers but i cant access it from a consoloe in my pc.
thx for any advice

This was solved in IRC. For those following along at home: This is expected when you rebuild a server, because the ssh client no longer recognizes it. Fix it by running the provided 'ssh_keygen' command, on the CLIENT MACHINE where you're running ssh (not on the VPS).
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
Ok i have done a clean new install with ubuntu 12.04 but can someone know why i cant access my server via ssh? When i try to do that i get this strange message?

Quote
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
******************************************
Please contact your system administrator.
Add correct host key in /home/spiros/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/spiros/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/spiros/.ssh/known_hosts" -R 69.12.86.115
RSA host key for 69.12.86.115 has changed and you have requested strict checking.
Host key verification failed.

i can access my server through control panel of weloveservers but i cant access it from a consoloe in my pc.
thx for any advice
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
Any advice from anyone what i have to do to run again my node? Or what i have to do a clean install?

Follow these steps to remove it and re-install:

You may have to re-install.

Assuming you have the PPA already added (if you ran the bitcoinAutoNode.sh script, it is added), all you need to do is

Code:
sudo apt-get remove bitcoind
sudo apt-get install bitcoind

If the PPA isn't added,

Code:
add-apt-repository -y ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get remove bitcoind
sudo apt-get install bitcoind

Then after it installs type "bitcoind" to start it.

thanks Morbias for your advice but i have already do this but i have the same results. I a server wipe out with a fresh install of ubuntu 64 12.04 and i will do a fresh setup.
hero member
Activity: 576
Merit: 500
Excuse my newbness- when you remove bitcoind does this remove the blockchain as well? Meaning, when you hit install bitcoind it has to go through the whole dl process again?

Asking for myself and others reading Smiley

No, it doesn't remove anything in the ~/.bitcoin directory, only the bitcoind/bitcoin-cli stuff in the /usr/bin folder, and possibly some other places too. After you reinstall it, it will start up at the last block it was up to prior to uninstalling.
hero member
Activity: 576
Merit: 500
@Morb

Unrelated- did you ever get your p2pool going? I seen your post on reddit but I was never able to follow up on it. If you did, I'd love to bug the heck out of you to help me get one going Smiley

I've set it up before but I'm terrible with mods/configs Tongue

Yeah, I got it working: http://107.170.116.161:9332/static/

Setup stuff here: http://www.reddit.com/r/BitcoinMining/comments/286tv6/i_saw_a_lot_of_discussion_on_getting_miners_to/ci89fs7

And I used this UI: https://github.com/justino/p2pool-ui-punchy
hero member
Activity: 576
Merit: 500
Any advice from anyone what i have to do to run again my node? Or what i have to do a clean install?

Follow these steps to remove it and re-install:

You may have to re-install.

Assuming you have the PPA already added (if you ran the bitcoinAutoNode.sh script, it is added), all you need to do is

Code:
sudo apt-get remove bitcoind
sudo apt-get install bitcoind

If the PPA isn't added,

Code:
add-apt-repository -y ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get remove bitcoind
sudo apt-get install bitcoind

Then after it installs type "bitcoind" to start it.
Pages:
Jump to: