Pages:
Author

Topic: Pushpool - Tech Support - page 11. (Read 135232 times)

member
Activity: 78
Merit: 10
July 30, 2011, 07:29:05 AM
I am a total newbie to Ubuntu,
but i could reach the install of the push pool on the server , and get the ./configure to work .
Now the hard part is to put the configure the server.json file . I have a big experience with other scripts like phpbb and vbulletin and joomla , is it the same way ? I make a SQL Database and a user, allocate all the privileges, then i enter the right credentials to the Database information in the raw server.json file, and what about the port of the DB ?  .
Do i need to edit the other ips ? i mean the 127.0.0.1 ? And what address to use to put in the miners ?

Thanks a lot !
Please help
member
Activity: 114
Merit: 10
Bitcoin = Money for the people, by the people.
July 29, 2011, 05:35:38 PM
I'll help Imune out tomorrow but here is a quick overview:
- make sure the mysql credidentials are correct.
- make sure that variable: proxy is the IP of the server running pooshpoold..
- make sure that the bitcoin credisentials match, important notice: make sure that the ports match, I like to use 8262..

I'm 100% sure the problem is at the mysql part!
full member
Activity: 126
Merit: 100
July 29, 2011, 03:30:20 AM
The initialized statement doesnt appear cause it can't connect to mysql me thinks.

Also, ziomk, blkmond does exactly what the name says, it doesnt prevent loss of shares. It monitors for new blocks on the network and alerts pushpool which sends the Long Poll signal to the miners.

Here is the piece of code from pushpool

Code:
if (!srv.db_ops->open())
goto err_out_listen;

applog(LOG_INFO, "initialized");

As you can see it tries to open a connection to the mysql database but it can't so it exits.
hero member
Activity: 924
Merit: 501
July 28, 2011, 07:41:45 PM
did you get the "initialized" statement?


legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
July 28, 2011, 07:29:04 PM
Damn r u sure? I can swap out the router but it's going to take some time, I'll let you know if your right bbiab
Yes, but now it's too late for me. Are 2.30 am and I have to sleep ...
If you can not even send me a pm tomorrow to see if we can ...
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:24:48 PM
Damn r u sure? I can swap out the router but it's going to take some time, I'll let you know if your right bbiab
legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
July 28, 2011, 07:19:29 PM
it's all settled, but the port is not responding. The problem is not on the server, but somewhere else. That's all I can do ..
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:16:47 PM
ziomik: please post on here with status report my friend ! - hows it going in there?
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:16:08 PM
Scanning ports on 67.249.133.162

67.249.133.162 is responding on port 8341 ().

hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:11:17 PM
tom@BitCoinMinersUnion:~$ netstat -p -l
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:ftp                   *:*                     LISTEN      -
tcp        0      0 *:ssh                   *:*                     LISTEN      -
tcp        0      0 localhost:mysql         *:*                     LISTEN      -
tcp        0      0 *:8331                  *:*                     LISTEN      11192/bitcoind
tcp        0      0 localhost:11211         *:*                     LISTEN      -
tcp        0      0 *:8333                  *:*                     LISTEN      11192/bitcoind
tcp6       0      0 [::]:www                [::]:*                  LISTEN      -
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
udp        0      0 *:43540                 *:*                                 -
udp        0      0 localhost:11211         *:*                                 -
udp        0      0 *:mdns                  *:*                                 -
udp        0      0 *:bootpc                *:*                                 -
udp6       0      0 [::]:mdns               [::]:*                              -
udp6       0      0 [::]:36403              [::]:*                              -
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     10446    -                   /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     11581    -                   /tmp/orbit-gdm/linc-48a-0-75a7939611aa4
unix  2      [ ACC ]     STREAM     LISTENING     11543    -                   /tmp/.ICE-unix/1108
unix  2      [ ACC ]     STREAM     LISTENING     8689     -                   /tmp/orbit-gdm/linc-460-0-7e2e892b4ae76
unix  2      [ ACC ]     STREAM     LISTENING     10474    -                   /tmp/orbit-gdm/linc-454-0-58493e4550dfa
unix  2      [ ACC ]     STREAM     LISTENING     7584     -                   /tmp/orbit-gdm/linc-473-0-71859c927021c
unix  2      [ ACC ]     STREAM     LISTENING     10520    -                   /tmp/orbit-gdm/linc-48e-0-72a0cdc02f1d2
unix  2      [ ACC ]     STREAM     LISTENING     7624     -                   /tmp/orbit-gdm/linc-48f-0-15a2bf4e2f247
unix  2      [ ACC ]     STREAM     LISTENING     9521     -                   /tmp/.esd-106/socket
unix  2      [ ACC ]     STREAM     LISTENING     9523     -                   /var/lib/gdm/.pulse/a14213dd1454bdde0d7b944d0000000c-runtime/native
unix  2      [ ACC ]     STREAM     LISTENING     7652     -                   /tmp/orbit-gdm/linc-4a6-0-1e86a9e9746b9
unix  2      [ ACC ]     STREAM     LISTENING     16400    -                   /tmp/orbit-gdm/linc-1567-0-51bf39313bf23
unix  2      [ ACC ]     STREAM     LISTENING     8483     -                   /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     6693     -                   /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     5627     -                   @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     10445    -                   @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     12391    -                   /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     11542    -                   @/tmp/.ICE-unix/1108
unix  2      [ ACC ]     STREAM     LISTENING     11541    -                   @/tmp/dbus-6NDRfNd1SK
unix  2      [ ACC ]     STREAM     LISTENING     9380     -                   /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     11536    -                   @/tmp/gdm-greeter-RwEmdSLi
unix  2      [ ACC ]     STREAM     LISTENING     8669     -                   @/tmp/gdm-session-DlfhPbPN
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:10:00 PM
btw: i did what you asked, the port should be opened, do you think you can fix it?
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:08:12 PM
hey talk to me in here ive reached my limit of 10 personal messsages per hour
hero member
Activity: 924
Merit: 501
July 28, 2011, 07:03:19 PM
go read my 9 million posts on pages 16 and 17.  your answer is in there.


hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 07:01:57 PM
lol
definitely not rich my friend

I just want this thing working
if I have to spend a couple days worth of mining to get my pool up It will be well worth it
me and a couple local guys are going solo

hero member
Activity: 924
Merit: 501
July 28, 2011, 06:58:43 PM
imune,


take the time and get it working.   the MOST likely problem is
you are not listening on the right ports.

what does
netstat -p -l

give?


5 btc, damn you must be rich Smiley

hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 06:33:18 PM
if you dont think you can get it let me know someone else wants to try
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 06:31:37 PM
thank you, let me know when your logged in
and If you get it working ill send you 5 btc

pushpool is located in /home/pushpool/

and bitcoin is in /usr/bin/


legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
July 28, 2011, 06:29:50 PM
Get the parameters to log in and see what I can do
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
July 28, 2011, 06:26:53 PM
ok bitcoind started up

now pushpoold is hanging like this:

[2011-07-28 23:25:3.778328] Listening on host :: port 8342
[2011-07-28 23:25:3.778567] Listening on host :: port 8341
[2011-07-28 23:25:3.778647] Listening on host :: port 8334
[2011-07-28 23:25:3.778720] Listening on host 127.0.0.1 port 8338


miner wont connect
you ready to log in and fix it?


legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
July 28, 2011, 06:17:06 PM
Ok:
SERVER.JASON
Code:
{
# network ports
"listen" : [
# binary protocol (default), port 8342
{ "port" : 8342 },

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

# HTTP JSON-RPC protocol, port 8344,
# with trusted proxy appserver.example.com forwarding
# requests to us
{ "port" : 8334, "protocol" : "http-json",
 "proxy" : "127.0.0.1" },

# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],

# database settings
"database" : {
"engine" : "mysql",
"host" : "localhost",
"port" : 3306,
"name" : "namedatabase",
"username" : "user",
"password" : "pass",
"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 }
]
},

"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 | Notice how this ISN'T port number 8332 this is becuase the same port number should not becuase inconjunction with the JSON RPC port other wise you'll get 500 errors
"rpc.url" : "http://127.0.0.1:8331/",
"rpc.user" : "user",
"rpc.pass" : "pass",

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

BITCOIN.CONF:
Code:
rpcuser=user
rpcpassword=pass
rpcport=8331
rpcallowip=*.*.*.*
Pages:
Jump to: