Error when trying to bring up the test network

I trying to follow tutorials and develope on Ubuntu. Then get an error when comes to "Bring up the test network" part. I successfully run the following command to print the script help text of the test network.

./network.sh -h

When I want to run the next command to bring up the network

./network.sh up

I get the message as follow

Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'

ERROR! Peer binary and configuration files not found..

May somebody tells me what's happened? Kindly helps.


Solution 1:

Be sure to use

./network.sh up

from the test network folder and that test network folder is contained in fabric samples, because it could use binaries from different directories contained inside fabric samples and moving it could cause your error.

Also try to set this environment variable

FABRIC_CFG_PATH=$PWD

to force Fabric to be launched in your test network folder