I dont know why people are posted here ! It was solved in post #2 or 3, the problem was - for those that get similar, that the current user did not have access to the X session (as he wasnt logged into it)
|
|
|
kokade_prod=# select solution from share where upstreamresult = 'Y' ; solution ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 00000001d219003dfd0ec774541ac59c6b566c2b11a64e99d745a2e70028f3e100000000fc415a3 869208702e88db306d9473f116b0412fd76739780b29953fea82d83d24e11de451c00824f8c5b32 da00000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000 (1 row) kokade_prod=# Dont worry about the bounty, have fun you!
|
|
|
Alright SQL problem fixed now - didnt realize postgres has it's own way of placeholding. Going to reinstall memcached shortly but, all just seems wierd - there no way to get more verbose logging out of pushpoold as to why it's not liking memcached? What verison of memcached does it definatly work OK with?
|
|
|
Are you running the daemon on the same machine? What distro is this? What version of memcached are you using as well? I know debian when you install memcached it starts up at boot so no need to invoke it by memcached -u (username). Depending on the version you are using you could build a new package. If pushpool is running it leads me to believe this is either a database issue or and rpc connection error. Im using memcached 1.4.5
Well, with memcached commented out - it runs + authenticates. I am on Debian lenny, Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) ( dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jan 25 05:59:43 UTC 2011 pushpool@kokade:~/pushpool/sbin$ memcached -h memcached 1.2.2 Any ideas? Really want memcached running. And a new, second problem (when running without memcached), and a miner submits a share, I get this error. pg_sharelog failed: ERROR: syntax error at or near "," LINE 1: ..., reason, solution) VALUES (nextval('share_seq'),?,?,?,?,?,?... Settings: "SELECT password from worker where account_username || '.' || password = $1",
#"stmt.sharelog":"insert into share (id,ourresult,reason,remotehost,solution, updatestreamresult, account_username) VALUES (nextval('share_seq'),?,?,?,?,?,?)"
"stmt.sharelog":"insert into share (id,rem_host, username, our_result, upstream_result, reason, solution) VALUES (nextval('share_seq'),?,?,?,?,?,?)" },
If I connect via psql on command line, and run insert into share (id,ourresult,reason,remotehost,solution, updatestreamresult, account_username) VALUES (nextval('share_seq'),NULL,NULL,NULL,NULL,NULL,NULL) it works fine - has something changed in regards to the placeholders for sharelog since page #1 on this thread was made?
|
|
|
Last bitta info before anyone can help, i've got a little further, but now completely stumped. It's a memcache issue by the looks of things.
It works fine w/out memcached
If I run memcached as current user, with "memcached -u pushpool -p 10000", and configure pushpool accordingly, it hangs. Same if I configure it to use the "servers" one which runs as demon on port 11211.
memcached output: (ran with -vv)
slab class 2: chunk size 120 perslab 8738 slab class 3: chunk size 152 perslab 6898 slab class 4: chunk size 192 perslab 5461 slab class 5: chunk size 240 perslab 4369 slab class 6: chunk size 304 perslab 3449 slab class 7: chunk size 384 perslab 2730 slab class 8: chunk size 480 perslab 2184 slab class 9: chunk size 600 perslab 1747 slab class 10: chunk size 752 perslab 1394 slab class 11: chunk size 944 perslab 1110 slab class 12: chunk size 1184 perslab 885 slab class 13: chunk size 1480 perslab 708 slab class 14: chunk size 1856 perslab 564 slab class 15: chunk size 2320 perslab 451 slab class 16: chunk size 2904 perslab 361 slab class 17: chunk size 3632 perslab 288 slab class 18: chunk size 4544 perslab 230 slab class 19: chunk size 5680 perslab 184 slab class 20: chunk size 7104 perslab 147 slab class 21: chunk size 8880 perslab 118 slab class 22: chunk size 11104 perslab 94 slab class 23: chunk size 13880 perslab 75 slab class 24: chunk size 17352 perslab 60 slab class 25: chunk size 21696 perslab 48 slab class 26: chunk size 27120 perslab 38 slab class 27: chunk size 33904 perslab 30 slab class 28: chunk size 42384 perslab 24 slab class 29: chunk size 52984 perslab 19 slab class 30: chunk size 66232 perslab 15 slab class 31: chunk size 82792 perslab 12 slab class 32: chunk size 103496 perslab 10 slab class 33: chunk size 129376 perslab 8 slab class 34: chunk size 161720 perslab 6 slab class 35: chunk size 202152 perslab 5 slab class 36: chunk size 252696 perslab 4 slab class 37: chunk size 315872 perslab 3 slab class 38: chunk size 394840 perslab 2 slab class 39: chunk size 493552 perslab 2 <3 server listening <7 new client connection
--And now everything hangs, nothing sent back to miner or client at this point--
--If I kill memcached this is the output--
^CSIGINT handled. pushpoold: libmemcached/io.cc:356: memcached_return_t memcached_io_read(memcached_server_st*, void*, size_t, ssize_t*): Assertion `0' failed. pushpool@kokade:~/pushpool/sbin$
And then, pushpoold also falls over.
So yeah, that's what i've nailed it down to, but, cant seem to get any further? I dont like the idea of running this without memcached :S
|
|
|
Seems even wierder, as, first time i connect to it i do "get /" and it gives me back the 400 bad req, then, going forward, it just hangs.
|
|
|
Trying both pushpool@kokade:~$ curl --user admin.testt --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' http://127.0.0.1:8336Enter host password for user 'admin.testt': [2011-07-03 16:47:7.632542] client host ::ffff:127.0.0.1 port 56792 connected curl: (52) Empty reply from server pushpool@kokade:~$ curl --user admin.testt --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' http://127.0.0.1:8337Enter host password for user 'admin.testt': ^C pushpool@kokade:~$ curl --user admin.testt --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' http://127.0.0.1:8337Enter host password for user 'admin.testt': This is the output from local, it just hangs when I connect to 8337, locally or remote. kokade:/etc# ps -ef | grep mem root 9428 8347 0 18:48 pts/1 00:00:00 grep mem nobody 20417 1 0 02:12 ? 00:00:01 /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1 memcached is running, and I can access it on the port written in the conf (11211) kokade:/etc# telnet localhost 11211 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Also, the local namecoind RPC is working fine pushpool@kokade:~$ curl --user namecoind --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' http://127.0.0.1:8332Enter host password for user 'namecoind': {"result":{"version":32151,"balance":0.00000000,"blocks":15214,"connections":8,"proxy":"","generate":false,"genproclimit":-1,"difficulty":55882.45237847,"hashespersec":0,"testnet":false,"keypoololdest":1309711291,"paytxfee":0.00000000,"errors":""},"error":null,"id":"curltest"} Any more ideas? This is frustration!
|
|
|
What's going on, here, it just seems to hang when I request any work or connect to it
The debug messages arnt of much use either.
pushpool@kokade:~$ ./pushpoold -D=2 -E pushpool@kokade:~$ [2011-07-03 16:28:7.180078] Listening on host :: port 8336 [2011-07-03 16:28:7.180286] Listening on host :: port 8337 [2011-07-03 16:28:7.180352] Listening on host 127.0.0.1 port 8338 [2011-07-03 16:28:7.196675] initialized
1) I can telnet to port 8337, and do a GET request (get back a 400) - server.json configures 8337 to be the port. 2) namecoind (what im trying to set up a pool) is running - from the machine running pushpool, I can telnet to the right port (8332), and a "GET /" rightfully gives me 401 unauth. I've double checked the RPC password's are correct.
When I try to set a miner, to connect to the server, on potr 8337, it seems to connect and do nothing.
Any ideas? Or any ideas where I can get more verbose output? Also, the postgres to select user/password seems correct in json.
|
|
|
no irc clients means no irssi screens right?
|
|
|
oops, true this. I thought it was to do with endian.h - which seems to exist and be included. Mucho apologies. doing the fix mentioned earlier (some macro + another include) seems to have made it compile, but, not tested it out yet. For reference, also on Lenny debian. kokade:~/bc/pushpool-0.5.1# cat /proc/version Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) ( dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jan 25 05:59:43 UTC 2011
|
|
|
Hey
trying to compile pushpoold on 64bit debian
kokade:~/bc/pushpool-0.5.1# make make all-am make[1]: Entering directory `/root/bc/pushpool-0.5.1' gcc -O2 -Wall -g -I/usr/local/include -pthread -L/usr/local/lib -o pushpoold hist.o htab.o anet.o config.o msg.o server.o util.o db-sqlite.o db-mysql.o db-postgresql.o -lcurl -levent -lpthread -ljansson -lcrypto -lz -lmemcached -L/usr/lib -lpq msg.o: In function `cli_op_work_get': /root/bc/pushpool-0.5.1/msg.c:562: undefined reference to `htole32' server.o: In function `cjson_decode': /root/bc/pushpool-0.5.1/server.c:167: undefined reference to `le32toh' server.o: In function `cli_send_hdronly': /root/bc/pushpool-0.5.1/server.c:328: undefined reference to `htole32' server.o: In function `cjson_encode': /root/bc/pushpool-0.5.1/server.c:231: undefined reference to `htole32' /root/bc/pushpool-0.5.1/server.c:234: undefined reference to `htole32' server.o: In function `cli_read_hdr': /root/bc/pushpool-0.5.1/server.c:468: undefined reference to `le32toh' collect2: ld returned 1 exit status make[1]: *** [pushpoold] Error 1 make[1]: Leaving directory `/root/bc/pushpool-0.5.1' make: *** [all] Error 2 kokade:~/bc/pushpool-0.5.1#
Any ideas? endian.h exists, is it to do with it being 64bit arch?
|
|
|
Hey dude
whats your rough price?
and 170/a month @ 415 - eletric costs is more than i make from 700 without electric costs soo ~~ but anyone, interested in card - not got any price in mind at all?
|
|
|
Please full specs on the 4 card setup, and also what's rough shipping cost to UK (if possible)
|
|
|
yes was installed, this is fixed now - ty to tortib on irc.
|
|
|
Hi guys, wondering if someone could be as kind as to help me poclbm only detects the CPU (not the cards - 2 x 6950's) here's some outputs/logs: andrew@sky:~/bc$ python poclbm.py No protocol specified No device specified or device not found, use -d to specify one of the following - AMD Sempron(tm) 140 Processor
andrew@sky:~/bc$ sudo aticonfig --list-adapters * 0. 01:00.0 AMD Radeon HD 6900 Series 1. 02:00.0 AMD Radeon HD 6900 Series * - Default adapter andrew@sky:~/bc$ lspci .... 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control 01:00.0 VGA compatible controller: ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series] 01:00.1 Audio device: ATI Technologies Inc Device aa80 02:00.0 VGA compatible controller: ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series] 02:00.1 Audio device: ATI Technologies Inc Device aa80 .... andrew@sky:~/bc$ lsmod | grep fglr fglrx 2490187 120 andrew@sky:~/bc$ dmesg | grep fglr [ 9.542661] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel. [ 10.107514] [fglrx] Maximum main memory to use for locked dma buffers: 1884 MBytes. [ 10.107587] [fglrx] vendor: 1002 device: 6719 count: 1 [ 10.107590] [fglrx] vendor: 1002 device: 6719 count: 2 [ 10.107849] [fglrx] ioport: bar 4, base 0xc000, size: 0x100 [ 10.107900] [fglrx] ioport: bar 4, base 0xd000, size: 0x100 [ 10.108326] [fglrx] Kernel PAT support is enabled [ 10.108347] [fglrx] module loaded - fglrx 8.86.5 [May 24 2011] with 2 minors [ 11.875173] fglrx_pci 0000:01:00.0: irq 49 for MSI/MSI-X [ 11.875672] [fglrx] Firegl kernel thread PID: 1118 [ 11.875706] [fglrx] Firegl kernel thread PID: 1119 [ 11.875739] [fglrx] Firegl kernel thread PID: 1120 [ 11.876016] [fglrx] IRQ 49 Enabled [ 12.443914] fglrx_pci 0000:02:00.0: irq 50 for MSI/MSI-X [ 12.444486] [fglrx] Firegl kernel thread PID: 1122 [ 12.444521] [fglrx] Firegl kernel thread PID: 1123 [ 12.444554] [fglrx] Firegl kernel thread PID: 1124 [ 12.444973] [fglrx] IRQ 50 Enabled [ 12.660510] [fglrx] Gart USWC size:628 M. [ 12.660513] [fglrx] Gart cacheable size:247 M. [ 12.660517] [fglrx] Reserved FB block: Shared offset:0, size:1000000 [ 12.660520] [fglrx] Reserved FB block: Unshared offset:fb07000, size:1f9000 [ 12.660522] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000 [ 12.967517] [fglrx] Gart USWC size:628 M. [ 12.967520] [fglrx] Gart cacheable size:247 M. [ 12.967525] [fglrx] Reserved FB block: Shared offset:0, size:1000000 [ 12.967527] [fglrx] Reserved FB block: Unshared offset:fb07000, size:1f9000 [ 12.967529] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000 andrew@sky:~/bc$ fglrxinfo No protocol specified Error: unable to open display (null) andrew@sky:~/bc$ andrew@sky:~/bc$ tail -n6 ~/.bashrc fi export AMDAPPSDKSAMPLESROOT=/home/andrew/AMD-APP-SDK-v2.4-lnx32/ export LD_LIBRARY_PATH=${AMDAPPSDKROOT}lib/x86:${LD_LIBRARY_PATH} export AMDAPPSDKROOT=/home/andrew/AMD-APP-SDK-v2.4-lnx32/ export ATISTREAMSDKROOT=/home/andrew/AMD-APP-SDK-v2.4-lnx32/ export LIBRARY_PATH=$LIBRARY_PATH:$ATISTREAMSDKROOT/lib/x86/ I'll ship 1 BTC to whoever gives me the solution, and yes, X is running and I did do aticonfig --adapters=all initial + reboot. *hopeful*
|
|
|
Fair enough, it depends what the op ones.
$20 equates to at most 1hour work for a coder,
I see this project as:
-> Install monitoring software on each of the mining rigs + add conf for miner specific stats, write docs so op can do it himself going forward -> design management website, with admin console to add / remove new miners (prob also install/conf nginx or apache) --> user account has access to X rigs stats, controlled by admin which rigs --> user account has account stats, controlled by admin again ->admin interface, controlling above. -> website design itself (imgs/css etc boring stuff)
I dont think it can be achived in 1 hour, i'd say it's a good couple days work, that was my logic behind my quote.
I think it depends what kind of solution op wants.
|
|
|
Assuming your mining rigs are running some *NIX derivative (Linux or BSD), and, as is your webserver, i'll write this for 30BTC.
PM me for refs, I am experienced etc.
|
|
|
I for one, am getting sick of people, posting on threads in the market, to which they have no interest of buying the product, just to flame the op, and trash the thread.
Let the people sell them for whatever they want, in their own threads.
If you've got something to wine about, make your own thread.
|
|
|
Is this card even unlockable? I bought some 6950's last week, 2 of, from a UK store - neither were unlockable.
Even with unlock, 432MH/s is pretty unattainable, esp if you have air cooling or more than 1 in a box or a closed case.
Maybe you have some screen caps of it running at 432MH/s and unlocked GPUz cap?
|
|
|
IBM eServers x366
do these have PCIe slots? you mention good for mining, also, do they come with any HDs?
|
|
|
|