Trying to install Jminer on Ubuntu 16.04



  • Hi all,
    I have a new pc and I am not able to get Jminer running on it. I have a Geforce GT 1030 in it.

    I have attached the error log. Hope anyone can help.

    ./run.sh 
    19:31:39.531 [main] INFO burstcoin.jminer.JMinerApplication - Starting the engines ... please wait!
    2018-02-09 19:31:40.901  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    : -------------------------------------------------------
    2018-02-09 19:31:40.903  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    : List of system openCL platforms and devices (* = used for mining)
    2018-02-09 19:31:40.903  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    : 
    2018-02-09 19:31:40.906  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    :  * PLATFORM-[0] NVIDIA CUDA - (OpenCL 1.2 CUDA 9.0.282)
    2018-02-09 19:31:40.907  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    :  *   DEVICE-[0] GeForce GT 1030 (2GB) - NVIDIA Corporation (OpenCL 1.2 CUDA | '384.111')
    2018-02-09 19:31:40.908  INFO 2325 --- [           main] b.jminer.core.checker.util.OCLChecker    :  *          [0] work group size: '1024', computing units: '3', available 'true'
    2018-02-09 19:31:41.343  WARN 2325 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OCLChecker': Invocation of init method failed; nested exception is org.jocl.CLException: CL_OUT_OF_RESOURCES
    2018-02-09 19:31:41.356 ERROR 2325 --- [           main] o.s.boot.SpringApplication               : Application startup failed
    
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OCLChecker': Invocation of init method failed; nested exception is org.jocl.CLException: CL_OUT_OF_RESOURCES
    	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) ~[spring-boot-1.5.4.RELEASE.jar!/:1.5.4.RELEASE]
    	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) ~[spring-boot-1.5.4.RELEASE.jar!/:1.5.4.RELEASE]
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-1.5.4.RELEASE.jar!/:1.5.4.RELEASE]
    	at burstcoin.jminer.JMinerApplication.main(JMinerApplication.java:68) [classes!/:0.4.11-SNAPSHOT]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native Method) ~[na:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke([email protected]/NativeMethodAccessorImpl.java:62) ~[na:na]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke([email protected]/DelegatingMethodAccessorImpl.java:43) ~[na:na]
    	at java.lang.reflect.Method.invoke([email protected]/Method.java:531) ~[na:na]
    	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [burstcoin-jminer-0.4.11-SNAPSHOT.jar:0.4.11-SNAPSHOT]
    	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [burstcoin-jminer-0.4.11-SNAPSHOT.jar:0.4.11-SNAPSHOT]
    	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [burstcoin-jminer-0.4.11-SNAPSHOT.jar:0.4.11-SNAPSHOT]
    	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [burstcoin-jminer-0.4.11-SNAPSHOT.jar:0.4.11-SNAPSHOT]
    Caused by: org.jocl.CLException: CL_OUT_OF_RESOURCES
    	at org.jocl.CL.clBuildProgram(CL.java:11252) ~[jocl-2.0.0.jar!/:na]
    	at burstcoin.jminer.core.checker.util.OCLChecker.initChecker(OCLChecker.java:128) ~[classes!/:0.4.11-SNAPSHOT]
    	at burstcoin.jminer.core.checker.util.OCLChecker.postConstruct(OCLChecker.java:78) ~[classes!/:0.4.11-SNAPSHOT]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native Method) ~[na:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke([email protected]/NativeMethodAccessorImpl.java:62) ~[na:na]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke([email protected]/DelegatingMethodAccessorImpl.java:43) ~[na:na]
    	at java.lang.reflect.Method.invoke([email protected]/Method.java:531) ~[na:na]
    	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134) ~[spring-beans-4.3.9.RELEASE.jar!/:4.3.9.RELEASE]
    	... 23 common frames omitted
    


  • Found the issue.

    was a permission problem

    sudo ./run.sh works now



  • But now I have the next error. Jminer runs only for the first run. It does not continue with the next bock.
    Has anyone an idea?

    2018-02-10 10:30:45.980  INFO 8136 --- [   readerPool-1] burstcoin.jminer.JMinerCommandLine       : 1% done (0TB 81GB), avg.'76 MB/s'
    2018-02-10 10:30:46.026  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '522786227' > '103680000' skipped
    2018-02-10 10:30:46.127  INFO 8136 --- [TaskExecutor-22] burstcoin.jminer.JMinerCommandLine       : dl '5446941' confirmed!  [ 63d 1h 2m 21s ]
    2018-02-10 10:30:46.241  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '244707438' > '103680000' skipped
    2018-02-10 10:30:46.271  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '109657990' > '103680000' skipped
    2018-02-10 10:30:47.262  INFO 8136 --- [   readerPool-7] burstcoin.jminer.JMinerCommandLine       : stopped '/media/500gb' for block '456949'.
    2018-02-10 10:30:47.520  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '25651079' send (pool) [nonce '2476232']
    2018-02-10 10:30:48.200  INFO 8136 --- [   readerPool-1] burstcoin.jminer.JMinerCommandLine       : 12% done (6TB 595GB), avg.'649 MB/s', eff.'716 MB/s'
    2018-02-10 10:30:48.281  INFO 8136 --- [   readerPool-5] burstcoin.jminer.core.round.Round        : dl '26067915' queued
    2018-02-10 10:30:49.260  INFO 8136 --- [TaskExecutor-15] b.j.c.n.task.NetworkSubmitPoolNonceTask  : dl '1947727' not accepted by pool!
    2018-02-10 10:30:49.261  INFO 8136 --- [TaskExecutor-15] burstcoin.jminer.JMinerCommandLine       : dl '1947727' NOT confirmed!  [ 22d 13h 2m 7s ]
    2018-02-10 10:30:49.653  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '6876579' send (pool) [nonce '604555677']
    2018-02-10 10:30:49.849  INFO 8136 --- [TaskExecutor-20] burstcoin.jminer.JMinerCommandLine       : dl '11765477' confirmed!  [ 136d 4h 11m 17s ]
    2018-02-10 10:30:49.882  INFO 8136 --- [   readerPool-6] burstcoin.jminer.JMinerCommandLine       : read '/media/500gb' (0TB 528GB) in '4s 143ms'
    2018-02-10 10:30:50.154  INFO 8136 --- [   readerPool-3] burstcoin.jminer.JMinerCommandLine       : 23% done (13TB 223GB), avg.'728 MB/s', eff.'828 MB/s'
    2018-02-10 10:30:50.489  INFO 8136 --- [   readerPool-4] burstcoin.jminer.core.round.Round        : dl '22389945' queued
    2018-02-10 10:30:50.538  INFO 8136 --- [TaskExecutor-18] burstcoin.jminer.JMinerCommandLine       : dl '17159779' confirmed!  [ 198d 14h 36m 19s ]
    2018-02-10 10:30:51.737  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '3651609' send (pool) [nonce '310788634']
    2018-02-10 10:30:51.755  INFO 8136 --- [   readerPool-1] burstcoin.jminer.core.round.Round        : dl '22282389' queued
    2018-02-10 10:30:51.925  INFO 8136 --- [   readerPool-1] burstcoin.jminer.JMinerCommandLine       : 34% done (19TB 790GB), avg.'778 MB/s', eff.'905 MB/s'
    2018-02-10 10:30:53.217  INFO 8136 --- [   readerPool-4] burstcoin.jminer.core.round.Round        : dl '10015732' queued
    2018-02-10 10:30:53.818  INFO 8136 --- [   readerPool-4] burstcoin.jminer.JMinerCommandLine       : 45% done (26TB 432GB), avg.'797 MB/s', eff.'857 MB/s'
    2018-02-10 10:30:54.123  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : dl '2640073' send (pool) [nonce '613219602']
    2018-02-10 10:30:55.804  INFO 8136 --- [   readerPool-5] burstcoin.jminer.JMinerCommandLine       : 56% done (33TB 3GB), avg.'799 MB/s', eff.'807 MB/s'
    2018-02-10 10:30:55.977  INFO 8136 --- [   readerPool-4] burstcoin.jminer.JMinerCommandLine       : read '/media/5tb' (4TB 702GB) in '10s 115ms'
    2018-02-10 10:30:56.971  INFO 8136 --- [   readerPool-7] burstcoin.jminer.JMinerCommandLine       : read '/media/5tb-3' (4TB 947GB) in '9s 709ms'
    2018-02-10 10:30:57.207  INFO 8136 --- [   readerPool-2] burstcoin.jminer.JMinerCommandLine       : read '/media/5tb-2' (4TB 947GB) in '11s 278ms'
    2018-02-10 10:30:57.911  INFO 8136 --- [   readerPool-6] burstcoin.jminer.JMinerCommandLine       : 67% done (39TB 573GB), avg.'792 MB/s', eff.'761 MB/s'
    2018-02-10 10:30:58.235  INFO 8136 --- [   readerPool-6] burstcoin.jminer.core.round.Round        : dl '7351861' queued
    2018-02-10 10:30:58.590  INFO 8136 --- [TaskExecutor-30] burstcoin.jminer.JMinerCommandLine       : dl '6876579' confirmed!  [ 79d 14h 9m 39s ]
    2018-02-10 10:31:00.309  INFO 8136 --- [TaskExecutor-32] burstcoin.jminer.JMinerCommandLine       : dl '3651609' confirmed!  [ 42d 6h 20m 9s ]
    2018-02-10 10:31:00.324  INFO 8136 --- [   readerPool-1] burstcoin.jminer.JMinerCommandLine       : 78% done (46TB 206GB), avg.'772 MB/s', eff.'671 MB/s'
    2018-02-10 10:31:00.761  INFO 8136 --- [TaskExecutor-23] burstcoin.jminer.JMinerCommandLine       : dl '2922335' confirmed!  [ 33d 19h 45m 35s ]
    2018-02-10 10:31:01.477  INFO 8136 --- [   readerPool-1] burstcoin.jminer.JMinerCommandLine       : read '/media/8tb4' (7TB 846GB) in '15s 727ms'
    2018-02-10 10:31:01.936  INFO 8136 --- [   readerPool-3] burstcoin.jminer.JMinerCommandLine       : read '/media/8tb3' (7TB 846GB) in '16s 196ms'
    2018-02-10 10:31:01.968  INFO 8136 --- [   readerPool-5] burstcoin.jminer.JMinerCommandLine       : read '/media/8tb2' (7TB 846GB) in '16s 9ms'
    2018-02-10 10:31:02.951  INFO 8136 --- [TaskExecutor-34] burstcoin.jminer.JMinerCommandLine       : dl '2640073' confirmed!  [ 30d 13h 21m 13s ]
    2018-02-10 10:31:03.517  INFO 8136 --- [   readerPool-6] burstcoin.jminer.JMinerCommandLine       : 89% done (52TB 776GB), avg.'723 MB/s', eff.'502 MB/s'
    2018-02-10 10:31:04.487  INFO 8136 --- [   readerPool-6] burstcoin.jminer.JMinerCommandLine       : read '/media/8tb5' (7TB 846GB) in '14s 605ms'
    2018-02-10 10:31:06.665  INFO 8136 --- [   readerPool-4] burstcoin.jminer.JMinerCommandLine       : read '/media/5tb-4' (4TB 947GB) in '10s 688ms'
    2018-02-10 10:31:08.806  INFO 8136 --- [TaskExecutor-27] burstcoin.jminer.JMinerCommandLine       : dl '25651079' confirmed!  [ 296d 21h 17m 59s ]
    2018-02-10 10:31:10.942  INFO 8136 --- [   readerPool-7] burstcoin.jminer.JMinerCommandLine       : 100% done (59TB 322GB), avg.'574 MB/s', eff.'215 MB/s'
    2018-02-10 10:31:10.942  INFO 8136 --- [   readerPool-7] burstcoin.jminer.JMinerCommandLine       : read '/media/8tb' (7TB 859GB) in '13s 971ms'
    2018-02-10 10:31:11.193  INFO 8136 --- [    roundPool-1] burstcoin.jminer.JMinerCommandLine       : FINISH block '456950', best deadline '2640073', round time '25s 271ms'
    2018-02-10 10:31:31.537  WARN 8136 --- [TaskExecutor-21] b.j.c.n.t.NetworkRequestMiningInfoTask   : Unable to get mining info from wallet, caused by connectionTimeout, currently '50 sec.' try increasing it!
    


  • I have figured out that when I use only one plot it works. When I use all plot files it is not working only for the first run.

    I had the same setup with jminer 0.4.11 with my old pc and everything works fine. any ideas?