我正在为我所在大学的几个俱乐部开设LiteCoin mmcFE-pushpool游泳池,并且遇到了一些问题。首先,我们运行EC2实例(Ubuntu),并运行mmcFE和pushpull。在我们开始这个游泳池之前,我有两个主要问题......
1)在Web界面上,用户可以创建,帐户和登录。在左侧,有一个错误/通知表明:注意:未定义的变量:第64行的/var/www/includes/leftsidebar.php中的totalOverallShares我也收到通知:未定义的变量:/ var / www中的totalOverallShares第71行/includes/leftsidebar.php
2)其次,我继续前进并忽略了之前的错误并决定运行一个CPU挖掘器来测试统计数据。通常我可以在其他人群中以大约11kh / s的速度散乱(scrypt)。它已经运行了大约5小时,我在网站上的统计数据仍然是0.cron作业每2分钟运行一次。使用MINERD并且从未获得任何“提交的股票,是的!”在我的电脑上....
有没有人有任何指针?对于什么可能阻碍我们,我真的很难过。您可以在http://p2pool.us
的网页上看到此问题{
# network ports
"listen" : [
# binary protocol (default), port 8336
{ "port" : 8336 },
# HTTP JSON-RPC protocol, port 8337
{ "port" : 8337, "protocol" : "http-json" }
],
# database settings
"database" : {
"engine" : "mysql",
# 'host' defaults to localhost, if not specified
"host" : "127.0.0.1",
# 'port' uses proper default port for the DB engine,
# if not specified
"port" : "3306",
"name" : "sc",
"username" : "myusername",
"password" : "mypasswd",
"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 (?, ?, ?, $
},
# cache settings
"memcached" : {
"servers" : [
{ "host" : "127.0.0.1", "port" : 11211 }
]
},
"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)
"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:9332/",
"rpc.user" : "user",
"rpc.pass" : "pass",
# rewrite returned 'target' to difficulty-1?
"rpc.target.rewrite" : true,
# allow clients to update the ntime field of their work
"roll.ntime.disable" : false
}
以上显示了我的PUSHPOOLD配置。下面是我的精简版:
server=1
rpcallowip=127.0.0.1
rpcuser=user
rpcpassword=pass