Post
Topic
Board Bitcoin Technical Support
Re: Pushpool - Tech Support
by
genewitch
on 11/06/2011, 05:11:13 UTC
this error: un 11 05:02:55 ip-10-124-17-59 pushpoold[18786]: Debug output enabled
Jun 11 05:02:55 ip-10-124-17-59 pushpoold[18786]: Forcing local hostname to localhost.localdomain
Jun 11 05:02:55 ip-10-124-17-59 pushpoold[18787]: tcp socket: Address family not supported by protocol
Jun 11 05:02:59 ip-10-124-17-59 su[18765]: pam_unix(su:session): session closed for user bitcoin

from this config json:

Code:
{
        # network ports
        "listen" : [
                # HTTP JSON-RPC protocol, port 8337
                { "port" : 8337, "protocol" : "http-json" }
],
        # database settings
        "database" : {
                # ... or ...

                "engine" : "mysql",

                "host" : "localhost",

                "port" : 3306,

                "name" : "sc",
                "username" : "pushpool",
                "password" : "SWECRETS",

                "stmt.pwdb" :
                  "SELECT password FROM pool_worker WHERE username = ?"

        },

        # cache settings
        "memcached" : {
                "servers" : [
                        { "host" : "127.0.0.1", "port" : 11211 }
                ]
        },

        "pid" : "/home/bitcoin/pushpoold.pid",

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

        "log.requests" : "/home/bitcoin/request.log",
        "log.shares" : "/home/bitcoin/shares.log",

        # 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
        "rpc.url" : "http://127.0.0.1:8332/",
        "rpc.user" : "bitcoin",
        "rpc.pass" : "SWEEECRETS",

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