Pages:
Author

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

sr. member
Activity: 401
Merit: 250
Looks like coupon code no longer works Sad.

There are other coupon codes if you flex your google-foo. Wink
legendary
Activity: 1456
Merit: 1000
Looks like coupon code no longer works Sad.
hero member
Activity: 812
Merit: 1000
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.
newbie
Activity: 43
Merit: 0
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
sr. member
Activity: 378
Merit: 255
Thanks everyone for being so helpful! So far PrimeCoin has made two world records for large prime chains! Happy priming!
full member
Activity: 210
Merit: 100
I not use any kind of messenger beware of scammers
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
newbie
Activity: 50
Merit: 0
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.
newbie
Activity: 43
Merit: 0
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?
sr. member
Activity: 401
Merit: 250
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.
hero member
Activity: 770
Merit: 500
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
sr. member
Activity: 401
Merit: 250
Edit: Solved by this
Code:
export LC_ALL="en_US.utf8"

Don't you love linux? Wink
hero member
Activity: 770
Merit: 500
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"
sr. member
Activity: 401
Merit: 250
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.
hero member
Activity: 770
Merit: 500
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.
sr. member
Activity: 401
Merit: 250
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.
donator
Activity: 1736
Merit: 1014
Let's talk governance, lipstick, and pigs.
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.
sr. member
Activity: 401
Merit: 250
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.
hero member
Activity: 770
Merit: 500
Thanks Zalfrin!

Now I am stuck at

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

mv: cannot stat 'primecoind': No such file or directory
member
Activity: 104
Merit: 10
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
hero member
Activity: 840
Merit: 1000
I just got an orphan block  Sad
Pages:
Jump to: