Author

Topic: Ecoinpool test_launch.config (Read 1311 times)

legendary
Activity: 1357
Merit: 1004
April 05, 2013, 01:41:03 AM
#6
can someone help me with that ?

root@feinman:~/ltc/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]

Eshell V5.9.3.1  (abort with ^G)
(ecoinpool_test@feinman)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 ()
vip
Activity: 980
Merit: 1001
October 03, 2012, 06:59:04 PM
#5
BTW, i recognized you posting multiple times about ecoinpool and pushpool, why not try eloi or poolserverj, both are mostprobably more easy to setup and eloi is still supported.

ecoinpool is supported, unfortunately the author has been busy with a (well paid) irl project. I spoke to him recently and he is working on the next version with stratum support and variable diff.
poolserverj however hasn't been updated since before last December and the one time I saw its author since December he asked me to buy his Bitcoins but didn't respond to the email I sent in reply <- this is the unsupported one Smiley

OP https://bitcointalksearch.org/topic/announce-ecoinpool-a-brand-new-pool-mining-software-written-in-erlang-56068 would seem to be a more logical place to ask your questions re ecoinpool
full member
Activity: 140
Merit: 100
October 03, 2012, 11:05:53 AM
#4
anyway in my code line number 88 is not commented

and i am trying to make a pool that can mine LTC and BTC
sr. member
Activity: 322
Merit: 250
October 03, 2012, 01:22:18 AM
#3
BTW, i recognized you posting multiple times about ecoinpool and pushpool, why not try eloi or poolserverj, both are mostprobably more easy to setup and eloi is still supported.
sr. member
Activity: 322
Merit: 250
October 03, 2012, 01:20:09 AM
#2
As it says, line 88.
Code:
% MM Format: {,
, , , }
            {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60}
        ]}
    ]}
].

Im not a coder, so maybe im wrong but i would try to unkomment it was default.
full member
Activity: 140
Merit: 100
October 02, 2012, 04:54:25 PM
#1
my ecoinpool test_launch.config :


% 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, "localhost"},
        {db_port, 5984},
        {db_prefix, ""},
        
        % The next line should be changed, depending on your CouchDB
        % authentication settings:   username      password
        {db_options, [{basic_auth, {"admin", "admin"}}]},
        
        % 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, "localhost"},
        {db_port, 5984},
        {db_prefix, ""},
        {db_options, [{basic_auth, {"admin", "admin"}}]}
    ]},
    
    % 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, "localhost"},
        {couchdb_port, 5984},
        {couchdb_prefix, ""},
        {couchdb_options, [{basic_auth, {"admin", "admin"}}]},
        {couchdb_database, "ecoinpool"},
        
        {mysql_host, "localhost"},
        {mysql_port, 3306},
        {mysql_prefix, ""},
        {mysql_options, [{auth, {"admin", "admin"}}]},
        {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}
        ]}
    ]}
].

i use ubuntu 11.10
when i run Ecoinpool i get error

{"could not start kernel pid",application_controller,"error in config file \"./test_launch.config\" (88): syntax error before: Format"}

Crash dump was written to: erl_crash.dump
could not start kernel pid (application_controller) (error in config file "./test_launch.config" (88): syntax error before: Format)
Jump to: