Bitcoin Forum
August 16, 2024, 12:24:49 AM *
News: Latest Bitcoin Core release: 27.1 [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 88526 times)
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:48:33 PM
 #281

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?

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.
jubalix
Legendary
*
Offline Offline

Activity: 2632
Merit: 1022


View Profile WWW
July 11, 2013, 05:17:14 PM
 #282

why is my pps so low

my 2 cpu < 1 cpu

and geting 4 pps to 20 pps max

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

https://www.binance.com/?ref=10062065
Teka
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000



View Profile
July 11, 2013, 05:18:36 PM
 #283

I just got an orphan block  Sad
xavenged
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
July 11, 2013, 05:23:28 PM
 #284

why is my pps so low

my 2 cpu < 1 cpu

and geting 4 pps to 20 pps max

lulz im getting 30pps on my Raspberry Pi
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 05:28:46 PM
 #285

Thanks Zalfrin!

Now I am stuck at

Code:
sudo mv primecoind /usr/local/bin/.
  Shocked

mv: cannot stat 'primecoind': No such file or directory
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 05:31:20 PM
 #286

Thanks Zalfrin!

Now I am stuck at

Code:
sudo mv primecoind /usr/local/bin/.
  Shocked

mv: cannot stat 'primecoind': No such file or directory

Have you done these steps:
Quote
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

You should be in the primecoin/src directory to run that move command.
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
July 11, 2013, 05:33:37 PM
 #287

I have been unable to get a block in two days. Now I am only getting 1 and 0 PPS. I rebooted the drop, but it didn't help.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 05:36:21 PM
 #288

I have been unable to get a block in two days. Now I am only getting 1 and 0 PPS. I rebooted the drop, but it didn't help.

follow the instruction in post 1 under "Update" and you should be getting 150-ish. read the last few pages as well, you need a bigger droplet or an additional command to use swap space so you can compile successfully.
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 05:39:25 PM
 #289

Thanks Zalfrin!

Now I am stuck at

Code:
sudo mv primecoind /usr/local/bin/.
 Shocked

mv: cannot stat 'primecoind': No such file or directory

Have you done these steps:
Quote
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

You should be in the primecoin/src directory to run that move command.


I did all the steps as described.. Here is a ls command of src

Code:
~/primecoin/src# ls
addrman.cpp     bitcoinrpc.h        clientversion.h  init.cpp      leveldb.cpp           makefile.unix  obj-test           rpcdump.cpp            sync.cpp        util.cpp
addrman.h       bloom.cpp           compat.h         init.h        leveldb.h             mruset.h       prime.cpp          rpcmining.cpp          sync.h          util.h
alert.cpp       bloom.h             crypter.cpp      json          limitedmap.h          net.cpp        prime.h            rpcnet.cpp             test            version.cpp
alert.h         checkpoints.cpp     crypter.h        key.cpp       main.cpp              net.h          primecoind         rpcrawtransaction.cpp  threadsafety.h  version.h
allocators.h    checkpoints.h       db.cpp           key.h         main.h                netbase.cpp    protocol.cpp       rpcwallet.cpp          txdb.cpp        wallet.cpp
base58.h        checkpointsync.cpp  db.h             keystore.cpp  makefile.linux-mingw  netbase.h      protocol.h         script.cpp             txdb.h          wallet.h
bignum.h        checkpointsync.h    hash.cpp         keystore.h    makefile.mingw        noui.cpp       qt                 script.h               ui_interface.h  walletdb.cpp
bitcoinrpc.cpp  checkqueue.h        hash.h           leveldb       makefile.osx          obj            rpcblockchain.cpp  serialize.h            uint256.h       walletdb.h

I am on 2GB 40GB

Edit: Doing this through mac osx terminal if this matters.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 05:46:43 PM
 #290

Thanks Zalfrin!

Now I am stuck at

Code:
sudo mv primecoind /usr/local/bin/.
 Shocked

mv: cannot stat 'primecoind': No such file or directory

Have you done these steps:
Quote
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

You should be in the primecoin/src directory to run that move command.


I did all the steps as described.. Here is a ls command of src

Code:
~/primecoin/src# ls
addrman.cpp     bitcoinrpc.h        clientversion.h  init.cpp      leveldb.cpp           makefile.unix  obj-test           rpcdump.cpp            sync.cpp        util.cpp
addrman.h       bloom.cpp           compat.h         init.h        leveldb.h             mruset.h       prime.cpp          rpcmining.cpp          sync.h          util.h
alert.cpp       bloom.h             crypter.cpp      json          limitedmap.h          net.cpp        prime.h            rpcnet.cpp             test            version.cpp
alert.h         checkpoints.cpp     crypter.h        key.cpp       main.cpp              net.h          primecoind         rpcrawtransaction.cpp  threadsafety.h  version.h
allocators.h    checkpoints.h       db.cpp           key.h         main.h                netbase.cpp    protocol.cpp       rpcwallet.cpp          txdb.cpp        wallet.cpp
base58.h        checkpointsync.cpp  db.h             keystore.cpp  makefile.linux-mingw  netbase.h      protocol.h         script.cpp             txdb.h          wallet.h
bignum.h        checkpointsync.h    hash.cpp         keystore.h    makefile.mingw        noui.cpp       qt                 script.h               ui_interface.h  walletdb.cpp
bitcoinrpc.cpp  checkqueue.h        hash.h           leveldb       makefile.osx          obj            rpcblockchain.cpp  serialize.h            uint256.h       walletdb.h

I am on 2GB 40GB

primecoind exists there, so it SHOULD work. Wink Don't know what else to say on that, hopefully someone else has a suggestion. FWIW, I used "mv primecoind /usr/local/bin/."

The sudo is extraneous since we're logged in as root.
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 06:03:27 PM
 #291

Thanks Zalfrin!

Now I am stuck at

Code:
sudo mv primecoind /usr/local/bin/.
 Shocked

mv: cannot stat 'primecoind': No such file or directory

Have you done these steps:
Quote
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

You should be in the primecoin/src directory to run that move command.


I did all the steps as described.. Here is a ls command of src

Code:
~/primecoin/src# ls
addrman.cpp     bitcoinrpc.h        clientversion.h  init.cpp      leveldb.cpp           makefile.unix  obj-test           rpcdump.cpp            sync.cpp        util.cpp
addrman.h       bloom.cpp           compat.h         init.h        leveldb.h             mruset.h       prime.cpp          rpcmining.cpp          sync.h          util.h
alert.cpp       bloom.h             crypter.cpp      json          limitedmap.h          net.cpp        prime.h            rpcnet.cpp             test            version.cpp
alert.h         checkpoints.cpp     crypter.h        key.cpp       main.cpp              net.h          primecoind         rpcrawtransaction.cpp  threadsafety.h  version.h
allocators.h    checkpoints.h       db.cpp           key.h         main.h                netbase.cpp    protocol.cpp       rpcwallet.cpp          txdb.cpp        wallet.cpp
base58.h        checkpointsync.cpp  db.h             keystore.cpp  makefile.linux-mingw  netbase.h      protocol.h         script.cpp             txdb.h          wallet.h
bignum.h        checkpointsync.h    hash.cpp         keystore.h    makefile.mingw        noui.cpp       qt                 script.h               ui_interface.h  walletdb.cpp
bitcoinrpc.cpp  checkqueue.h        hash.h           leveldb       makefile.osx          obj            rpcblockchain.cpp  serialize.h            uint256.h       walletdb.h

I am on 2GB 40GB

primecoind exists there, so it SHOULD work. Wink Don't know what else to say on that, hopefully someone else has a suggestion. FWIW, I used "mv primecoind /usr/local/bin/."

The sudo is extraneous since we're logged in as root.

It seems this is the problem:

Code:
/usr/local/bin# primecoind --daemon
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

Is this related to setting environmental variable LC_ALL LC_ALL="en_GB.utf8"


Edit: Solved by this
Code:
export LC_ALL="en_US.utf8"
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 06:07:33 PM
 #292

Edit: Solved by this
Code:
export LC_ALL="en_US.utf8"

Don't you love linux? Wink
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
July 11, 2013, 06:10:22 PM
 #293

Edit: Solved by this
Code:
export LC_ALL="en_US.utf8"

Don't you love linux? Wink

never had anything to do with linux Cheesy fist time today
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 06:15:01 PM
 #294

Edit: Solved by this
Code:
export LC_ALL="en_US.utf8"

Don't you love linux? Wink

never had anything to do with linux Cheesy fist time today

Yeah... I've seen that little gem before. Thank god for google.
tomhammers
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
July 11, 2013, 06:38:54 PM
 #295

stuck at
Code:
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
gives
Code:
E: Unable to locate package libdb5.3++-dev
E: Couldn't find any package by regex 'libdb5.3++-dev'

help! lol


apt-get update

I have the same problem here even after trying

apt-get update

Any help please?
nabworth
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
July 11, 2013, 06:42:28 PM
 #296

stuck at
Code:
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
gives
Code:
E: Unable to locate package libdb5.3++-dev
E: Couldn't find any package by regex 'libdb5.3++-dev'

help! lol


apt-get update

I have the same problem here even after trying

apt-get update

Any help please?


on that line, delete back to libdb5. and then hit tab and see what version gets auto filled in. for some reason i didnt have 5.3 either but 5.1 was avail so i installed libdb5.1++-dev , and it built just fine.
Entz
Full Member
***
Offline Offline

Activity: 210
Merit: 100


I not use any kind of messenger beware of scammers


View Profile
July 11, 2013, 06:42:58 PM
 #297

Try it without the version numbers

I Use

Code:
apt-get install build-essential libboost-dev libboost-system-dev \
    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev libdb++-dev libminiupnpc-dev

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

Activity: 378
Merit: 255



View Profile
July 11, 2013, 06:45:30 PM
 #298

Thanks everyone for being so helpful! So far PrimeCoin has made two world records for large prime chains! Happy priming!

tomhammers
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
July 11, 2013, 06:46:56 PM
 #299

stuck at
Code:
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
gives
Code:
E: Unable to locate package libdb5.3++-dev
E: Couldn't find any package by regex 'libdb5.3++-dev'

help! lol


apt-get update

I have the same problem here even after trying

apt-get update

Any help please?


on that line, delete back to libdb5. and then hit tab and see what version gets auto filled in. for some reason i didnt have 5.3 either but 5.1 was avail so i installed libdb5.1++-dev , and it built just fine.

Many thanks, that worked  Smiley

Thanks for your help also Entz  Smiley
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 11, 2013, 06:49:31 PM
 #300

why is my pps so low

my 2 cpu < 1 cpu

and geting 4 pps to 20 pps max

You need to optimize the client...

Instructions:

Create 1gb swap:
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

Compile/make/whatever xD the miner:
Code:
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'

Replace the rpcuser and password with your own, and run that.
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!