Bitcoin Forum
April 20, 2019, 09:28:14 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble With CPUMiner  (Read 4997 times)
stevendevlin
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 16, 2013, 10:34:59 PM
 #1

I've recently decided to switch my mining PC from windows to headless Ubuntu, in order to squeeze out a few more hashes. I managed to get cgminer up and running in no time at all, but I've been having some problems with Pooler's CPUminer that I haven't been able to resolve.

I've tried using the stratum proxy(which seems to be working fine with CGminer) to connect to stratum pools, and that worked perfectly, so I'm almost sure it's minerd.

Here's my setup with the stratum proxy:

#!/bin/sh
nice -n 10 ./minerd
./minerd -user xxx -password x -a scrypt

and stratum.sh:

#!/bin/sh
cd mine/stratum-mining-proxy/
sudo ./mining_proxy.py -o coinotron.com -p 3334 -gp 9332

This gives me the error:

[2013-04-16 15:26:47] HTTP request failed: The requested URL returned error: 401 Unauthorized
[2013-04-16 15:26:47] json_rpc_call failed, retry after 30 seconds

The stratum proxy says:

2013-04-16 15:26:47,050 WARNING proxy getwork_listener.render_POST # Authorization required

I've tried manually pointing the out the URL to http://127.0.0.1:9332 and http://localhost:9332 but these give me the same error.

When I tried running CPUminer without stratum, I pointed to a getwork pool I use this bash script:

#!/bin/sh
nice -n 10 ./minerd
sudo ./minerd -user xxx -password x -a scrypt -url http://ltc.kattare.com:9332/
(I've tried without the / at the end too)

Which gives me this error:

[2013-04-16 15:31:06] HTTP request failed: couldn't connect to host
[2013-04-16 15:31:06] json_rpc_call failed, retry after 30 seconds

Any help or suggestions would be greatly appreciated. I feel like this is a simple problem that I've just become blind to after attempting to fix it for so long.
1555795694
Hero Member
*
Offline Offline

Posts: 1555795694

View Profile Personal Message (Offline)

Ignore
1555795694
Reply with quote  #2

1555795694
Report to moderator
1555795694
Hero Member
*
Offline Offline

Posts: 1555795694

View Profile Personal Message (Offline)

Ignore
1555795694
Reply with quote  #2

1555795694
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1555795694
Hero Member
*
Offline Offline

Posts: 1555795694

View Profile Personal Message (Offline)

Ignore
1555795694
Reply with quote  #2

1555795694
Report to moderator
1555795694
Hero Member
*
Offline Offline

Posts: 1555795694

View Profile Personal Message (Offline)

Ignore
1555795694
Reply with quote  #2

1555795694
Report to moderator
1555795694
Hero Member
*
Offline Offline

Posts: 1555795694

View Profile Personal Message (Offline)

Ignore
1555795694
Reply with quote  #2

1555795694
Report to moderator
pekv2
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
May 15, 2013, 02:40:47 PM
 #2

Apparently, this guy is having the same problem. I'm just bouncing it.

https://bitcointalk.org/index.php?topic=205875.0;topicseen
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!