Bitcoin Forum
December 04, 2016, 10:25:33 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 [6] 7 »  All
  Print  
Author Topic: [ANNOUNCE] Poolserverj WORKMAKER EDITION RELEASED - 0.4.0rc1  (Read 16203 times)
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 04, 2011, 07:24:45 AM
 #101

Shadders?  You still around?  Just asking I haven't seen you in a minute, I hope all is well.
1480847133
Hero Member
*
Offline Offline

Posts: 1480847133

View Profile Personal Message (Offline)

Ignore
1480847133
Reply with quote  #2

1480847133
Report to moderator
1480847133
Hero Member
*
Offline Offline

Posts: 1480847133

View Profile Personal Message (Offline)

Ignore
1480847133
Reply with quote  #2

1480847133
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480847133
Hero Member
*
Offline Offline

Posts: 1480847133

View Profile Personal Message (Offline)

Ignore
1480847133
Reply with quote  #2

1480847133
Report to moderator
1480847133
Hero Member
*
Offline Offline

Posts: 1480847133

View Profile Personal Message (Offline)

Ignore
1480847133
Reply with quote  #2

1480847133
Report to moderator
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 08, 2011, 07:15:15 PM
 #102

Shadders if you are busy and can't help let me know I understand.

But if you have the time can you help me with a problem I am having?

Currently PSJ on a Amazon Large server is stalling and not responding during a LP and getting large numbers of partial shares.   Below is the screen window where it slows down and does not respond to miners request for work.


Code:
[18:42:57.512] 31 shares in 10.816 seconds. Current hashRate: 11.464 GH/s
[18:42:57.513] Submit Throttling on: false
[18:42:57.513] Doing database flush for Shares: 31
[18:42:57.574] Flushed 31 shares to DB in 61.0ms (508/sec)
[18:42:57.580] TRACE[blockmon] Found partial block match.  Matches: [namecoin]. this: pseudo: 189042. lcd: 16725. lud: 16724. synced: true{bitcoin=[156657. lcd: 16725. lud: 16725], namecoin=[32385. lcd: 17162. lud: 16724]} other: pseudo: 189041. lcd: 1323369777581. lud: 1323369777581. synced: true{bitcoin=[156656. lcd: 310972. lud: 17161], namecoin=[32385. lcd: 17163. lud: 17161]}
[18:43:00.776] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 19921. lud: 19920. synced: true{bitcoin=[156657. lcd: 19921. lud: 19921], namecoin=[32385. lcd: 20358. lud: 19920]} other: pseudo: 189040. lcd: 1323369780777. lud: 1323369780777. synced: true{bitcoin=[156656. lcd: 314168. lud: 96294], namecoin=[32384. lcd: 96295. lud: 96294]}
[18:43:00.997] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 20142. lud: 20141. synced: true{bitcoin=[156657. lcd: 20142. lud: 20142], namecoin=[32385. lcd: 20579. lud: 20141]} other: pseudo: 189040. lcd: 1323369780998. lud: 1323369780998. synced: true{bitcoin=[156656. lcd: 314389. lud: 96515], namecoin=[32384. lcd: 96516. lud: 96515]}
[18:43:03.384] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 22529. lud: 22528. synced: true{bitcoin=[156657. lcd: 22529. lud: 22529], namecoin=[32385. lcd: 22966. lud: 22528]} other: pseudo: 189040. lcd: 1323369783385. lud: 1323369783385. synced: true{bitcoin=[156656. lcd: 316776. lud: 98902], namecoin=[32384. lcd: 98903. lud: 98902]}
[18:43:04.188] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 23333. lud: 23332. synced: true{bitcoin=[156657. lcd: 23333. lud: 23333], namecoin=[32385. lcd: 23770. lud: 23332]} other: pseudo: 189040. lcd: 1323369784189. lud: 1323369784189. synced: true{bitcoin=[156656. lcd: 317580. lud: 99706], namecoin=[32384. lcd: 99707. lud: 99706]}
[18:43:04.945] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 24090. lud: 24089. synced: true{bitcoin=[156657. lcd: 24090. lud: 24090], namecoin=[32385. lcd: 24527. lud: 24089]} other: pseudo: 189040. lcd: 1323369784946. lud: 1323369784946. synced: true{bitcoin=[156656. lcd: 318337. lud: 100463], namecoin=[32384. lcd: 100464. lud: 100463]}
[18:43:06.003] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 25147. lud: 25146. synced: true{bitcoin=[156657. lcd: 25148. lud: 25148], namecoin=[32385. lcd: 25585. lud: 25147]} other: pseudo: 189040. lcd: 1323369786004. lud: 1323369786004. synced: true{bitcoin=[156656. lcd: 319395. lud: 101521], namecoin=[32384. lcd: 101522. lud: 101521]}
[18:43:06.142] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 25287. lud: 25286. synced: true{bitcoin=[156657. lcd: 25287. lud: 25287], namecoin=[32385. lcd: 25724. lud: 25286]} other: pseudo: 189040. lcd: 1323369786143. lud: 1323369786143. synced: true{bitcoin=[156656. lcd: 319534. lud: 101660], namecoin=[32384. lcd: 101661. lud: 101660]}
[18:43:06.311] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 25456. lud: 25455. synced: true{bitcoin=[156657. lcd: 25456. lud: 25456], namecoin=[32385. lcd: 25893. lud: 25455]} other: pseudo: 189040. lcd: 1323369786312. lud: 1323369786312. synced: true{bitcoin=[156656. lcd: 319703. lud: 101829], namecoin=[32384. lcd: 101830. lud: 101829]}
[18:43:07.419] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 26564. lud: 26563. synced: true{bitcoin=[156657. lcd: 26564. lud: 26564], namecoin=[32385. lcd: 27001. lud: 26563]} other: pseudo: 189040. lcd: 1323369787420. lud: 1323369787420. synced: true{bitcoin=[156656. lcd: 320811. lud: 102937], namecoin=[32384. lcd: 102938. lud: 102937]}
[18:43:07.920] 10 shares in 10.408 seconds. Current hashRate: 3.843 GH/s
[18:43:07.920] Submit Throttling on: false
[18:43:07.920] Doing database flush for Shares: 10
[18:43:07.939] Flushed 10 shares to DB in 19.0ms (526/sec)
[18:43:10.015] TRACE[blockmon] Found partial block match.  Matches: []. this: pseudo: 189042. lcd: 29160. lud: 29159. synced: true{bitcoin=[156657. lcd: 29160. lud: 29160], namecoin=[32385. lcd: 29597. lud: 29159]} other: pseudo: 189040. lcd: 1323369790016. lud: 1323369790016. synced: true{bitcoin=[156656. lcd: 323407. lud: 105533], namecoin=[32384. lcd: 105534. lud: 105533]}

If you need more info or are too busy to help let me know.

Cheers

Davinci
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 08, 2011, 08:56:25 PM
 #103

I think he's busy with real life, he hasnt responded to my PM's last time online was 2 days ago...
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 08, 2011, 10:23:51 PM
 #104

I think he's busy with real life, he hasnt responded to my PM's last time online was 2 days ago...

Yeah, he probably has a lot going on it's not like him to disappear.
shads
Full Member
***
Offline Offline

Activity: 224


View Profile WWW
December 09, 2011, 12:56:48 AM
 #105

Hi All,

Apologies for going AWOL for such a long time.  I've had quite a few major personal matters to attend to and have barely been online.  My last online date is probably deceiving as I have a tab permanently open so it refreshes whenever my browser starts...

It will probably be another couple of weeks before I can get refocussed on bitcoinworld again but I'm hoping to spend some serious time over the xmas break working out all the kinks in psj.  In the meantime if you have any issues please collect as much log info as you can and I'll look at it when I'm back on deck.

On an unrelated note in a couple of weeks I'm going to be unemployed and looking for some new projects to take on.  Be interested to hear from anyone that's looking for a dev partner for commercial bitcoin projects. 

PoolServerJ Home Page - High performance java mining pool engine

1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq - http://payb.tc/shads

Quote from: Matthew N. Wright
Stop wasting the internet.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 09, 2011, 02:21:58 AM
 #106

Hi All,

Apologies for going AWOL for such a long time.  I've had quite a few major personal matters to attend to and have barely been online.  My last online date is probably deceiving as I have a tab permanently open so it refreshes whenever my browser starts...

It will probably be another couple of weeks before I can get refocussed on bitcoinworld again but I'm hoping to spend some serious time over the xmas break working out all the kinks in psj.  In the meantime if you have any issues please collect as much log info as you can and I'll look at it when I'm back on deck.

On an unrelated note in a couple of weeks I'm going to be unemployed and looking for some new projects to take on.  Be interested to hear from anyone that's looking for a dev partner for commercial bitcoin projects. 
Well I am glad to hear from you, I hope all of your problems will be solved and you are able to find employment in the bitcoin community your skills will help to  add value to bitcoins.

Thanks for all your work and effort to date and I look forward to helping you fix up PSJ 0.4 for final release.

Cheers

Davinci

cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 09, 2011, 01:41:21 PM
 #107

Davinci: what Namecoind did you end up using for your merged mining pool?
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 09, 2011, 02:23:38 PM
 #108

Davinci: what Namecoind did you end up using for your merged mining pool?
Still using the same one I am making adjustments to PSJ to see if I can keep it from collapsing.

I've been using ArtFroz Nov 11th version with workmaker and the suggested patches all this time.  It's still collapsing from time to time but now for the first time yesterday bitcoind has collapsed.

I tried upgrading to a large server on Amazon for several days and that's when bitcoind would randomly collapse and same with PSJ.

Now that I have moved back to micro server, PSJ and Bitcoind have been solid but namecoind is collapsing randomly.

I am not messing with PSJ settings to see if I can fix it.

Are you seeing the same issue?
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 09, 2011, 03:19:32 PM
 #109

Don't have a problem with Namecoin, when they officially released Bitcoind 0.50 and I changed over to that the segmentation faults stopped


What patches are you using on the ArtForz fork?
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
December 09, 2011, 03:22:55 PM
 #110

Don't have a problem with Namecoin, when they officially released Bitcoind 0.50 and I changed over to that the segmentation faults stopped


What patches are you using on the ArtForz fork?

I have not switched to bitcoind 5 maybe I should switch.

Yes I am using ArtFroz fork.
maxcarjuzaa
Full Member
***
Offline Offline

Activity: 179


View Profile
May 12, 2012, 05:23:35 PM
 #111

Trying to make this work with litecoin I am getting the floowong message. What do I have to do to make it work?

Thank you!
Max

Args - [2]: start ../conf-samples/local-daemon-mm.properties
PoolServerJ Service Starting Sat May 12 14:10:52 ART 2012
[14:11:00.745] Starting PoolServerJ v0.4.0-WM-b233-c-d5e730c5756c
[14:11:00.785] user.dir: /home/max/poolserverj-0.4.0rc2/bin
[14:11:00.794] Home path set to: /home/max/poolserverj-0.4.0rc2/bin/poolserverj.jar
[14:11:00.798] Home directory set from jar file location to: /home/max/poolserverj-0.4.0rc2
[14:11:00.890] Sever is set to testnet: false
[14:11:01.167] Adding donation target: chainName: namecoin donationAmount: 0.3 calc method: [% of total] addressUrl: http://poolserverj.org/meta/donations/ address: NFja75nNRHZYKtN9YQ6wHPQdmhzBEAmTAt
[14:11:01.185] Adding donation target: chainName: bitcoin donationAmount: 0.3 calc method: [% of total] addressUrl: http://poolserverj.org/meta/donations/ address: 1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq
[14:11:01.488] Wrote PID: 8219 to pidFile: /home/max/poolserverj-0.4.0rc2/tmp/poolserverj.pid
[14:11:02.878] Connecting to DB URL: jdbc:mysql://localhost:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[14:11:06.383] Mapped parameter 1 to field 1 (remote_host)
[14:11:06.401] Mapped parameter 2 to field 2 (username)
[14:11:06.419] Mapped parameter 3 to field 3 (our_result)
[14:11:06.422] Mapped parameter 4 to field 4 (upstream_result)
[14:11:06.461] Mapped parameter 5 to field 5 (reason)
[14:11:06.481] Mapped parameter 6 to field 7 (time)
[14:11:06.497] Mapped parameter 7 to field 8 (source)
[14:11:06.515] Mapped parameter 8 to field 9 (block_num)
[14:11:06.530] Mapped parameter 9 to field 11 (useragent)
[14:11:06.555] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[14:11:06.577] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
[14:11:07.027] Invalid payout address: LfR2QVzz5T7hcffbx6ZX5TL3e44HGV9Lth
com.google.bitcoin.core.AddressFormatException: Mismatched version number, trying to cross networks? 48 vs 0
   at com.google.bitcoin.core.Address.<init>(Address.java:57)
   at com.shadworld.poolserver.conf.Conf.configureSources(Conf.java:642)
   at com.shadworld.poolserver.conf.Conf.update(Conf.java:282)
   at com.shadworld.poolserver.conf.Conf.init(Conf.java:190)
   at com.shadworld.poolserver.conf.Conf.init(Conf.java:176)
   at com.shadworld.poolserver.PoolServer.<init>(PoolServer.java:114)
   at com.shadworld.poolserver.servicelauncher.PoolServerService.start(PoolServerService.java:98)
   at com.shadworld.poolserver.servicelauncher.PoolServerService.windowsService(PoolServerService.java:58)
   at com.shadworld.poolserver.servicelauncher.PoolServerService.main(PoolServerService.java:28)
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
June 11, 2012, 09:48:29 PM
 #112

It does not work with litecoin
Vyacheslav
Member
**
Offline Offline

Activity: 81



View Profile
December 21, 2012, 07:42:49 PM
 #113

Guys, help me, please.
I have a problem with poolserverj:

Code:
Args - [2]: start ../conf/config.cfg
PoolServerJ Service Starting Fri Dec 21 23:31:37 MSK 2012
[23:31:39.367] user.dir: /home/douson/general/poolserverj/bin
[23:31:39.369] Home path set to: /home/douson/general/poolserverj/bin/poolserverj.jar
[23:31:39.369] Home directory set from jar file location to: /home/douson/general/poolserverj
[23:31:39.512] Wrote PID: 19083 to pidFile: /home/douson/general/poolserverj/tmp/poolserverj.pid
[23:31:39.830] Connecting to DB URL: jdbc:mysql://localhost:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[23:31:40.723] Mapped parameter 1 to field 1 (remote_host)
[23:31:40.723] Mapped parameter 2 to field 2 (username)
[23:31:40.723] Mapped parameter 3 to field 3 (our_result)
[23:31:40.724] Mapped parameter 4 to field 4 (upstream_result)
[23:31:40.724] Mapped parameter 5 to field 5 (reason)
[23:31:40.724] Mapped parameter 6 to field 7 (time)
[23:31:40.724] Mapped parameter 7 to field 8 (source)
[23:31:40.724] Mapped parameter 8 to field 9 (block_num)
[23:31:40.724] Mapped parameter 9 to field 11 (useragent)
[23:31:40.726] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[23:31:40.728] Building Worker-authentication-engine: AnyPasswordWorkerAuthenticator.class with extraParams: [true,false]
Failed to start
java.lang.NullPointerException
at com.google.bitcoin.core.Base58.decodeToBigInteger(Base58.java:81)
at com.google.bitcoin.core.Base58.decode(Base58.java:61)
at com.google.bitcoin.core.Base58.decodeChecked(Base58.java:98)
at com.google.bitcoin.core.VersionedChecksummedBytes.<init>(VersionedChecksummedBytes.java:34)
at com.google.bitcoin.core.Address.<init>(Address.java:55)
at com.shadworld.poolserver.conf.Conf.configureSources(Conf.java:596)
at com.shadworld.poolserver.conf.Conf.update(Conf.java:279)
at com.shadworld.poolserver.conf.Conf.init(Conf.java:189)
at com.shadworld.poolserver.conf.Conf.init(Conf.java:175)
at com.shadworld.poolserver.PoolServer.<init>(PoolServer.java:114)
at com.shadworld.poolserver.servicelauncher.PoolServerService.start(PoolServerService.java:98)
at com.shadworld.poolserver.servicelauncher.PoolServerService.windowsService(PoolServerService.java:58)
at com.shadworld.poolserver.servicelauncher.PoolServerService.main(PoolServerService.java:28)
PoolServerJ Service Finished Fri Dec 21 23:31:40 MSK 2012

Where to look for a solution? How to run poolserverJ?

The command to start:
Code:
java -classpath poolserverj.jar:../lib/*:../lib/lib_non-maven/*:../lib/plugins com.shadworld.poolserver.servicelauncher.PoolServerService start ../conf/config.cfg
Vyacheslav
Member
**
Offline Offline

Activity: 81



View Profile
December 22, 2012, 08:19:03 PM
 #114

Now that's a mistake, after setting up the configuration file.  Huh  Huh  Huh Cry  Cry

Code:
Args - [2]: start ../conf/config.cfg
PoolServerJ Service Starting Sun Dec 23 00:16:24 MSK 2012
[24:16:25.065] user.dir: /home/douson/general/poolserverj/bin
[24:16:25.066] Home path set to: /home/douson/general/poolserverj/bin/poolserverj.jar
[24:16:25.067] Home directory set from jar file location to: /home/douson/general/poolserverj
[24:16:25.094] Wrote PID: 3934 to pidFile: /home/douson/general/poolserverj/tmp/poolserverj.pid
[24:16:25.185] Connecting to DB URL: jdbc:mysql://localhost:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[24:16:25.551] Mapped parameter 1 to field 1 (remote_host)
[24:16:25.552] Mapped parameter 2 to field 2 (username)
[24:16:25.552] Mapped parameter 3 to field 3 (our_result)
[24:16:25.552] Mapped parameter 4 to field 4 (upstream_result)
[24:16:25.552] Mapped parameter 5 to field 5 (reason)
[24:16:25.552] Mapped parameter 6 to field 7 (time)
[24:16:25.553] Mapped parameter 7 to field 8 (source)
[24:16:25.553] Mapped parameter 8 to field 9 (block_num)
[24:16:25.553] Mapped parameter 9 to field 11 (useragent)
[24:16:25.555] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[24:16:25.556] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
1090 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
1167 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
1332 [main] WARN org.eclipse.jetty.util.log - FAILED SelectChannelConnector@0.0.0.0:8332 FAILED: java.net.BindException: Address already in use
1332 [main] WARN org.eclipse.jetty.util.log - FAILED org.eclipse.jetty.server.Server@48ea48be: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:172)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:304)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:250)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.server.Server.doStart(Server.java:264)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at com.shadworld.poolserver.PoolServer.startHttpListenersWithServlets(PoolServer.java:550)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:257)
at com.shadworld.poolserver.servicelauncher.PoolServerService.start(PoolServerService.java:99)
at com.shadworld.poolserver.servicelauncher.PoolServerService.windowsService(PoolServerService.java:58)
at com.shadworld.poolserver.servicelauncher.PoolServerService.main(PoolServerService.java:28)
[24:16:26.008] Shutting down poolserver...
[24:16:26.008] Flushing cached shares...
[24:16:26.009] Flush shares cache complete...
[24:16:26.009] Waiting to complete upstream share submits...
[24:16:26.012] Finished upstream submits...
[24:16:26.012] Flushing final shares...
[24:16:26.012] All share submits flushed...
[24:16:26.012] Waiting for threads to die...
[24:16:26.013] 0 shares in 1 356 207 360 seconds. Current hashRate: 0 GH/s
[24:16:26.013] Submit Throttling on: false
[24:16:26.015] Dumping workmap to file: /home/douson/general/poolserverj/tmp/workmap-8332.bin
1347 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown SelectChannelConnector@0.0.0.0:8332 FAILED
1351 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown o.e.j.s.ServletContextHandler{/,null}
[24:16:26.306] Shutting down Web Server...
[24:16:26.409] Closed 0 longpoll connections in 1ms
6353 [Thread-0] INFO org.eclipse.jetty.util.log - stopped o.e.j.s.ServletContextHandler{/,null}
[24:16:31.078] Shutdown complete...

Help, please!!!!!!!!!!
Pontius
Full Member
***
Offline Offline

Activity: 225


View Profile
December 23, 2012, 03:56:09 PM
 #115

Quote
[...]
1332 [main] WARN org.eclipse.jetty.util.log - FAILED SelectChannelConnector@0.0.0.0:8332 FAILED: java.net.BindException: Address already in use
1332 [main] WARN org.eclipse.jetty.util.log - FAILED org.eclipse.jetty.server.Server@48ea48be: java.net.BindException: Address already in use
java.net.BindException: Address already in use
[...]

Some other process (probably 'bitcoind') is already listening to 0.0.0.0:8332. Reconfigure either bitcoind or psj to a different port...
Vyacheslav
Member
**
Offline Offline

Activity: 81



View Profile
December 23, 2012, 05:29:01 PM
 #116

Fixed port, and came running lines:
Code:
Args - [2]: start ../conf/config.cfg
PoolServerJ Service Starting Sun Dec 23 21:26:45 MSK 2012
[21:26:45.974] Starting PoolServerJ v0.4.0-WM-b233-c-d5e730c5756c
[21:26:45.975] user.dir: /home/douson/general/poolserverj/bin
[21:26:45.975] Home path set to: /home/douson/general/poolserverj/bin/poolserverj.jar
[21:26:45.975] Home directory set from jar file location to: /home/douson/general/poolserverj
[21:26:45.981] Sever is set to testnet: false
[21:26:46.000] Wrote PID: 3711 to pidFile: /home/douson/general/poolserverj/tmp/poolserverj.pid
[21:26:46.090] Connecting to DB URL: jdbc:mysql://localhost:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[21:26:46.455] Mapped parameter 1 to field 1 (remote_host)
[21:26:46.456] Mapped parameter 2 to field 2 (username)
[21:26:46.456] Mapped parameter 3 to field 3 (our_result)
[21:26:46.456] Mapped parameter 4 to field 4 (upstream_result)
[21:26:46.456] Mapped parameter 5 to field 5 (reason)
[21:26:46.456] Mapped parameter 6 to field 7 (time)
[21:26:46.457] Mapped parameter 7 to field 8 (source)
[21:26:46.457] Mapped parameter 8 to field 9 (block_num)
[21:26:46.457] Mapped parameter 9 to field 11 (useragent)
[21:26:46.460] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[21:26:46.461] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
1070 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
1235 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
1258 [main] WARN org.eclipse.jetty.util.log - FAILED SelectChannelConnector@0.0.0.0:8337 FAILED: java.net.BindException: Address already in use
1259 [main] WARN org.eclipse.jetty.util.log - FAILED org.eclipse.jetty.server.Server@7cbe41ec: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:172)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:304)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:250)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.server.Server.doStart(Server.java:264)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at com.shadworld.poolserver.PoolServer.startHttpListenersWithServlets(PoolServer.java:550)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:257)
at com.shadworld.poolserver.servicelauncher.PoolServerService.start(PoolServerService.java:99)
at com.shadworld.poolserver.servicelauncher.PoolServerService.windowsService(PoolServerService.java:58)
at com.shadworld.poolserver.servicelauncher.PoolServerService.main(PoolServerService.java:28)
1264 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown SelectChannelConnector@0.0.0.0:8337 FAILED
1265 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown o.e.j.s.ServletContextHandler{/,null}
[21:26:46.827] Shutting down poolserver...
[21:26:46.827] Flushing cached shares...
[21:26:46.827] Flush shares cache complete...
[21:26:46.828] Waiting to complete upstream share submits...
[21:26:46.828] Finished upstream submits...
[21:26:46.828] Flushing final shares...
[21:26:46.829] 0 shares in 1 356 283 648 seconds. Current hashRate: 0 GH/s
[21:26:46.829] Submit Throttling on: false
[21:26:46.830] All share submits flushed...
[21:26:46.830] Waiting for threads to die...
[21:26:46.831] This error may indicate your bitcoin daemon was not contactable. Check it is running and you have entered the correct host:port for the bitcoin protocol interface NOT the json-rpc interface.
java.lang.NullPointerException
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.shutdown(BitcoinDualConnection.java:133)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.shutdown(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:146)
at com.shadworld.poolserver.source.WorkSource.shutdown(WorkSource.java:190)
at com.shadworld.poolserver.WorkProxy.shutdown(WorkProxy.java:923)
at com.shadworld.poolserver.PoolServer.shutdown(PoolServer.java:620)
at com.shadworld.poolserver.PoolServer$1.run(PoolServer.java:252)
[21:26:46.833] This error may indicate your bitcoin daemon was not contactable. Check it is running and you have entered the correct host:port for the bitcoin protocol interface NOT the json-rpc interface.
java.lang.NullPointerException
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.shutdown(BitcoinDualConnection.java:141)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.shutdown(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:146)
at com.shadworld.poolserver.source.WorkSource.shutdown(WorkSource.java:190)
at com.shadworld.poolserver.WorkProxy.shutdown(WorkProxy.java:923)
at com.shadworld.poolserver.PoolServer.shutdown(PoolServer.java:620)
at com.shadworld.poolserver.PoolServer$1.run(PoolServer.java:252)
[21:26:46.835] Dumping workmap to file: /home/douson/general/poolserverj/tmp/workmap-8337.bin
[21:26:47.149] Shutting down Web Server...
[21:26:47.251] Closed 0 longpoll connections in 1ms
6267 [Thread-0] INFO org.eclipse.jetty.util.log - stopped o.e.j.s.ServletContextHandler{/,null}
[21:26:51.880] Shutdown complete...



I enter my username and password, click
Code:
http://127.0.0.1:8337/?method=fireblockchange

Result
Code:
{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}


What am I doing wrong?
 Huh Huh

and Can I get a working config file???
Graet
VIP
Legendary
*
Offline Offline

Activity: 980



View Profile WWW
December 25, 2012, 04:58:40 AM
 #117

<quote>[21:26:46.833] This error may indicate your bitcoin daemon was not contactable. Check it is running and you have entered the correct host:port for the bitcoin protocol interface NOT the json-rpc interface.
java.lang.NullPointerException</quote>

you need to fix the port thing

which version of bitcoind are you using?

why are you trying to use old and unmaintained software?

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
Vyacheslav
Member
**
Offline Offline

Activity: 81



View Profile
December 25, 2012, 05:23:57 AM
 #118

Quote
why are you trying to use old and unmaintained software?
I would be very grateful for the best software. Tell me, please!

Quote
which version of bitcoind are you using?
OS: Scientific Linux
Bitcoind: I'm using version 0.7.2.
But, I read that this version does not work well without poolserverJ patch. It's true?

Quote
you need to fix the port thing
Tell me how to do it correctly?


Thank you very much for your help. Thanks in advance.
Graet
VIP
Legendary
*
Offline Offline

Activity: 980



View Profile WWW
December 25, 2012, 05:41:46 AM
 #119

Quote
why are you trying to use old and unmaintained software?
I would be very grateful for the best software. Tell me, please!

Quote
which version of bitcoind are you using?
OS: Scientific Linux
Bitcoind: I'm using version 0.7.2.
But, I read that this version does not work well without poolserverJ patch. It's true?

Quote
you need to fix the port thing
Tell me how to do it correctly?


Thank you very much for your help. Thanks in advance.
stratum is the best pool software at the moment IMO

there is a patch for poolserverj and 0.7.x? - sorry I wasn't aware of that, afaik no updates have been made to poolserverj for over a year

someone already explained how to fix the port issue

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
Vyacheslav
Member
**
Offline Offline

Activity: 81



View Profile
December 28, 2012, 07:45:58 AM
 #120

I started the server. There was one error now!

Code:
Retrieving worker from database: testuser
[11:28:17.550] Error attempting to retrieve user from database.
java.sql.SQLException: SQL String can not be NULL
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)


Create a user in the database:

Code:
INSERT INTO `pool_worker` (`username`, `password`) VALUES ('testuser', 'test');

In a database table:



What is the correct query to create a user? If my request is  not correct...
Pages: « 1 2 3 4 5 [6] 7 »  All
  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!