I try to run Cryptogen but an error appears, when I'm executing the command.
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-
1.0.1.sh | bash
bash: line 1: 404:: command not found
You have a long way to go. And your question is incomplete. You need to tell us he operating system you are using. Also, the version of the Hyperledger Fabric documentation that you found this at.
The command that you ran only downloads the code, binaries, and docker images. It looks like you are trying to run this:
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
which is then piped into bash. But it is failing to find that URL.
Related
I am trying to install Azure CLI on my raspberry pi 3 which runs Linux OS. I followed this guide, but it gives me this error: bash az-command not found. I search online and found no solution to this error.
To install Azure CLI, the simplest way is to follow the steps in the link provided. But it seems you use the second way. So you can't run the command apt install azure-cli directly. You need to prepare the dependencies for the Azure CLI. And you also need to make sure if your network is OK. In the end, I recommend you use the first way that runs the shell script.
I am facing the exact problem. i did "docker run -it mcr.microsoft.com/azure-cli" without the quotation marks
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.
I had the same issue, looks like you need to fetch system specific binaries:
https://hyperledger-fabric.readthedocs.io/en/release-2.2/test_network.html
I ran the curl command in the root dir without specifying the versions.
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s
Make sure you add the ./bin to .gitignore
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
first bring down the network to clean up
cd test-network
./network.sh down
start the network agian
./network.sh up
Before you can deploy the test network, you need to follow the instructions to Install the Samples, Binaries and Docker Images in the Hyperledger Fabric documentation.
i am trying to create a corda test node using the following link:
Corda Azure VM
I have followed the instruction as is and when i execute the command from "https://marketplace.r3.com/network" with their onetime script in the terminal sudo ONE_TIME_DOWNLOAD_KEY=91c51b4e-d619-4a20-90c1-24120687a74d bash -c "$(curl -L https://onboarder.prod.ws.r3.com/api/user/node/TESTNET/install.sh)"
I get the following error
any idea on how to solve this
I assume that you're talking about the last line (No such file or directory) since I don't see any errors really.
So the corda.service file allows you to start your Corda node when your VM starts, if it's missing; then you have to start the node manually.
I recommend that you follow the instructions in this link to create the file yourself (start at step number 8): https://docs.corda.net/deploying-a-node.html#linux-installing-and-running-corda-as-a-system-service
Please note that there are 2 approaches to create a service (SystemD and Upstart); so make sure that you follow the steps for only one approach (I used SystemD).
I am using linux server from cPanel. Now I need to use one of the linux command to run. And the command is 'timeout'. My command is something as below
$timeout 2s ./myexecutable < input > output
This is just running ok in my linux machine. But I want to run it in server(linux). But it is not running out there. I saw error log using 2>$1 . and it says command not found.
So how do I specify the path. That means how can I know the exact path to run it.
I am very new to this type of server stuff, so please don't be rude :D.. whatever you know please help me to get out of it.
thank you
On Mac, you can use gtimeout from the coreutils package. To install it, run
brew install coreutils
If you need the command to be called "timeout" then you can alias it.
alias timeout="gtimeout"
I am trying to run the following Linux commands on windows. I was able to install curl.exe and run the first command of the two below, however, without the | php at the end of it, as adding it caused an php is not recognized as an internal or external command error.
Then when trying to run the second command of the two I get a host not found error.
I am new to curl and linux command line and I was wondering if someone can help me figure out how to run the second command on my windows machine?
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
many thanks in advance!
php is not recognized as an internal or external command
That error means either PHP is not installed on the Windows machine, or it is not in the PATH.
Install it if you have not already. If you have installed it, either specify the full path to PHP in your command
curl -s http://getcomposer.org/installer | C:\Install\Path\php
or ensure that the PHP directory is in the PATH environment variable.