Bitcoin Forum
June 19, 2024, 10:57:18 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: VPS CPU mining was Re: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 1347 times)
prachait (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 08, 2015, 01:24:26 PM
 #1

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
kano
Legendary
*
Offline Offline

Activity: 4522
Merit: 1846


Linux since 1997 RedHat 4


View Profile
August 08, 2015, 10:02:07 PM
 #2

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.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
prachait (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 09, 2015, 09:10:01 PM
 #3

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
-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
August 09, 2015, 09:12:40 PM
 #4

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
prachait (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 09, 2015, 09:45:36 PM
 #5

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
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
August 09, 2015, 09:48:03 PM
 #6

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  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!