Pages:
Author

Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS) - page 13. (Read 88559 times)

jr. member
Activity: 58
Merit: 10
I've managed to intall everything without errors but it seems to be taking a lot of time on Primecoin server starting...
when I use the command primecoind getmininginfo it shows:
{
    "blocks" : 0,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "primespersec" : 0,
    "pooledtx" : 0,
    "testnet" : false
}


even after 30 minutes of starting
sr. member
Activity: 392
Merit: 250
Maybe you need to remake a swap file
hero member
Activity: 812
Merit: 1000
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


I replace it.  Here, lete me help you out some on linux.  I move the old files out and then create a new section.

Quote
primecoind stop
cd ~
mv primecoin old4
git clone https://github.com/mikaelh2/primecoin

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=miner2
rpcpassword=test2
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.

primecoind --daemon



-Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/main.d -o obj/main.o main.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/main.o] Error 4
sr. member
Activity: 392
Merit: 250
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


I replace it.  Here, lete me help you out some on linux.  I move the old files out and then create a new section.

Quote
primecoind stop
cd ~
mv primecoin old4
git clone https://github.com/mikaelh2/primecoin

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=miner2
rpcpassword=test2
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.

primecoind --daemon


Thx a lot Smiley
I did it without this part :

mkdir ~/.primecoin
echo "rpcuser=miner2
rpcpassword=test2
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.

The file was created the first time, dont need to redo it i think.
hero member
Activity: 812
Merit: 1000
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


Good question...I tried but get a fatal error after doing the make upnp line.

If you guys are talking about this other guys build you need to run:

Code:
sudo apt-get install libgmp-dev

...before make.

Tried, got the same error...trying again.

@96redformula, thanks a lot man.
full member
Activity: 224
Merit: 100
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


I replace it.  Here, lete me help you out some on linux.  I move the old files out and then create a new section.

Quote
primecoind stop
cd ~
mv primecoin old4
git clone https://github.com/mikaelh2/primecoin

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=miner2
rpcpassword=test2
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.

primecoind --daemon

sr. member
Activity: 378
Merit: 255
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


Good question...I tried but get a fatal error after doing the make upnp line.

If you guys are talking about this other guys build you need to run:

Code:
sudo apt-get install libgmp-dev

...before make.
sr. member
Activity: 378
Merit: 255
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


Code:
cd ~/primecoin
git pull
cd src
make -f makefile.unix USE_UPNP=-
primecoind stop
sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind.old
sudo mv primecoind /usr/local/bin/primecoind
primecoind --daemon
hero member
Activity: 812
Merit: 1000
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


Good question...I tried but get a fatal error after doing the make upnp line.
sr. member
Activity: 392
Merit: 250
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet
sr. member
Activity: 378
Merit: 255
Does anybody know how to install the updated version on this thread: https://bitcointalksearch.org/topic/xpm-ann-primecoin-high-performance-hp14-released-255782 on the VPS?
should we replace the

git clone https://github.com/primecoin/primecoin.git

 with

git clone https://github.com/mikaelh2/primecoin

?, thanks


Yep, that'll do it.

EDIT: I can't vouch for this other guy's build though!
jr. member
Activity: 58
Merit: 10
Does anybody know how to install the updated version on this thread: https://bitcointalksearch.org/topic/xpm-ann-primecoin-high-performance-hp14-released-255782 on the VPS?
should we replace the

git clone https://github.com/primecoin/primecoin.git

 with

git clone https://github.com/mikaelh2/primecoin

?, thanks
sr. member
Activity: 280
Merit: 250
Is there a way to send my wallet.dat from the vps to my machine?

Thanks in advance!

You can copy it, but importing private keys is easier...

It may be easier but if u just copy wallet.dat you dont have to import the private key from every block mined. You can just copy the wallet.dat to your main wallet and start the server mining and leave it. No need to check for blocks mined because they will automatically show up in your wallet.
Thats all well and good, but what happens if it gets compromised or your have a dodge host who has the same thought

This could happen whether you copy your wallet.dat or not.

does anyone know the command to set primecoind --daemon to run at boot?
My point entirely, you'd be better off just sending the matured coins too a home wallet thats not sitting on a providers drive somewhere
legendary
Activity: 2940
Merit: 1090
In the crontab of the user who runs the coin daemon, use @reboot instead of the year month week day stuff for when to run it.

-MarkM-
hero member
Activity: 721
Merit: 523
sudo nano /etc/rc.local

Add the following text, right above the line that reads “exit 0″:

primecoind --daemon


perhaps? (havent tried)
sr. member
Activity: 420
Merit: 250
Is there a way to send my wallet.dat from the vps to my machine?

Thanks in advance!

You can copy it, but importing private keys is easier...

It may be easier but if u just copy wallet.dat you dont have to import the private key from every block mined. You can just copy the wallet.dat to your main wallet and start the server mining and leave it. No need to check for blocks mined because they will automatically show up in your wallet.
Thats all well and good, but what happens if it gets compromised or your have a dodge host who has the same thought

This could happen whether you copy your wallet.dat or not.

does anyone know the command to set primecoind --daemon to run at boot?
sr. member
Activity: 378
Merit: 255
why sudden interests in this coin? will be listed soon by cryptsy?

The main reason I got excited about this coin is that it offered an innovative proof of work. It is exciting to see all the mining efforts going against previous world records for prime chain lengths.
sr. member
Activity: 280
Merit: 250
Is there a way to send my wallet.dat from the vps to my machine?

Thanks in advance!

You can copy it, but importing private keys is easier...

It may be easier but if u just copy wallet.dat you dont have to import the private key from every block mined. You can just copy the wallet.dat to your main wallet and start the server mining and leave it. No need to check for blocks mined because they will automatically show up in your wallet.
Thats all well and good, but what happens if it gets compromised or your have a dodge host who has the same thought
sr. member
Activity: 420
Merit: 250
Is there a way to send my wallet.dat from the vps to my machine?

Thanks in advance!

You can copy it, but importing private keys is easier...

It may be easier but if u just copy wallet.dat you dont have to import the private key from every block mined. You can just copy the wallet.dat to your main wallet and start the server mining and leave it. No need to check for blocks mined because they will automatically show up in your wallet.
hero member
Activity: 766
Merit: 621
Own ONION
why sudden interests in this coin? will be listed soon by cryptsy?
Pages:
Jump to: