how to create multichain using ubuntu 20.4 LTS app.

+1 vote
I have installed UBUNTU 20.04 LTS app in windows 10. I am unable to create chain.

error: anju@DESKTOP-FFAFKFO:~/multichain-2.3.1-enterprise-demo$ multichain-utilcreate chain1
multichain-utilcreate: command not found.

Can anyone help me to identify the reason.

When i tried the same steps with windows version of multichain. I was able to create chain, But can't run multichain CLI

MESSAGE:

C:\Users\RAM\MULTICHAIN> multichain-cli chain_name help
error: Could not connect to the server 127.0.0.1:9554 (error code 1 - "EOF reached")

Make sure the multichaind server is running and that you are connecting to the correct RPC port.
asked Jan 5 by anju

1 Answer

+1 vote

You need to run the command with a space before create, i.e.:

multichain-util create chain1

 

answered Jan 5 by MultiChain
i have included space, by mistake space was left during typing  in the above question.

for windows version, the problem is resolved. i am working on connecting nodes now. but for ubuntu app, i can't identify the problem, when other linux commands are running on same app in windows OS.
Did you install the MultiChain executables in a directory which Linux can find automatically, by following the instructions on our website?

If not, you need to run the files in Linux like this:

./multichain-util
./multichaind
./multichain-cli
yes,
wget https://www.multichain.com/download/enterprise/multichain-2.3.1-enterprise-demo.tar.gz
tar -xvzf multichain-2.3.1-enterprise-demo.tar.gz

// folder is available in C:\Users\RAM\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04LTS_79rhkp1fndgsc\LocalState\rootfs\home\anju
// I didn't even move to /usr/local/bin......also the mv command didn't work
then,
cd multichain-2.3.1-enterprise-demo
multichain-utilcreate chain1

error: multichain-util create: command not found
You need to use the mv command as root. And if you can't do that, run the commands using:

./multichain-util
./multichaind
./multichain-cli

The ./ before the command name tells Linux to look in the current directory.
...