quorum icon indicating copy to clipboard operation
quorum copied to clipboard

./raft-start.sh giving error

Open rushikeshacharya opened this issue 8 years ago • 6 comments

Ubuntu 16.04

Geth version: 1.7.2 Quorum Version: 2.0.1

OS & Version: Ubuntu 16.04 I'm trying to run 7Nodes example and after executing ./raft-start.sh i'm getting this error

[*] Starting Constellation nodes
constellation-node --url=https://127.0.0.1:9001/ --port=9001 --workdir=qdata/c1 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation1.log 2>&1 &
constellation-node --url=https://127.0.0.2:9002/ --port=9002 --workdir=qdata/c2 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation2.log 2>&1 &
constellation-node --url=https://127.0.0.3:9003/ --port=9003 --workdir=qdata/c3 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation3.log 2>&1 &
constellation-node --url=https://127.0.0.4:9004/ --port=9004 --workdir=qdata/c4 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation4.log 2>&1 &
constellation-node --url=https://127.0.0.5:9005/ --port=9005 --workdir=qdata/c5 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation5.log 2>&1 &
constellation-node --url=https://127.0.0.6:9006/ --port=9006 --workdir=qdata/c6 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation6.log 2>&1 &
constellation-node --url=https://127.0.0.7:9007/ --port=9007 --workdir=qdata/c7 --socket=tm.ipc --publickeys=tm.pub --privatekeys=tm.key --othernodes=https://127.0.0.1:9001/ >> qdata/logs/constellation7.log 2>&1 &

and Constellation1.log contains

constellation-node: user error (unrecognized option `--workdir=qdata/c1'
. Usage: constellation-node [OPTION...] [config file containing options]
(If a configuration file is specified, any command line options will take precedence.)
           --url[=URL]               URL for this node (what's advertised to other nodes, e.g. https://constellation.mydomain.com/)
           --port[=NUM]              Port to listen on for the public API
           --socket[=FILE]           Path to IPC socket file to create for private API access
           --othernodes[=URL...]     Comma-separated list of other node URLs to connect to on startup (this list may be incomplete)
           --publickeys[=FILE...]    Comma-separated list of paths to public keys to advertise
           --privatekeys[=FILE...]   Comma-separated list of paths to corresponding private keys (these must be given in the same order as --publickeys)
           --alwayssendto[=FILE...]  Comma-separated list of paths to public keys that are always included as recipients (these must be advertised somewhere)
           --passwords[=FILE]        A file containing the passwords for the specified --privatekeys, one per line, in the same order (if one key is not locked, add an empty line)
           --storage[=FILE]          Storage path to pass to the storage engine
           --ipwhitelist[=IP...]     Comma-separated list of IPv4 and IPv6 addresses that may connect to this node's public API
  -v[NUM]  --verbosity[=NUM]         print more detailed information (optionally specify a number or add v's to increase verbosity)
  -V, -?   --version                 output current version information, then exit
           --generatekeys[=NAME...]  comma-separated list of key pair names to generate, then exit
)

rushikeshacharya avatar Mar 14 '18 06:03 rushikeshacharya

Please make sure you're running Constellation 0.3.0 or later (0.3.2 is the most recent: https://github.com/jpmorganchase/constellation/releases)

patrickmn avatar Mar 14 '18 13:03 patrickmn

I'm using the 0.3.2.

rushikeshacharya avatar Mar 14 '18 15:03 rushikeshacharya

Please run constellation-node --version to make sure. >0.3.0 should not be outputting "unrecognized option --workdir` because that was added in 0.3.0.

patrickmn avatar Mar 14 '18 15:03 patrickmn

Thank You @patrickmn .. now it's working.

rushikeshacharya avatar Mar 15 '18 04:03 rushikeshacharya

Hi - I am unable to perform the same, but I am getting below error.. I tried to setup using this link

constellation-node: command not found " https://github.com/jpmorganchase/constellation" but no luck..

I am performing those "constellation" installation inside 7nodes example project.

Any thoughts? or Am I missing something.. please assist.

LogeswaranA avatar Sep 25 '18 10:09 LogeswaranA

@LogeswaranAudhikesavan please open a new issue

fixanoid avatar Sep 28 '18 17:09 fixanoid