Bitcoin Forum
May 07, 2024, 01:33:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  Print  
Author Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS)  (Read 88501 times)
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 02:28:26 PM
 #261

Trying from scratch with the update, i come this far:

root@TheChries09:~# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Anyone else have this problem? Is there any other command i can give? Thanks for response  Smiley

You have to cd to primecoind directory first.

primecoind/src. It's in the instructions. Wink Just copy/paste them.
1715045627
Hero Member
*
Offline Offline

Posts: 1715045627

View Profile Personal Message (Offline)

Ignore
1715045627
Reply with quote  #2

1715045627
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715045627
Hero Member
*
Offline Offline

Posts: 1715045627

View Profile Personal Message (Offline)

Ignore
1715045627
Reply with quote  #2

1715045627
Report to moderator
1715045627
Hero Member
*
Offline Offline

Posts: 1715045627

View Profile Personal Message (Offline)

Ignore
1715045627
Reply with quote  #2

1715045627
Report to moderator
1715045627
Hero Member
*
Offline Offline

Posts: 1715045627

View Profile Personal Message (Offline)

Ignore
1715045627
Reply with quote  #2

1715045627
Report to moderator
notlist3d
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
July 11, 2013, 02:39:03 PM
 #262

Can someone please post command for "I then remove the wallet.dat from the vps to get all new keys, though its not necessary."

Anyone know how to remove the wallet.dat to just see new keys?  THanks!
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 02:48:05 PM
 #263

Can someone please post command for "I then remove the wallet.dat from the vps to get all new keys, though its not necessary."

Anyone know how to remove the wallet.dat to just see new keys?  THanks!

After you've copied all keys, "rm -f ~/.primecoin/wallet.dat" should do it. You probably want to kill the running primecoind first. I'm not sure if you can get away with just using "primecoind stop"/"primecoind" to stop/resume the daemon. My method of killing it is to run "top", not the process id number for the primecoind instance, then do "q" to exit top, and then a "kill ProcessId" where ProcessID is filled in with the number you found from top. Then you can delete wallet, then restart the primecoind daemon.
jubalix
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
July 11, 2013, 02:48:55 PM
 #264

get

rotector-all -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 <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/main.o] Error 4

Huh?

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
Vorksholk
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
July 11, 2013, 02:50:57 PM
 #265

get

rotector-all -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 <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/main.o] Error 4

Huh?

Need more RAM or some swap. Smiley

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 02:53:09 PM
 #266

get

rotector-all -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 <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/main.o] Error 4

Huh?

This is covered earlier in the thread. You're running out of memory.
TheChries
Newbie
*
Offline Offline

Activity: 29
Merit: 0



View Profile
July 11, 2013, 02:58:38 PM
 #267

Trying from scratch with the update, i come this far:

root@TheChries09:~# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Anyone else have this problem? Is there any other command i can give? Thanks for response  Smiley

You have to cd to primecoind directory first.

primecoind/src. It's in the instructions. Wink Just copy/paste them.

root@TheChries11:~/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Tongue still doesn't work. But thanks for the tip.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 03:01:21 PM
 #268

Trying from scratch with the update, i come this far:

root@TheChries09:~# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Anyone else have this problem? Is there any other command i can give? Thanks for response  Smiley

You have to cd to primecoind directory first.

primecoind/src. It's in the instructions. Wink Just copy/paste them.

root@TheChries11:~/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Tongue still doesn't work. But thanks for the tip.

You're still missing the "make" step.
TheChries
Newbie
*
Offline Offline

Activity: 29
Merit: 0



View Profile
July 11, 2013, 03:27:35 PM
 #269

Trying from scratch with the update, i come this far:

root@TheChries09:~# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Anyone else have this problem? Is there any other command i can give? Thanks for response  Smiley

You have to cd to primecoind directory first.

primecoind/src. It's in the instructions. Wink Just copy/paste them.

root@TheChries11:~/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Tongue still doesn't work. But thanks for the tip.

You're still missing the "make" step.

Ok, it seems like i had the same errors like jubalix.

This was on the setup with 512MB ram.

I tested with this setup:
2GB / 2 CPUs 40GB SSD Disk 3TB Transfer
Amsterdam 1
Ubuntu 13.04 x64

And can confirm that it works! I'm getting 300+pps on this setup Cheesy
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 03:29:44 PM
 #270

Trying from scratch with the update, i come this far:

root@TheChries09:~# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Anyone else have this problem? Is there any other command i can give? Thanks for response  Smiley

You have to cd to primecoind directory first.

primecoind/src. It's in the instructions. Wink Just copy/paste them.

root@TheChries11:~/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat âprimecoindâ: No such file or directory

Tongue still doesn't work. But thanks for the tip.

You're still missing the "make" step.

Ok, it seems like i had the same errors like jubalix.

This was on the setup with 512MB ram.

I tested with this setup:
2GB / 2 CPUs 40GB SSD Disk 3TB Transfer
Amsterdam 1
Ubuntu 13.04 x64

And can confirm that it works! I'm getting 300+pps on this setup Cheesy

Yep, you can go that route or use a temporary swap file like someone posted about earlier.

I switched back to the cheap droplets once I finished my compile. Each one is averaging around 150-200 pps.
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 03:33:59 PM
 #271

Stuck here:

Quote
gen=1" > ~/.primecoin/primecoin.conf


Terminal is not responding after I type this.

ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 11, 2013, 03:42:47 PM
 #272

rethaw, thanks man!

Getting 188pps on each of my instances...have two atm.
Is there an easy way to clone them without stopping the mining?
TheSpiral
Full Member
***
Offline Offline

Activity: 322
Merit: 113


Sinbad Mixer: Mix Your BTC Quickly


View Profile
July 11, 2013, 03:45:01 PM
 #273

Stuck here:

Quote
gen=1" > ~/.primecoin/primecoin.conf
Copy the two lines above it with it... All 3 lines at once, not just that one line.

Terminal is not responding after I type this.
jubalix
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
July 11, 2013, 03:47:23 PM
 #274

getting 2 pps
wahooo

where did I go wrong?

no,no 16 now!

19!

whys does it wind up like this???


Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 03:49:13 PM
 #275

rethaw, thanks man!

Getting 188pps on each of my instances...have two atm.
Is there an easy way to clone them without stopping the mining?

You have to stop mining temporarily, but it doesn't take very long so not a big deal. Power down your droplet either via DO control panel or using poweroff command from a command prompt. Then in the control panel you can select the droplet you want to clone and choose snapshots->take a snapshot. Then you can use that snapshot when you create new droplets. Instead of picking "Ubuntu 13.04 x64", go to My Images and choose the image you just created.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 03:52:12 PM
 #276

Got a PM:

Quote
Sorry to bug you again.  To stop primecoind --daemon, what is the command?

Code:
primecoind stop


bobbahope
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
July 11, 2013, 04:06:35 PM
 #277

Hello, could someone tell me what I'm doing wrong.

When I just copy and past this entire thing

apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

It says it cant find primecoind

apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-


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


primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'


And if I divide it so, I get
 a this will take 17 mb [Y/n]? on which Y, yes, y, enter all get a Abort. for an answer.


I tried reading other posts, but I'm not too good with linux, and didn't understand most of it.


Thanks.

rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 04:08:21 PM
 #278

Hello, could someone tell me what I'm doing wrong.

...

 a this will take 17 mb [Y/n]? on which Y, yes, y, enter all get a Abort. for an answer.


I tried reading other posts, but I'm not too good with linux, and didn't understand most of it.


Thanks.

Just try it line by line. apt-get lines are hanging it up it looks like.

OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 04:09:47 PM
 #279

keep getting account locked Undecided
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 04:33:30 PM
 #280

Stuck here:

Quote
gen=1" > ~/.primecoin/primecoin.conf
Copy the two lines above it with it... All 3 lines at once, not just that one line.

Terminal is not responding after I type this.

Thanks.

Edit: After I have created one droplet. Can I clone it and make another one?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  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!