Pages:
Author

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

legendary
Activity: 1764
Merit: 1002
Hello. My serveru stops running two days now and i cant start it with reboot option. When i try to set

bitcoind

i get an error and it says something that i have to set

bitcoin -nolisten=0

i do that and it has ask me to reconstruct the bitcoin database or something like that. i type yes and now is about 10 hours that do the job? I do something wrong? Do i have to do a clean setup of the node or something like that and how i do that?
Thank you for any advice

Do you still visually see it rebuilding anything?

I have seen it rebuilts something but after hours i see that the progress was killed.
When i type

bitcoind

it returns this

Error: Unable to bind to 0.0.0.0:8333 on this computer. Bitcoin is probably already running.
Error: Failed to listen on any port. Use -listen=0 if you want this.





Type bitcoind getinfo and tell us what you see
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
Hello. My server stops running two days now and i cant start it with reboot option. When i try to set

bitcoind

i get an error and it says something that i have to set

bitcoin -nolisten=0

i do that and it has ask me to reconstruct the bitcoin database or something like that. i type yes and now is about 10 hours that do the job? I do something wrong? Do i have to do a clean setup of the node or something like that and how i do that?
Thank you for any advice

Do you still visually see it rebuilding anything?

I have seen it rebuilts something but after hours i see that the progress was killed.
When i type

bitcoind

it returns this

Error: Unable to bind to 0.0.0.0:8333 on this computer. Bitcoin is probably already running.
Error: Failed to listen on any port. Use -listen=0 if you want this.



legendary
Activity: 1008
Merit: 1001
Let the chips fall where they may.
Does anyone know if this pricing is locked in year over year? If so I'm going to have to set up a ton of these!

Cheers,
Adam

There is some risk concentrating them all in the same data-center.

I have idle long-term plans to set up a Bitcoin node in Iceland, which I believe to be relatively Bitcoin friendly. Would be valuable if Bitcoin is ever banned at home.


Wouldn't the same risk be present if the servers that host the nodes are leased by the same provider?

The person I was responding to was talking about spinning up a bunch of identical nodes in the same data-center. Are you asking if 1 server is just as risky as a bunch? I think my point is you don't get the same diversity benefits with all of them in one place.

My "idle long-term plans" are essentially about keeping the network going if the G8 decide to crack down on it. My current ISP prohibits illegal use in their TOS. So if hosting a node becomes illegal, I would have to shut it down: or move it to a more friendly jurisdiction.
sr. member
Activity: 266
Merit: 250
Does anyone know if this pricing is locked in year over year? If so I'm going to have to set up a ton of these!

Cheers,
Adam

There is some risk concentrating them all in the same data-center.

I have idle long-term plans to set up a Bitcoin node in Iceland, which I believe to be relatively Bitcoin friendly. Would be valuable if Bitcoin is ever banned at home.


Wouldn't the same risk be present if the servers that host the nodes are leased by the same provider?
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
Hello. My server stops running two days now and i cant start it with reboot option. When i try to set

bitcoind

i get an error and it says something that i have to set

bitcoin -nolisten=0

i do that and it has ask me to reconstruct the bitcoin database or something like that. i type yes and now is about 10 hours that do the job? I do something wrong? Do i have to do a clean setup of the node or something like that and how i do that?
Thank you for any advice
legendary
Activity: 1764
Merit: 1002
Say I want to update the info on the webgui page (like it shows now, dif IP name etc)

I tried to do this:
I
sudo vim /usr/local/bin/btc-update.py

and I pasted the NEW info (name, wallpaper etc)

THen tapped esc :wq

but it still shows the old stuff. I'm not a linux guy so I'm sure I'm doing something wrong. Could you help me out? Thanks

The cron job only runs once every 5 minutes. If you want to manually update it when you make changes to btc-update.py, you can run this (assuming this is where you put btc-update.py, otherwise change the directory):

Code:
python /usr/local/bin/btc-update.py

Should this be the only thing in that file:

*/5 * * * * python /usr/local/bin/btc-update.py
*/5 * * * * /usr/bin/vnstat -u >/dev/null 2>&1

Yeah those are the 2 jobs you need. The first one runs the btc-update.py script, the 2nd runs vnstat to update your bandwidth usage. You can add this one in there too to start bitcoind if it stops for some reason

Code:
@reboot bitcoind -daemon

Great, thank you so much! I was able to get everything fixed and updated.

http://49Mine.com/

Morblias's implementation is the best to date imo.

The vnstat and bitcoinrpc.py are great "feel good" feedback and monitoring tools.
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Some VPS companies are pretty crap.

Also a VPS has shared memory (KVMs are a lot better)..  When you say your VPS went down, did the actual machine go down... or was it just not accessible on the net? 

jr. member
Activity: 38
Merit: 2
I used weloveservers' vps node and put a bitcoind on it.  The vps has went down a couple of times, weloveservers support mentioned that it is getting ddos'ed.  Did anyone experience similar issue?
I doubt people would ddos a bitcoin node, seeing there are tons of them, and there's little to gain from ddosing a single node. what probably happened was that your VPS provider was overselling its servers, and are using ddos as an excuse.

i sometimes get >100 connections at a time on one of these servers.  could that many simultaneous connections look like a ddos itself to an admin?

thanks, i did not limit the number of connections.  maybe that is why.  i will try limit maxconnections. 
jr. member
Activity: 38
Merit: 2
Does bitcoinj need any full nodes?  Does anyone know about this?  I see BitPay and now Coinbase are already using its BIP 70 feature.  I guess someone's running the 'J' iteration to support the nascent use sent its way.  Anyone know the status on this?

I believe bitcoinj runs in SPV mode.  So i don't think it downloads blockchain.  bitcoinj does have full verification mode, but that mode is experimental.  source: http://bitcoinj.github.io/#getting-started
sr. member
Activity: 270
Merit: 250
Does bitcoinj need any full nodes?  Does anyone know about this?  I see BitPay and now Coinbase are already using its BIP 70 feature.  I guess someone's running the 'J' iteration to support the nascent use sent its way.  Anyone know the status on this?
hero member
Activity: 576
Merit: 500
Say I want to update the info on the webgui page (like it shows now, dif IP name etc)

I tried to do this:

sudo vim /usr/local/bin/btc-update.py

and I pasted the NEW info (name, wallpaper etc)

THen tapped esc :wq

but it still shows the old stuff. I'm not a linux guy so I'm sure I'm doing something wrong. Could you help me out? Thanks

The cron job only runs once every 5 minutes. If you want to manually update it when you make changes to btc-update.py, you can run this (assuming this is where you put btc-update.py, otherwise change the directory):

Code:
python /usr/local/bin/btc-update.py

Should this be the only thing in that file:

*/5 * * * * python /usr/local/bin/btc-update.py
*/5 * * * * /usr/bin/vnstat -u >/dev/null 2>&1

Yeah those are the 2 jobs you need. The first one runs the btc-update.py script, the 2nd runs vnstat to update your bandwidth usage. You can add this one in there too to start bitcoind if it stops for some reason

Code:
@reboot bitcoind -daemon
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Quote
That's unfortunate but looks like it was resolved.
I guess some people believed what it said about being major merchants or something, cause I'd get ddos'ed and also a whole bunch of attacks on that server.   I had a wallet.dat file in my main apache2 directory for a while, because of so many requests for it...   was just text w/ 'mr. t pities the fool'... haha.

Anyway, if anyone here would rather get a dedicated server instead of a VPS, kimsufi has the super cheap ones again;

http://www.kimsufi.com/ie/

here's a good list of vps:

http://lowendstock.com/

ed: and this one, looks like it's better updated now - http://list.lowendserv.net/index.php

Ha, that's kinda funny.

As far as the VPS (which I'm actually looking for also) do you know of the cheapest/reliable/up to date/modern but geared towards people in US. I'm over in California would prefer Los Angeles based servers.

The only VPS I have right now is with Wable (www.wable.com -- incero) -- they don't have an LA location, though.  Seattle and Dallas right now, with New York being added soon.  You can shuttle your VPS between any of the locations though, which is nice...  I started mine out in Seattle and moved it to Dallas a couple weeks later, np.  Takes a minute or so..

Here's a speedtest-cli result from Dallas, TX:

http://www.speedtest.net/result/3517120069.png

But.. for California, delimiter would probably be best:

http://www.delimitervps.com/

Except you really should wait for a promo.  They have 50% off semi-frequently... doesn't seem like there's anything going on right now, though... for VPS, anyway.

There is this for dedicated servers, some in LA:

http://lowendtalk.com/discussion/comment/568006

unsure if it's still active though
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Quote
That's unfortunate but looks like it was resolved.
I guess some people believed what it said about being major merchants or something, cause I'd get ddos'ed and also a whole bunch of attacks on that server.   I had a wallet.dat file in my main apache2 directory for a while, because of so many requests for it...   was just text w/ 'mr. t pities the fool'... haha.

Anyway, if anyone here would rather get a dedicated server instead of a VPS, kimsufi has the super cheap ones again;

http://www.kimsufi.com/ie/

here's a good list of vps:

http://lowendstock.com/

ed: and this one, looks like it's better updated now - http://list.lowendserv.net/index.php
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Morblias does a minimalistic setup so that the node runs at peak efficiency.
....and you know this, how?

You can find cheaper VPS on lowendbox.com..

Quote
I doubt people would ddos a bitcoin node, seeing there are tons of them, and there's little to gain from ddosing a single node. what probably happened was that your VPS provider was overselling its servers, and are using ddos as an excuse.
my node used to get ddos'ed a bunch when blockchain.info actually populated that 'hub nodes' list

sr. member
Activity: 255
Merit: 250
did you setup a cron job to run btc-update.py periodically?

like this:

Quote
Add crontab jobs for vnstat and btc-update.py
crontab -e
I use vim to edit files. Hit 'I' to insert, paste the text below, then hit esc and type :wq and hit enter to write and quit vim.
 
*/5 * * * * python /usr/local/bin/btc-update.py
*/5 * * * * /usr/bin/vnstat -u >/dev/null 2>&1

In this case it runs every 5 minutes to update what you would see in the web browser.

Like this:
http://107.170.201.94/index.html
legendary
Activity: 1498
Merit: 1000
https://APIcoin.io, runs a full node. You can connect to via apicoin.io:8333
donator
Activity: 1218
Merit: 1079
Gerald Davis
I was able to get everything setup (I believe) but the most connections I'm getting is 24. I may have overlooked something that enables more? Thanks for the guide btw, helped a ton!

The network can't use more connections than it needs.  The longer your uptime and the higher your reliability the more likely nodes will connect to you.  Still your number of connections may never max out and that is a good thing.  If the available inbound slots on all nodes on the network were maxed out it would mean the network is "sick" (insufficient number of full nodes with available connections.   A large pool of available but unused connections is a sign of network health.

I was more just wanting to verify that I wasn't limiting my inbound connections due to my noobness in my coding. But if everything is working I'll assume everything is setup correctly.  Smiley

It looks like you are good.  If you have more than 8 connections then you have inbound connections (helping the network).  Anything more than 16 and you are helping and much as you are taking (8 outbound, 8 inbound).    The only parameter which limits the number of connections is "maxconnections=" in the bitcoin.conf.  If not set the default is 125.
donator
Activity: 1218
Merit: 1079
Gerald Davis
I was able to get everything setup (I believe) but the most connections I'm getting is 24. I may have overlooked something that enables more? Thanks for the guide btw, helped a ton!

The network can't use more connections than it needs.  The longer your uptime and the higher your reliability the more likely nodes will connect to you.  Still your number of connections may never max out and that is a good thing.  If the available inbound slots on all nodes on the network were maxed out it would mean the network is "sick" (insufficient number of full nodes with available connections.   A large pool of available but unused connections is a sign of network health.
hero member
Activity: 576
Merit: 500
Hey Morblias, can you make instruction like these: http://pastebin.com/qbmSNhWK, but for setup an electrum node?



Sorry, but I have never used electrum before so I am unfamiliar with it.
hero member
Activity: 576
Merit: 500
I had one (of my three) go down about three days ago. Morblias talked me through how to restart it [for my first time]. Now all is well, again.

How can we restart it? Do you do it with

sudo reboot

command?

sudo reboot will reboot the machine. Might as well do that if a node is failing for whatever reason.

Then if apache doesnt start on startup (happens a lot) for the webUI, do "service apache2 start". Also double check that bitcoind is started with bitcoind getinfo (if it is not started type bitcoind)
Pages:
Jump to: