Bitcoin Forum
March 23, 2017, 08:38:44 AM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Trying to open a new mining pool for my friends (got problems with it).  (Read 884 times)
Gotserved
Newbie
*
Offline Offline

Activity: 4


View Profile
June 07, 2011, 11:51:05 PM
 #1

Hi i have some problems with my new mining pool.

OS= Ubuntu 10.04 LTS Terminal.

I got this in the client.
2011-06-08 01:44:43: Listener for "pengar": 08/06/2011 01:44:43, Problems communicating with bitcoin RPC

I got this in the pushpool.
[1307490305.141689] client host 78.73.80.189 port 50768 connected <--- mass spam.

But when i run the bitcoind service like this

./bitcoind -server

nothing happens, is it loaded or what?

my bitcoind.conf

Code:
rpcuser=hello
rpcpassword=hello2

My server.josn
Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8347, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.$
      # requests to us | "proxy" should be set to your ip address that people will connect through
      { "port" : 8344, "protocol" : "http-json",
        "proxy" : "80.67.11.172" },

      # binary protocol, localhost-only port 8338
      # host is most likely your localhost address
      { "host" : "80.67.11.172", "port" : 8338, "protocol" : "binary" }
   ],

   # database settings
   "database" : {
      "engine" : "mysql",

      "host" : "localhost",

      "port" : 3306,

      #database name
      "name" : "pushpool",
      #database username
      "username" : "pushpool",
      #database password
      "password" : "g321",
      #enable sharelog | to insert share data or sometimes known as "work"
      "sharelog" : true,
      "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",

      "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"

   },
  #uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram)
   # cache settings
   #"memcached" : {
   #   "servers" : [
   #      { "host" : "127.0.0.1", "port" : 11211 }
   #   ]
   #},

   "pid" : "/tmp/pushpoold.pid",

   # overrides local hostname detection
   "forcehost" : "localhost.localdomain",

   "log.requests" : "/tmp/request.log",
   "log.shares" : "/tmp/shares.log",

   # the server assumes longpolling (w/ SIGUSR1 called for each blk)
 # the server assumes longpolling (w/ SIGUSR1 called for each blk)
   "longpoll.disable" : false,

   # length of time to cache username/password credentials, in seconds
   "auth.cred_cache.expire" : 75,

   # RPC settings
   #Bitcoind Protocal settings
   #Host were bitcoind can be found on the network
   "rpc.url" : "http://127.0.0.1:8332/",
   #Username & password to connect to bitcoind
   "rpc.user" : "hello",
   "rpc.pass" : "hello2",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}


Why wont it work for me?
1490258324
Hero Member
*
Offline Offline

Posts: 1490258324

View Profile Personal Message (Offline)

Ignore
1490258324
Reply with quote  #2

1490258324
Report to moderator
1490258324
Hero Member
*
Offline Offline

Posts: 1490258324

View Profile Personal Message (Offline)

Ignore
1490258324
Reply with quote  #2

1490258324
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1490258324
Hero Member
*
Offline Offline

Posts: 1490258324

View Profile Personal Message (Offline)

Ignore
1490258324
Reply with quote  #2

1490258324
Report to moderator
1490258324
Hero Member
*
Offline Offline

Posts: 1490258324

View Profile Personal Message (Offline)

Ignore
1490258324
Reply with quote  #2

1490258324
Report to moderator
Wuked
Member
**
Offline Offline

Activity: 112


View Profile WWW
June 09, 2011, 11:26:10 AM
 #2

The bitcoind server needs to be the first thing that's running.

if you type

Code:
# ./bitcoind

into your console, what happens?

The program should silently run - but you won't see any output.

to check it's running you can try typing :

Code:
# ps aux | grep 'bitcoind'

SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700


View Profile
June 09, 2011, 11:33:19 AM
 #3

Quote
My server.josn

if that's not a type it should me .json
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!