Author

Topic: VPS CPU mining was Re: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2 (Read 1365 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I am using
1. VPS Server 2 GB RAM 60 GB HDD
2. CentOS Is installed
3. Using Command line only
It appears you are trying to use a VPS for mining. You are obviously new to mining. Are you aware that you need ASIC mining hardware to mine bitcoin? Computers by themselves no matter how powerful (and the same goes for a VPS) cannot mine bitcoin. It is unlikely any VPS has meaningful USB capability and that's likely why you can't run cgminer which uses libusb. Presumably it can't start the usb support in the software because there is no usb.

SOLVED

yum install git automake gcc make curl-devel

git clone https://github.com/pooler/cpuminer
cd cpuminer
./autogen.sh
CFLAGS="-03"./configure
make sudo make install
minerd --url=http://pool.com:9332 --userpass=worker:password

and NOW it is working on VPS 2GB RAM CentOS

Thanks to http://luxrayelite.chatango.com/

Prachait



Since that's not cgminer and you're trying to mine coins with cpu which became redundant 4 years ago, I'll split off your discussion from this thread.
newbie
Activity: 7
Merit: 0
You clearly aren't running the master cgminer.
Master cgminer has no "-scrypt" in it.
You'll need to find whoever hacked that version of cgminer and get them to fix it.

I tried ./cgminer -o stratum+tcp://stratum.eobot.com:4334 --userpass abc:x
without -scrypt
Still the same issue and the code was downloaded from http://ck.kolivas.org/apps/cgminer/

Waiting for your next recommendation, Thanks, Prachait


SOLVED

yum install git automake gcc make curl-devel

git clone https://github.com/pooler/cpuminer
cd cpuminer
./autogen.sh
CFLAGS="-03"./configure
make sudo make install
minerd --url=http://pool.com:9332 --userpass=worker:password

and NOW it is working on VPS 2GB RAM CentOS

Thanks to http://luxrayelite.chatango.com/

Prachait

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I am using
1. VPS Server 2 GB RAM 60 GB HDD
2. CentOS Is installed
3. Using Command line only
It appears you are trying to use a VPS for mining. You are obviously new to mining. Are you aware that you need ASIC mining hardware to mine bitcoin? Computers by themselves no matter how powerful (and the same goes for a VPS) cannot mine bitcoin. It is unlikely any VPS has meaningful USB capability and that's likely why you can't run cgminer which uses libusb. Presumably it can't start the usb support in the software because there is no usb.
newbie
Activity: 7
Merit: 0
You clearly aren't running the master cgminer.
Master cgminer has no "-scrypt" in it.
You'll need to find whoever hacked that version of cgminer and get them to fix it.

I tried ./cgminer -o stratum+tcp://stratum.eobot.com:4334 --userpass abc:x
without -scrypt
Still the same issue and the code was downloaded from http://ck.kolivas.org/apps/cgminer/

Waiting for your next recommendation, Thanks, Prachait
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
You clearly aren't running the master cgminer.
Master cgminer has no "-scrypt" in it.
You'll need to find whoever hacked that version of cgminer and get them to fix it.
newbie
Activity: 7
Merit: 0
Hello, I have installed and using the following.

[~/cgminer]# cgminer -version
libusb_init() failed err -99 [2015-08-08 18:50:57] libusb_init() failed
Segmentation fault (core dumped)

[~/cgminer]# ./cgminer -scrypt -o stratum+tcp://stratum.eobot.com:4334 --userpass abc:x
libusb_init() failed err -99 [2015-08-08 18:53:04] libusb_init() failed
Segmentation fault (core dumped)

I am using
1. VPS Server 2 GB RAM 60 GB HDD
2. CentOS Is installed
3. Using Command line only


Kindly update on libusb_init

Thanks, Prachait

CFLAGS="-g -W -Wall" ./configure --enable-icarus --enable-bitforce --enable-modminer --enable-ztex --enable-bflsc

------------------------------------------------------------------------
cgminer 4.9.2
------------------------------------------------------------------------


Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl
  libsystemd...........: Disabled
  curses.TUI...........: FOUND: -lncurses

  Antminer.S1.Bitmain..: Disabled
  Antminer.S2.Bitmain..: Disabled
  Antminer.S3.Bitmain..: Disabled
  Avalon.ASICs.........: Disabled
  Avalon2.ASICs........: Disabled
  Avalon4.ASICs........: Disabled
  BlackArrowMinion.ASIC: Disabled
  BlackArrow.ASICs.....: Disabled
  BFL.ASICs............: Enabled
  BitForce.FPGAs.......: Enabled
  BitFury.ASICs........: Disabled
  BlockErupter.ASICs...: Disabled
  Cointerra.ASICs......: Disabled
  Spond-sp10.ASICs.....: Disabled
  Spond-sp30.ASICs.....: Disabled
  Bitmine-A1.ASICs.....: Disabled
  Drillbit.BitFury.....: Disabled
  Hashfast.ASICs.......: Disabled
  Hashratio.ASICs......: Disabled
  Icarus.ASICs/FPGAs...: Enabled
  Klondike.ASICs.......: Disabled
  KnC.ASICs............: Disabled
  ModMiner.FPGAs.......: Enabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -W -Wall
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl    compat/jansson-2.6/src/.libs/libjansson.a -lpthread    -lm compat/libusb-1.0/libusb/.libs                                       /libusb-1.0.a -ludev -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

---------------
make and make install


[~/cgminer]# cgminer -version
libusb_init() failed err -99 [2015-08-08 18:50:57] libusb_init() failed
Segmentation fault (core dumped)

[~/cgminer]# ./cgminer -scrypt -o stratum+tcp://stratum.eobot.com:4334 --userpass abc:x
libusb_init() failed err -99 [2015-08-08 18:53:04] libusb_init() failed
Segmentation fault (core dumped)

I am using
1. VPS Server 2 GB RAM 60 GB HDD
2. CentOS Is installed
3. Using Command line only


Kindly update on libusb_init
Jump to: