Pages:
Author

Topic: [ANNOUNCE] ecoinpool - A brand new pool mining software written in Erlang - page 2. (Read 28491 times)

newbie
Activity: 24
Merit: 0
I still can't get it to work with the suggested changes.  Is anyone interested in setting this up for a bounty.



If you want to give someone a bounty to fix your error, give it to maaku. He gave this solution, that worked for me and for slippsnapp:

Code:
{sub_dirs, ["apps/ecoinpool", "apps/ebitcoin", "rel"]}.

{deps, [
    {protobuffs, ".*", {git, "git://github.com/basho/erlang_protobuffs.git", "e0f5f6ea4c3dcb4e7b824496d2b48333fbd5a8c8"}},
    {ejson, ".*", {git, "git://github.com/benoitc/ejson.git", "820ff1725008e664293b88e13c16193857afc072"}},
    {oauth, ".*", {git, "git://github.com/refuge/erlang-oauth.git", "f332b77371d334d0faa13e106d0c36f948b325b6"}},
    {ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git", "eb8b62cf84ccae141700c8fd251277df8be27f28"}},
    {mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", "b7f3693a9008de6d31a67174f7184fe24093a1b4"}},
    {couchbeam, ".*", {git, "git://github.com/benoitc/couchbeam.git", "7148bbdb19aca91b7b74e5392a23c94d33ca4e27"}},
    {log4erl, ".*", {git, "git://github.com/SemanticSugar/log4erl.git", "ec580f75ef9e28dfcfac92dc0d42c435520bd3d7"}},
    {mysql, ".*", {git, "git://github.com/elbrujohalcon/erlang-mysql-driver.git", "1dd4e22a80546fa1bda81607d6397a549fd791ae"}},
    {epgsql, ".*", {git, "git://github.com/wg/epgsql.git", "fc434772276475ac4e5b0bed6b18ed4732502156"}}
]}.

Backup your test_launch.config, delete the whole ecoinpool directory, change the dependencies in rebar.config to the aboves, and run:
Code:
$ ./rebar get-deps && ./rebar compile
This error we were getting happens because of incompatible dependencies. It was getting the master branch of everything, and ecoinpool was designed almost an year ago, so maaku changed the dependencies of everything in his rebar.config to someday close to when ecoinpool was designed.
full member
Activity: 162
Merit: 100
I still can't get it to work with the suggested changes.  Is anyone interested in setting this up for a bounty.

full member
Activity: 140
Merit: 100
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
:~/ecoinpool$ ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


Can anyone help with this error.


this is my test_launch.config file just change the line's i have uncomment'ed to your setting's

Code:

% This is an example configuration file. Lists are denoted with [...] and tuples
% are denoted with {...}. Together they form a nested structure of names and
% parameters. If you make changes and add or remove options, make sure not to
% have a comma before a closing bracket or curly brace.

[
    % SASL is Erlang's internal error and crash logger; it also logs starting
    % and stopping of certain processes. I set it to "error" here so it won't
    % pollute stdout/stderr.
    {sasl, [
        {errlog_type, error}
    ]},
   
    % This is ecoinpool's main configuration. The CouchDB connection is
    % configured here.
    {ecoinpool, [
        % The following commented lines are default settings.
        {db_host, "127.0.0.1"},
        % {db_port, 5984},
        % {db_prefix, ""},
       
        % The next line should be changed, depending on your CouchDB
        % authentication settings: username password
        {db_options, [{basic_auth, {"admin", "adminpassword"}}]},
       
        % Here you can change ecoinpool's HTTP service port, currently used to
        % serve global RPC functions used by the frontend.
        % {service_port, 8080},
       
        % The last line in this section contains your blowfish secret key, share
        % this among your servers and don't tell it to anyone else. Minimum key
        % length is 4 bytes, maximum is 56 bytes.
        % If you have pwgen (a password generator), try "pwgen -s 56 1" to get
        % 56 random characters.
        {blowfish_secret, "1a2a3a4a5a"}
    ]},
   
    % This is the ebitcoin configuration. ebitcoin forms a separate application,
    % thus it doesn't share ecoinpool's database settings. If you use the same
    % CouchDB server and authentication, copy it from above.
    {ebitcoin, [
        % You can also disable ebitcoin altogether by uncommenting the following
        % line. Note that you will fall back to the polling system then.
        %{enabled, false},
       
        {db_host, "127.0.0.1"},
        % {db_port, 5984},
        % {db_prefix, ""},
        {db_options, [{basic_auth, {"admin", "adminpassword"}}]}
    ]},
   
    % The third separate application (it also has to be started separately) is
    % the MySQL Replicator. It is used to bridge legacy MySQL worker tables to
    % CouchDB and also stores copies of the shares into a MySQL table.
    {ecoinpool_mysql_replicator, [
        % Again, commented lines are default settings.
        {couchdb_host, "127.0.0.1"},
        %{couchdb_port, 5984},
        %{couchdb_prefix, ""},
        {couchdb_options, [{basic_auth, {"admin", "adminpassword"}}]},
        {couchdb_database, "ecoinpool"},
       
        %{mysql_host, "127.0.0.1"},
        %{mysql_port, 3306},
        %{mysql_prefix, ""},
        {mysql_options, [{auth, {"admin", "adminpassword"}}]},
        {mysql_database, "ecoinpool"},
       
        % This is a setting that certainly has to be changed. Configure one or
        % more worker table replicators here (if you have multiple sub-pools).
        % Please only connect one sub-pool to one table or things get jammed up.
        {replicator_configs, [
             %Format: {, , }
            {"24aa68ec6c910de0850ed0c575621ec9", "pool_worker", 15}
        ]},
       
        % Next is your blowfish secret key. Copy it from above.
        {blowfish_secret, "1a2a3a4a5a"},
       
        % And the last one, also to be likely changed, is the shares deployer
        % configuration. There are two possible formats here, one with and one
        % without using merged mining. The config ID is used as basename for
        % saving the deployment state file and for the "source" column.
        {share_deployer_configs, [
            % Non-MM Format: {, , , }
            {"ltc_test_shares", "ltc-test", "shares", 60},
            % MM Format: {,
, , , }
            {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60}
        ]}
    ]}
].

sr. member
Activity: 322
Merit: 250
He already has the solution, just did not post it here..  Grin
full member
Activity: 140
Merit: 100
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
:~/ecoinpool$ ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


Can anyone help with this error.


can you provide your test_launch.config file so i can help
full member
Activity: 162
Merit: 100
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
:~/ecoinpool$ ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


Can anyone help with this error.
sr. member
Activity: 322
Merit: 250
Still dont know which version of bitcoin is the correct one to run ecoinpool with.
\\\\\\\\\\\\\\\\\\\\\\
EDIT:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.3/

Obv its working, i mine on my own server.
sr. member
Activity: 322
Merit: 250
I can not create a worker.

System is ubuntu 12.04
bitcoind http://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin/commits/next-eligius
getinfo
Code:
{
    "version" : 60010,
    "protocolversion" : 70000,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 202383,
    "connections" : 13,
    "proxy" : "",
    "difficulty" : 3054627.52694864,
    "testnet" : false,
    "keypoololdest" : 1349160278,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "maxtxfee" : 0.01000000,
    "forcetxfee" : false,
    "errors" : ""
}



#EDIT, the prev printed error is replaced, it was a wrong username set.
This error most probably is a wrong bitcoin version.
Code:
    =ERROR REPORT==== 8-Oct-2012::17:18:32 ===
    ** Generic server <0.232.0> terminating
    ** Last message in was {'$gen_cast',post_workunit}
    ** When Server state == {state,<<"1cade7e67fdab5080fab0a2afd0050c1">>,btc,
                                "http://127.0.0.1:8332/",
                                {"user",
                                 "passwd"},
                                <<"eco">>,
                                {default,
                                    <<80,214,174,106,246,223,58,77,209,76,17,192,
                                      154,154,39,42,98,241,111,85>>},
                                undefined,<<"81c8fd55f5316039ae579bbf0900870e">>,
                                106535,110632,undefined,undefined,undefined,
                                undefined,undefined}
    ** Reason for termination ==
    ** {{case_clause,{ok,"404",
                         [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                          {"Connection","close"},
                          {"Content-Length","79"},
                          {"Content-Type","application/json"},
                          {"Server","bitcoin-json-rpc/0.6.0.10-beta"}],
                         "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
        [{btc_daemon_util,get_memory_pool,5,
                          [{file,"src/btc_daemon_util.erl"},{line,225}]},
         {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,316}]},
         {btc_coindaemon,fetch_work_with_state,1,
                         [{file,"src/btc_coindaemon.erl"},{line,206}]},
         {btc_coindaemon,handle_cast,2,
                         [{file,"src/btc_coindaemon.erl"},{line,150}]},
         {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
         {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
    
    =CRASH REPORT==== 8-Oct-2012::17:18:32 ===
      crasher:
        initial call: btc_coindaemon:init/1
        pid: <0.232.0>
        registered_name: []
        exception exit: {{case_clause,
                             {ok,"404",
                                 [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                                  {"Connection","close"},
                                  {"Content-Length","79"},
                                  {"Content-Type","application/json"},
                                  {"Server","bitcoin-json-rpc/0.6.0.10-beta"}],
                                 "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                         [{btc_daemon_util,get_memory_pool,5,
                              [{file,"src/btc_daemon_util.erl"},{line,225}]},
                          {btc_daemon_util,fetch_work,11,
                              [{file,"src/btc_daemon_util.erl"},{line,316}]},
                          {btc_coindaemon,fetch_work_with_state,1,
                              [{file,"src/btc_coindaemon.erl"},{line,206}]},
                          {btc_coindaemon,handle_cast,2,
                              [{file,"src/btc_coindaemon.erl"},{line,150}]},
                          {gen_server,handle_msg,5,
                              [{file,"gen_server.erl"},{line,597}]},
                          {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,227}]}]}
          in function  gen_server:terminate/6 (gen_server.erl, line 737)
        ancestors: [<0.158.0>,ecoinpool_sup,<0.100.0>]
        messages: []
        links: [<0.158.0>]
        dictionary: []
        trap_exit: true
        status: running
        heap_size: 2584
        stack_size: 24
        reductions: 4215
      neighbours:
    
    =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 ===
         Supervisor: {global,
                                               ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1}
         Context:    child_terminated
         Reason:     {{case_clause,{ok,"404",
                                       [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                                        {"Connection","close"},
                                        {"Content-Length","79"},
                                        {"Content-Type","application/json"},
                                        {"Server",
                                         "bitcoin-json-rpc/0.6.0.10-beta"}],
                                       "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                      [{btc_daemon_util,get_memory_pool,5,
                                        [{file,"src/btc_daemon_util.erl"},
                                         {line,225}]},
                       {btc_daemon_util,fetch_work,11,
                                        [{file,"src/btc_daemon_util.erl"},
                                         {line,316}]},
                       {btc_coindaemon,fetch_work_with_state,1,
                                       [{file,"src/btc_coindaemon.erl"},
                                        {line,206}]},
                       {btc_coindaemon,handle_cast,2,
                                       [{file,"src/btc_coindaemon.erl"},
                                        {line,150}]},
                       {gen_server,handle_msg,5,
                                   [{file,"gen_server.erl"},{line,597}]},
                       {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,227}]}]}
         Offender:   [{pid,<0.232.0>},
                      {name,coindaemon},
                      {mfargs,
                          {btc_coindaemon,start_link,
                              [<<"1cade7e67fdab5080fab0a2afd0050c1">>,
                               [{pool_type,btc},
                                {host,<<"127.0.0.1">>},
                                {port,8332},
                                {user,<<"user">>},
                                {pass,<<"passwd">>},
                                {ebitcoin_client_id,
                                    <<"81c8fd55f5316039ae579bbf0900870e">>}]]}},
                      {restart_type,permanent},
                      {shutdown,5000},
                      {child_type,worker}]
    
    [17:18:32.276][daemon/warn] Bitcoin-btc CoinDaemon terminated.
    
    =ERROR REPORT==== 8-Oct-2012::17:18:32 ===
    ** Generic server <0.245.0> terminating
    ** Last message in was {'$gen_cast',post_workunit}
    ** When Server state == {state,<<"1cade7e67fdab5080fab0a2afd0050c1">>,btc,
                                "http://127.0.0.1:8332/",
                                {"user",
                                 "passwd"},
                                <<"eco">>,
                                {default,
                                    <<80,214,174,106,246,223,58,77,209,76,17,192,
                                      154,154,39,42,98,241,111,85>>},
                                undefined,<<"81c8fd55f5316039ae579bbf0900870e">>,
                                114727,118824,undefined,undefined,undefined,
                                undefined,undefined}
    ** Reason for termination ==
    ** {{case_clause,{ok,"404",
                         [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                          {"Connection","close"},
                          {"Content-Length","79"},
                          {"Content-Type","application/json"},
                          {"Server","bitcoin-json-rpc/0.6.0.10-beta"}],
                         "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
        [{btc_daemon_util,get_memory_pool,5,
                          [{file,"src/btc_daemon_util.erl"},{line,225}]},
         {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,316}]},
         {btc_coindaemon,fetch_work_with_state,1,
                         [{file,"src/btc_coindaemon.erl"},{line,206}]},
         {btc_coindaemon,handle_cast,2,
                         [{file,"src/btc_coindaemon.erl"},{line,150}]},
         {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
         {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
    
    =CRASH REPORT==== 8-Oct-2012::17:18:32 ===
      crasher:
        initial call: btc_coindaemon:init/1
        pid: <0.245.0>
        registered_name: []
        exception exit: {{case_clause,
                             {ok,"404",
                                 [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                                  {"Connection","close"},
                                  {"Content-Length","79"},
                                  {"Content-Type","application/json"},
                                  {"Server","bitcoin-json-rpc/0.6.0.10-beta"}],
                                 "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                         [{btc_daemon_util,get_memory_pool,5,
                              [{file,"src/btc_daemon_util.erl"},{line,225}]},
                          {btc_daemon_util,fetch_work,11,
                              [{file,"src/btc_daemon_util.erl"},{line,316}]},
                          {btc_coindaemon,fetch_work_with_state,1,
                              [{file,"src/btc_coindaemon.erl"},{line,206}]},
                          {btc_coindaemon,handle_cast,2,
                              [{file,"src/btc_coindaemon.erl"},{line,150}]},
                          {gen_server,handle_msg,5,
                              [{file,"gen_server.erl"},{line,597}]},
                          {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,227}]}]}
          in function  gen_server:terminate/6 (gen_server.erl, line 737)
        ancestors: [<0.158.0>,ecoinpool_sup,<0.100.0>]
        messages: []
        links: [<0.158.0>]
        dictionary: []
        trap_exit: true
        status: running
        heap_size: 2584
        stack_size: 24
        reductions: 4215
      neighbours:
    
    =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 ===
         Supervisor: {global,
                                               ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1}
         Context:    child_terminated
         Reason:     {{case_clause,{ok,"404",
                                       [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"},
                                        {"Connection","close"},
                                        {"Content-Length","79"},
                                        {"Content-Type","application/json"},
                                        {"Server",
                                         "bitcoin-json-rpc/0.6.0.10-beta"}],
                                       "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                      [{btc_daemon_util,get_memory_pool,5,
                                        [{file,"src/btc_daemon_util.erl"},
                                         {line,225}]},
                       {btc_daemon_util,fetch_work,11,
                                        [{file,"src/btc_daemon_util.erl"},
                                         {line,316}]},
                       {btc_coindaemon,fetch_work_with_state,1,
                                       [{file,"src/btc_coindaemon.erl"},
                                        {line,206}]},
                       {btc_coindaemon,handle_cast,2,
                                       [{file,"src/btc_coindaemon.erl"},
                                        {line,150}]},
                       {gen_server,handle_msg,5,
                                   [{file,"gen_server.erl"},{line,597}]},
                       {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,227}]}]}
         Offender:   [{pid,<0.245.0>},
                      {name,coindaemon},
                      {mfargs,
                          {btc_coindaemon,start_link,
                              [<<"1cade7e67fdab5080fab0a2afd0050c1">>,
                               [{pool_type,btc},
                                {host,<<"127.0.0.1">>},
                                {port,8332},
                                {user,<<"user">>},
                                {pass,<<"passwd">>},
                                {ebitcoin_client_id,
                                    <<"81c8fd55f5316039ae579bbf0900870e">>}]]}},
                      {restart_type,permanent},
                      {shutdown,5000},
                      {child_type,worker}]
    
    [17:18:32.277][default/warn] ecoinpool_rpc: Stopped RPC on port 8888
    
    =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 ===
         Supervisor: {global,
                                               ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1}
         Context:    shutdown
         Reason:     reached_max_restart_intensity
         Offender:   [{pid,<0.245.0>},
                      {name,coindaemon},
                      {mfargs,
                          {btc_coindaemon,start_link,
                              [<<"1cade7e67fdab5080fab0a2afd0050c1">>,
                               [{pool_type,btc},
                                {host,<<"127.0.0.1">>},
                                {port,8332},
                                {user,<<"user">>},
                                {pass,<<"8passwd">>},
                                {ebitcoin_client_id,
                                    <<"81c8fd55f5316039ae579bbf0900870e">>}]]}},
                      {restart_type,permanent},
                      {shutdown,5000},
                      {child_type,worker}]
    
    [17:18:32.277][server/warn] Subpool 1cade7e67fdab5080fab0a2afd0050c1 terminated.
    [17:18:32.285][ebitcoin/warn] srae44sss: Connecting to 127.0.0.1:8333...
    [17:18:32.285][ebitcoin/warn] srae44sss: Connection established.
    [17:18:32.306][ebitcoin/warn] srae44sss: Alert received: URGENT: upgrade required, see http://bitcoin.org/dos for details




legendary
Activity: 1855
Merit: 1016
full member
Activity: 140
Merit: 100
i installed ecoinpool and when i activate subpool i get error :

heap_size: 4181
    stack_size: 24
    reductions: 5395
  neighbours:

=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    child_terminated
     Reason:     {{badmatch,{ok,"404",
                                [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                                 {"Connection","close"},
                                 {"Content-Length","79"},
                                 {"Content-Type","application/json"},
                                 {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                                "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                  [{btc_daemon_util,get_block_number,2,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,220}]},
                   {btc_daemon_util,fetch_work,11,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,328}]},
                   {scrypt_coindaemon,fetch_work_with_state,1,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,203}]},
                   {scrypt_coindaemon,handle_cast,2,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,143}]},
                   {gen_server,handle_msg,5,
                               [{file,"gen_server.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.229.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

[04:50:09.621][daemon/warn] SCrypt-ltc CoinDaemon terminated.

=ERROR REPORT==== 8-Oct-2012::04:50:09 ===
** Generic server <0.241.0> terminating
** Last message in was {'$gen_cast',post_workunit}
** When Server state == {state,<<"057d86df9633b99cdd54246b3d000f00">>,ltc,
                            "http://127.0.0.1:9332/",
                            {"user","pass"},
                            <<"eco">>,
                            {default,
                                <<153,123,34,121,57,195,171,20,191,106,153,34,
                                  8,73,251,157,196,81,70,185>>},
                            undefined,106535,110632,undefined,undefined,
                            undefined,undefined}
** Reason for termination ==
** {{badmatch,{ok,"404",
                  [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                   {"Connection","close"},
                   {"Content-Length","79"},
                   {"Content-Type","application/json"},
                   {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                  "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
    [{btc_daemon_util,get_block_number,2,
                      [{file,"src/btc_daemon_util.erl"},{line,220}]},
     {btc_daemon_util,fetch_work,11,
                      [{file,"src/btc_daemon_util.erl"},{line,328}]},
     {scrypt_coindaemon,fetch_work_with_state,1,
                        [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
     {scrypt_coindaemon,handle_cast,2,
                        [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
[04:50:09.622][daemon/warn] SCrypt-ltc CoinDaemon starting...

=CRASH REPORT==== 8-Oct-2012::04:50:09 ===
  crasher:
    initial call: scrypt_coindaemon:init/1
    pid: <0.241.0>
    registered_name: []
    exception exit: {{badmatch,
                         {ok,"404",
                             [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                              {"Connection","close"},
                              {"Content-Length","79"},
                              {"Content-Type","application/json"},
                              {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                             "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                     [{btc_daemon_util,get_block_number,2,
                          [{file,"src/btc_daemon_util.erl"},{line,220}]},
                      {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,328}]},
                      {scrypt_coindaemon,fetch_work_with_state,1,
                          [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
                      {scrypt_coindaemon,handle_cast,2,
                          [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,597}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 737)
    ancestors: [<0.188.0>,ecoinpool_sup,<0.101.0>]
    messages: []
    links: [<0.188.0>,<0.143.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 4181
    stack_size: 24
    reductions: 5401
  neighbours:

=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    child_terminated
     Reason:     {{badmatch,{ok,"404",
                                [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                                 {"Connection","close"},
                                 {"Content-Length","79"},
                                 {"Content-Type","application/json"},
                                 {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                                "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                  [{btc_daemon_util,get_block_number,2,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,220}]},
                   {btc_daemon_util,fetch_work,11,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,328}]},
                   {scrypt_coindaemon,fetch_work_with_state,1,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,203}]},
                   {scrypt_coindaemon,handle_cast,2,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,143}]},
                   {gen_server,handle_msg,5,
                               [{file,"gen_server.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.241.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

[04:50:09.647][daemon/warn] SCrypt-ltc CoinDaemon terminated.

=ERROR REPORT==== 8-Oct-2012::04:50:09 ===
** Generic server <0.253.0> terminating
** Last message in was {'$gen_cast',post_workunit}
** When Server state == {state,<<"057d86df9633b99cdd54246b3d000f00">>,ltc,
                            "http://127.0.0.1:9332/",
                            {"user","pass"},
                            <<"eco">>,
                            {default,
                                <<153,123,34,121,57,195,171,20,191,106,153,34,
                                  8,73,251,157,196,81,70,185>>},
                            undefined,114727,118824,undefined,undefined,
                            undefined,undefined}
** Reason for termination ==
** {{badmatch,{ok,"404",
                  [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                   {"Connection","close"},
                   {"Content-Length","79"},
                   {"Content-Type","application/json"},
                   {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                  "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
    [{btc_daemon_util,get_block_number,2,
                      [{file,"src/btc_daemon_util.erl"},{line,220}]},
     {btc_daemon_util,fetch_work,11,
                      [{file,"src/btc_daemon_util.erl"},{line,328}]},
     {scrypt_coindaemon,fetch_work_with_state,1,
                        [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
     {scrypt_coindaemon,handle_cast,2,
                        [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
[04:50:09.648][daemon/warn] SCrypt-ltc CoinDaemon starting...

=CRASH REPORT==== 8-Oct-2012::04:50:09 ===
  crasher:
    initial call: scrypt_coindaemon:init/1
    pid: <0.253.0>
    registered_name: []
    exception exit: {{badmatch,
                         {ok,"404",
                             [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                              {"Connection","close"},
                              {"Content-Length","79"},
                              {"Content-Type","application/json"},
                              {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                             "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                     [{btc_daemon_util,get_block_number,2,
                          [{file,"src/btc_daemon_util.erl"},{line,220}]},
                      {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,328}]},
                      {scrypt_coindaemon,fetch_work_with_state,1,
                          [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
                      {scrypt_coindaemon,handle_cast,2,
                          [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,597}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 737)
    ancestors: [<0.188.0>,ecoinpool_sup,<0.101.0>]
    messages: []
    links: [<0.188.0>,<0.143.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 4181
    stack_size: 24
    reductions: 5407
  neighbours:

=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    child_terminated
     Reason:     {{badmatch,{ok,"404",
                                [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                                 {"Connection","close"},
                                 {"Content-Length","79"},
                                 {"Content-Type","application/json"},
                                 {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                                "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                  [{btc_daemon_util,get_block_number,2,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,220}]},
                   {btc_daemon_util,fetch_work,11,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,328}]},
                   {scrypt_coindaemon,fetch_work_with_state,1,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,203}]},
                   {scrypt_coindaemon,handle_cast,2,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,143}]},
                   {gen_server,handle_msg,5,
                               [{file,"gen_server.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.253.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

[04:50:09.681][daemon/warn] SCrypt-ltc CoinDaemon terminated.

=ERROR REPORT==== 8-Oct-2012::04:50:09 ===
** Generic server <0.265.0> terminating
** Last message in was {'$gen_cast',post_workunit}
** When Server state == {state,<<"057d86df9633b99cdd54246b3d000f00">>,ltc,
                            "http://127.0.0.1:9332/",
                            {"user","pass"},
                            <<"eco">>,
                            {default,
                                <<153,123,34,121,57,195,171,20,191,106,153,34,
                                  8,73,251,157,196,81,70,185>>},
                            undefined,122919,127016,undefined,undefined,
                            undefined,undefined}
** Reason for termination ==
** {{badmatch,{ok,"404",
                  [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                   {"Connection","close"},
                   {"Content-Length","79"},
                   {"Content-Type","application/json"},
                   {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                  "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
    [{btc_daemon_util,get_block_number,2,
                      [{file,"src/btc_daemon_util.erl"},{line,220}]},
     {btc_daemon_util,fetch_work,11,
                      [{file,"src/btc_daemon_util.erl"},{line,328}]},
     {scrypt_coindaemon,fetch_work_with_state,1,
                        [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
     {scrypt_coindaemon,handle_cast,2,
                        [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
[04:50:09.686][daemon/warn] SCrypt-ltc CoinDaemon starting...

=CRASH REPORT==== 8-Oct-2012::04:50:09 ===
  crasher:
    initial call: scrypt_coindaemon:init/1
    pid: <0.265.0>
    registered_name: []
    exception exit: {{badmatch,
                         {ok,"404",
                             [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                              {"Connection","close"},
                              {"Content-Length","79"},
                              {"Content-Type","application/json"},
                              {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                             "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                     [{btc_daemon_util,get_block_number,2,
                          [{file,"src/btc_daemon_util.erl"},{line,220}]},
                      {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,328}]},
                      {scrypt_coindaemon,fetch_work_with_state,1,
                          [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
                      {scrypt_coindaemon,handle_cast,2,
                          [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,597}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 737)
    ancestors: [<0.188.0>,ecoinpool_sup,<0.101.0>]
    messages: []
    links: [<0.188.0>,<0.143.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2584
    stack_size: 24
    reductions: 5295
  neighbours:

=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    child_terminated
     Reason:     {{badmatch,{ok,"404",
                                [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                                 {"Connection","close"},
                                 {"Content-Length","79"},
                                 {"Content-Type","application/json"},
                                 {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                                "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                  [{btc_daemon_util,get_block_number,2,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,220}]},
                   {btc_daemon_util,fetch_work,11,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,328}]},
                   {scrypt_coindaemon,fetch_work_with_state,1,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,203}]},
                   {scrypt_coindaemon,handle_cast,2,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,143}]},
                   {gen_server,handle_msg,5,
                               [{file,"gen_server.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.265.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

[04:50:09.708][daemon/warn] SCrypt-ltc CoinDaemon terminated.

=ERROR REPORT==== 8-Oct-2012::04:50:09 ===
** Generic server <0.276.0> terminating
** Last message in was {'$gen_cast',post_workunit}
** When Server state == {state,<<"057d86df9633b99cdd54246b3d000f00">>,ltc,
                            "http://127.0.0.1:9332/",
                            {"user","pass"},
                            <<"eco">>,
                            {default,
                                <<153,123,34,121,57,195,171,20,191,106,153,34,
                                  8,73,251,157,196,81,70,185>>},
                            undefined,131111,135208,undefined,undefined,
                            undefined,undefined}
** Reason for termination ==
** {{badmatch,{ok,"404",
                  [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                   {"Connection","close"},
                   {"Content-Length","79"},
                   {"Content-Type","application/json"},
                   {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                  "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
    [{btc_daemon_util,get_block_number,2,
                      [{file,"src/btc_daemon_util.erl"},{line,220}]},
     {btc_daemon_util,fetch_work,11,
                      [{file,"src/btc_daemon_util.erl"},{line,328}]},
     {scrypt_coindaemon,fetch_work_with_state,1,
                        [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
     {scrypt_coindaemon,handle_cast,2,
                        [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}

=CRASH REPORT==== 8-Oct-2012::04:50:09 ===
  crasher:
    initial call: scrypt_coindaemon:init/1
    pid: <0.276.0>
    registered_name: []
    exception exit: {{badmatch,
                         {ok,"404",
                             [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                              {"Connection","close"},
                              {"Content-Length","79"},
                              {"Content-Type","application/json"},
                              {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                             "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                     [{btc_daemon_util,get_block_number,2,
                          [{file,"src/btc_daemon_util.erl"},{line,220}]},
                      {btc_daemon_util,fetch_work,11,
                          [{file,"src/btc_daemon_util.erl"},{line,328}]},
                      {scrypt_coindaemon,fetch_work_with_state,1,
                          [{file,"src/scrypt_coindaemon.erl"},{line,203}]},
                      {scrypt_coindaemon,handle_cast,2,
                          [{file,"src/scrypt_coindaemon.erl"},{line,143}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,597}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 737)
    ancestors: [<0.188.0>,ecoinpool_sup,<0.101.0>]
    messages: []
    links: [<0.188.0>,<0.143.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2584
    stack_size: 24
    reductions: 5392
  neighbours:

=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    child_terminated
     Reason:     {{badmatch,{ok,"404",
                                [{"Date","Mon, 08 Oct 2012 11:50:09 +0000"},
                                 {"Connection","close"},
                                 {"Content-Length","79"},
                                 {"Content-Type","application/json"},
                                 {"Server","litecoin-json-rpc/v0.6.3c-beta"}],
                                "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}},
                  [{btc_daemon_util,get_block_number,2,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,220}]},
                   {btc_daemon_util,fetch_work,11,
                                    [{file,"src/btc_daemon_util.erl"},
                                     {line,328}]},
                   {scrypt_coindaemon,fetch_work_with_state,1,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,203}]},
                   {scrypt_coindaemon,handle_cast,2,
                                      [{file,"src/scrypt_coindaemon.erl"},
                                       {line,143}]},
                   {gen_server,handle_msg,5,
                               [{file,"gen_server.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.276.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]


=SUPERVISOR REPORT==== 8-Oct-2012::04:50:09 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_057d86df9633b99cdd54246b3d000f00}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.276.0>},
                  {name,coindaemon},
                  {mfargs,
                      {scrypt_coindaemon,start_link,
                          [<<"057d86df9633b99cdd54246b3d000f00">>,
                           [{pool_type,ltc},{host,<<"127.0.0.1">>}]]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

[04:50:09.718][default/warn] ecoinpool_rpc: Stopped RPC on port 8888
[04:50:09.718][server/warn] Subpool 057d86df9633b99cdd54246b3d000f00 terminated.
sr. member
Activity: 322
Merit: 250
http://pastebin.com/ph1PJKgJ

seems its working with the solution makuu stated erlier.

Replace all dependencies with the ones linked in the /ecoinpool/deps folder - seems to work on ubuntu 12, will post once i connected a miner.
sr. member
Activity: 322
Merit: 250
http://pastebin.com/vjHVuJxq

Found this yesterday, ironically this never got linked here, obv p2k has written it.

Would love to have something that exactly for the config file.

My idea right now is thats a database (maybe tables have to be created manually or a sql imported) or writing permission error.
newbie
Activity: 24
Merit: 0
Interesting! I thought the problem could be my spidermoney version that is different than the version in the README file, but clearly it isn't, since you have the same problem with that version.
sr. member
Activity: 322
Merit: 250
I have edited the post above, couchdb is 1.2.

Dont know how spidermonkey was installed but libmozjs185-1.0 and libmozjs185-dev seem to be installed.

Code:
root@j064:/opt/ecoinpool# apt-cache search spidermonkey
js2-mode - Emacs mode for editing Javascript programs
libmozjs185-1.0 - Spidermonkey javascript engine
libmozjs185-dev - Spidermonkey javascript library - development headers
root@j064:/opt/ecoinpool# sudo apt-get install libmozjs185-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmozjs185-1.0 is already the newest version.
libmozjs185-1.0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@j064:/opt/ecoinpool# sudo apt-get install libmozjs185-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmozjs185-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
newbie
Activity: 24
Merit: 0

Code:
root@j064:~# dpkg -p libmozjs-dev
Package `libmozjs-dev' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
root@j064:~#

Code:
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

root@j064:~#

How did you install spidermonkey (the mozilla foundation js interpreter)?
On the couchdb version, you didn't show the version itself, only the license version.
sr. member
Activity: 322
Merit: 250
Code:
root@j064:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
Codename:       precise
root@j064:~#

Code:
root@j064:~# dpkg -p libmozjs-dev
Package `libmozjs-dev' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
root@j064:~#

Code:
couchdb - Apache CouchDB 1.2.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

root@j064:~#

Code:
root@j064:~# erl --version
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]
root@j064:~#




newbie
Activity: 24
Merit: 0
I tried once again to get ecoinpool working.
Im pretty sure everything is setup fine (couchdb, erlang) except the last part of the configuration file.

Here is the error i actually encounter:
Code:
root@j064:/opt/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test@j064)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
root@j064:/opt/ecoinpool#


Anybody here who can post a sample config and a describtion on the nessecary steps from here to get this working?
What parts to be edited, removed, replaced and database settings outside of this config file.

Code:
% This is a setting that certainly has to be changed. Configure one or
        % more worker table replicators here (if you have multiple sub-pools).
        % Please only connect one sub-pool to one table or things get jammed up.
        {replicator_configs, [
            % Format: {, , }
            {"24aa68ec6c910de0850ed0c575621ec9", "pool_worker", 15}
        ]},
        
        % Next is your blowfish secret key. Copy it from above.
        {blowfish_secret, "Replace me!"},
        
        % And the last one, also to be likely changed, is the shares deployer
        % configuration. There are two possible formats here, one with and one
        % without using merged mining. The config ID is used as basename for
        % saving the deployment state file and for the "source" column.
        {share_deployer_configs, [
            % Non-MM Format: {, , , }
            {"ltc_test_shares", "ltc-test", "shares", 60},
            % MM Format: {,
, , , }
            {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60}
        ]}
    ]}
].

i am also stuck with the same error can someone help?

I have the same issue.

Let's try to help ourselves, before someone comes to our aid. What distro and version are you using? spidermonkey version? couchdb version? Erlang version?

I'll start:

Distro and distro version:
Terminal ->
Code:
$ lsb_release -a
Prints:
Code:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.5 (squeeze)
Release: 6.0.5
Codename: squeeze


Spidermonkey version:
Terminal ->
Code:
$ dpkg -p libmozjs-dev
(I use debian, that would be rpm for Red Hat)
Prints:
Code:
Architecture: amd64
Source: iceweasel (3.5.16-17)
Version: 1.9.1.16-17
Depends: libmozjs2d (= 1.9.1.16-17), libnspr4-dev

CouchDB version:
Terminal ->
Code:
couchdb -V
Prints:
Code:
couchdb - Apache CouchDB 1.3.0a-ac32047-git

Erlang version:
Terminal ->
Code:
erl --version
Hit Ctrl + C twice to come back to console
Prints:
Code:
Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:11:11] [async-threads:0] [hipe] [kernel-poll:false]
full member
Activity: 140
Merit: 100
I tried once again to get ecoinpool working.
Im pretty sure everything is setup fine (couchdb, erlang) except the last part of the configuration file.

Here is the error i actually encounter:
Code:
root@j064:/opt/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test@j064)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
root@j064:/opt/ecoinpool#


Anybody here who can post a sample config and a describtion on the nessecary steps from here to get this working?
What parts to be edited, removed, replaced and database settings outside of this config file.

Code:
% This is a setting that certainly has to be changed. Configure one or
        % more worker table replicators here (if you have multiple sub-pools).
        % Please only connect one sub-pool to one table or things get jammed up.
        {replicator_configs, [
            % Format: {, , }
            {"24aa68ec6c910de0850ed0c575621ec9", "pool_worker", 15}
        ]},
        
        % Next is your blowfish secret key. Copy it from above.
        {blowfish_secret, "Replace me!"},
        
        % And the last one, also to be likely changed, is the shares deployer
        % configuration. There are two possible formats here, one with and one
        % without using merged mining. The config ID is used as basename for
        % saving the deployment state file and for the "source" column.
        {share_deployer_configs, [
            % Non-MM Format: {, , , }
            {"ltc_test_shares", "ltc-test", "shares", 60},
            % MM Format: {,
, , , }
            {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60}
        ]}
    ]}
].

i am also stuck with the same error can someone help?
newbie
Activity: 24
Merit: 0
ebitcoin's database was created in couchdb, but it stopped there because of that error.
newbie
Activity: 24
Merit: 0
I tried once again to get ecoinpool working.
Im pretty sure everything is setup fine (couchdb, erlang) except the last part of the configuration file.

Here is the error i actually encounter:
Code:
root@j064:/opt/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9  (abort with ^G)
(ecoinpool_test@j064)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
root@j064:/opt/ecoinpool#


Anybody here who can post a sample config and a describtion on the nessecary steps from here to get this working?
What parts to be edited, removed, replaced and database settings outside of this config file.

Code:
% This is a setting that certainly has to be changed. Configure one or
        % more worker table replicators here (if you have multiple sub-pools).
        % Please only connect one sub-pool to one table or things get jammed up.
        {replicator_configs, [
            % Format: {, , }
            {"24aa68ec6c910de0850ed0c575621ec9", "pool_worker", 15}
        ]},
        
        % Next is your blowfish secret key. Copy it from above.
        {blowfish_secret, "Replace me!"},
        
        % And the last one, also to be likely changed, is the shares deployer
        % configuration. There are two possible formats here, one with and one
        % without using merged mining. The config ID is used as basename for
        % saving the deployment state file and for the "source" column.
        {share_deployer_configs, [
            % Non-MM Format: {, , , }
            {"ltc_test_shares", "ltc-test", "shares", 60},
            % MM Format: {,
, , , }
            {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60}
        ]}
    ]}
].


I'm stuck with this exact same error. I think it's something related to ebitcoin, since line 34 of src/ecoinpool_test_launch.erl is an include of an ebitcoin module. I tried disabling ebitcoin, but the exception was still the same.
Pages:
Jump to: