• Crypto Sex Toys - PPC Adult Mega Store - 1000's of products, Same Day Dispatch, Fleshlights!
  • PPCoin Pool, fast payout (6 confirmations only), PPLNS, fee -0%
  • Advertise here for 1 PPC per day
  • Escrow for your PPC (Peercoin) Trades. Fuzzy Escrow Service 1% fee
  • Limited Edition - Physical Primecoins and Peercoins! - Each is 1 Troy Ounce of .999 Fine Silver - Available with other merchandise only at FiniteByDesign.com
  • Print

Author Topic: [SUPPORT] beeeeer.org - tech support  (Read 7626 times)

Offline ivanlabrie

  • Full Member
  • ***
  • Posts: 69
  • Karma: +3/-2
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #60 on: September 19, 2013, 02:06:23 am »
Quote from: pt0x on September 19, 2013, 01:45:36 am
Quote from: ivanlabrie on September 18, 2013, 07:59:23 pm
Thanks a lot! That clarifies things a lot for me.
Now, I was wondering, say if I want to start this without having to log on to my pc, every time it's turned on.
Does that script do it or do I need to do something else?

You just need to add the script inside this file: /etc/rc.local
(Make sure you do it before the exit call at the end  ;))
That will auto start your miner on boot.

I actually tried that...and it didn't work. Then I found out the script wasn't working.
I'm not sure what's wrong with it. I guess I should place the binary somewhere else, it's inside two folders inside my (non root) user's home folder.

I try to run it and it opens gedit, (despite the open as program option being selected), and if I run it from terminal I either get a terminated message or (last time I tried) an error message indicating that I couldn't have the log file saved there or something.

Suggestions?

Here are my scripts as is:

Script 1:

Code: [Select]
#!/bin/bash
~/primecoin/src/primeminer -pooluser=AT4iEgpfXBDqth1k8tQU5Bb57z9mchwgY9 -poolpassword=0 -poolip=beeeeer.org -poolport=1337 -genproclimit=8 -sievesize=1500000 -primes=2000000 -sieveextensions=7 -bits=10 -TargetInitialLength=7 -sievepercentage=5 -chainlength=10 >>~/primeminer.log 2>&1

Script 2:

Code: [Select]
#!/bin/bash
killall --older-than 30s -q run-primeminer.sh primeminer.sh
function background_loop
        while :; do
                ~/primeminer.sh >/dev/null 2>&1
                sleep 1
        done
background_loop &

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +26/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: [SUPPORT] beeeeer.org - tech support
« Reply #61 on: September 19, 2013, 09:31:14 am »
just my 2 cents...

write a script like this
Code: [Select]
#!/bin/sh

if ps ax | grep -v "grep" | grep "primeminer" > /dev/null
then
echo "looking good!"
else
echo "`date`: restarting"
nohup /home/user/bin/primeminer [your primeminer parameters here] > /dev/null &
fi
save this script to: /home/user/bin/miner_run.sh
this will check if primeminer is running & restarts it if it's not running
be sure to change the path to the miner to the corresponding path of your setup

then just create a new cronjob with
Code: [Select]
> crontab -e(typically this will open a text editor like vi or nano, you'll have to figure out how to save the (crontab) file (e.g. CTRL+X))

add the line:
Code: [Select]
* * * * * /home/user/bin/miner_run.shexit & save, then the script (from above) will be executed once every minute (and when your machine restarts/boots)

done.

- xolokram

ps. correct me if something's wrong, i changed a few parts on-the-fly for simplification
« Last Edit: September 19, 2013, 09:34:01 am by xolokram »
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline refer_2_me

  • Jr. Member
  • **
  • Posts: 22
  • Karma: +0/-0
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #62 on: September 19, 2013, 02:33:11 pm »
Quote from: refer_2_me on September 18, 2013, 03:02:35 pm
Also, most recent update on git broke the OSX compilation.

Same error as here: http://ppcointalk.org/index.php?topic=485.msg3593#msg3593
I looked in the make file, but I couldn't figure out what had changed.

@xolokram, any word on this?

Offline ivanlabrie

  • Full Member
  • ***
  • Posts: 69
  • Karma: +3/-2
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #63 on: September 19, 2013, 02:58:03 pm »
Thanks xolo, I'll try it as soon as possible and report back.

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +26/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: [SUPPORT] beeeeer.org - tech support
« Reply #64 on: September 19, 2013, 02:58:17 pm »
Quote from: refer_2_me on September 19, 2013, 02:33:11 pm
Quote from: refer_2_me on September 18, 2013, 03:02:35 pm
Also, most recent update on git broke the OSX compilation.

Same error as here: http://ppcointalk.org/index.php?topic=485.msg3593#msg3593
I looked in the make file, but I couldn't figure out what had changed.

@xolokram, any word on this?
uh yeah, sorry, i think i missed that.

mh, you'll have to edit this locally for your system. i don't have a osx test system to test this (that's why it's broken i guess :D)

open main_poolminer.cpp
search for
Code: [Select]
#ifdef __MINGW__and delete everything between
Code: [Select]
#ifdef __MINGW__and
Code: [Select]
#endif //TODO: __APPLE__ ?
there must be two blocks in the code where this appears. then build. everything should be ok now.
this will remove the end summary from the miner, but i guess that's ok as long as the miner is mining. :)

- xolokram

UPDATE FOR v0.4 or higher:
search for
Code: [Select]
#if defined(__MINGW32__) || defined(__MINGW64__)instead of
Code: [Select]
#ifdef __MINGW__
« Last Edit: September 23, 2013, 08:43:45 pm by xolokram »
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline refer_2_me

  • Jr. Member
  • **
  • Posts: 22
  • Karma: +0/-0
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #65 on: September 19, 2013, 03:11:44 pm »
Quote from: xolokram on September 19, 2013, 02:58:17 pm
Quote from: refer_2_me on September 19, 2013, 02:33:11 pm
Quote from: refer_2_me on September 18, 2013, 03:02:35 pm
Also, most recent update on git broke the OSX compilation.

Same error as here: http://ppcointalk.org/index.php?topic=485.msg3593#msg3593
I looked in the make file, but I couldn't figure out what had changed.

@xolokram, any word on this?
uh yeah, sorry, i think i missed that.

mh, you'll have to edit this locally for your system. i don't have a osx test system to test this (that's why it's broken i guess :D)

open main_poolminer.cpp
search for
Code: [Select]
#ifdef __MINGW__and delete everything between
Code: [Select]
#ifdef __MINGW__and
Code: [Select]
#endif //TODO: __APPLE__ ?
there must be two blocks in the code where this appears. then build. everything should be ok now.
this will remove the end summary from the miner, but i guess that's ok as long as the miner is mining. :)

- xolokram


It seems to be mining, thanks!

Offline pt0x

  • Jr. Member
  • **
  • Posts: 36
  • Karma: +0/-0
  • I love arepas
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #66 on: September 23, 2013, 07:15:16 pm »
Hi , I know that by looking into the source i can find out about this but...

How many times (retries or timeout) the client tries to reconnect before shutting down ?
 
« Last Edit: September 23, 2013, 10:45:42 pm by pt0x »
BTC: 1JYWdPdaQy4kLWwzNR7xtPdMzaJ89qXfeR
LTC: LUBThsrxYggZY3amoyNrnuicmR8pFrSysp
XPM: APHzYiVovbXdkzjg8gdqmjuuvfz6fEtaJh

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +26/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: [SUPPORT] beeeeer.org - tech support
« Reply #67 on: September 23, 2013, 07:53:26 pm »
the value is currently set to 3 @v0.3
and 4 @v0.4 *psht* :)
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 114
  • Karma: +9/-0
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #68 on: September 25, 2013, 08:37:48 am »
Just as a side note, i had to install libgmp-dev on debian 7 server to compile, that one is missing in https://github.com/thbaumbach/primecoin/blob/master/doc/build-unix.md

Why does it require all those db libs like a wallet? Haven't removed them yet? ^^
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +26/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: [SUPPORT] beeeeer.org - tech support
« Reply #69 on: September 25, 2013, 08:48:51 am »
primeminer (aka xolominer) needs prime.cpp & a small part from main.cpp
but they need util.cpp, bitcoinrpc...
and they depend on wallet.cpp, db, tx...
depending on key.cpp, leveldb & mem...

of course most of these are not 100% needed, but it takes some time to resolve all those dependencies, and this is really annoying work :)
thus it's currently low priority. :D

- xolokram
« Last Edit: September 25, 2013, 08:50:26 am by xolokram »
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 114
  • Karma: +9/-0
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #70 on: September 25, 2013, 09:34:06 am »
Quote from: xolokram on September 19, 2013, 09:31:14 am
just my 2 cents...

write a script like this
Code: [Select]
#!/bin/sh

if ps ax | grep -v "grep" | grep "primeminer" > /dev/null
then
echo "looking good!"
else
echo "`date`: restarting"
nohup /home/user/bin/primeminer [your primeminer parameters here] > /dev/null &
fi
save this script to: /home/user/bin/miner_run.sh
this will check if primeminer is running & restarts it if it's not running
be sure to change the path to the miner to the corresponding path of your setup

then just create a new cronjob with
Code: [Select]
> crontab -e(typically this will open a text editor like vi or nano, you'll have to figure out how to save the (crontab) file (e.g. CTRL+X))

add the line:
Code: [Select]
* * * * * /home/user/bin/miner_run.shexit & save, then the script (from above) will be executed once every minute (and when your machine restarts/boots)

done.

- xolokram

ps. correct me if something's wrong, i changed a few parts on-the-fly for simplification

Working perfectly, thanks :)
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline ivanlabrie

  • Full Member
  • ***
  • Posts: 69
  • Karma: +3/-2
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #71 on: September 25, 2013, 02:19:44 pm »
I couldn't get it to work under ubuntu 13.04...I'll just open it manually for now.
Had trouble setting up the cronjob, but after doing so it seemed to do nothing.  :-\

Offline tinnvec

  • Jr. Member
  • **
  • Posts: 18
  • Karma: +4/-0
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #72 on: September 25, 2013, 04:51:28 pm »
Quote from: ivanlabrie on September 25, 2013, 02:19:44 pm
I couldn't get it to work under ubuntu 13.04...I'll just open it manually for now.
Had trouble setting up the cronjob, but after doing so it seemed to do nothing.  :-\

Were you having trouble getting it to run all together or just with chron?
Because I use Xubuntu 13.04 (same as vanilla ubuntu but using xfce front end) and had no problem at all getting it compiled and running
฿ 1GcUZ5cWnEz9WiHDrRaACuJGiWP4k5eEHF | Ψ Af5JcoF1C4MTPikTKGNK1Wiw7jbCtmmgeZ

Offline ivanlabrie

  • Full Member
  • ***
  • Posts: 69
  • Karma: +3/-2
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #73 on: September 25, 2013, 11:09:23 pm »
I compiled it many times to test different instruction sets, but I couldn't set it up to start when turning the pc on, with no need to long on to my account.
I tried modifying a script posted by gigawatt at btctalk (noobproof src setup thingie) and it did work but I had trouble doing the whole thing (since it got stuck in the middle).

Offline jonty

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
  • Hello I'm new here
    • View Profile
Re: [SUPPORT] beeeeer.org - tech support
« Reply #74 on: October 01, 2013, 07:30:27 pm »
Quote from: mhps on September 13, 2013, 03:45:28 pm
Quote from: xolokram on September 13, 2013, 03:31:13 pm
@mhps:
can you try to connect to the pool using port 13337 (without the ssh tunneling, if that is an option for you?!) ???

I get
Code: [Select]
PrimecoinMiner started
connecting to 5.45.100.191:11337
system:110
connecting to 5.45.100.191:11337
system:110
Strainge.
[/code]


Hello Brother
I am new to coin mining
apart from some few common terms i don't know bout it
actually a colleague of mine doing coin mining from beeeeer.org
i am sorry if i mistaken some where, all i know he using beeeee.org
with primecoin miner having 4 files out of which 2 are batch files
one is coded for registry and another is info having like pool address port ....
and another is some  oossnddrs***.exe file and a prime coiner itself
now i dont know how things are working actuallly, i wish i came to right person
wish u help me out , i wanna know more bout mining and bitcoin,
is there any thread giving whole good info...
.
.
thanks
regards

  • Print