Welcome to the Linux Foundation Forum!

artifacts/colleagues/channel.tx: No such file or directory

Hi, When I try to go through lab1 exercise I receive an error when running the following command.

I have the following systems.
Ubuntu 18.04
Oracle VirtualBox 5.2
I have followed all instructions previous in the guide, with no issues. Please help!

cd ~/fabric-fundamentals
configtxgen -profile FourOrgsOrdererGenesis -outputBlock channel-artifacts/genesis.block
configtxgen -profile FourOrgsChannel -outputCreateChannelTx channel-
artifacts/colleagues/channel.tx -channelID colleagues
configtxgen -profile ThreeOrgsChannel -outputCreateChannelTx channel-
artifacts/partypresent/channel.tx -channelID partypresent

ERROR Message in command line//

vagrant@ubuntu-xenial:~/fabric-fundamentals$ cd ~/fabric-fundamentals
vagrant@ubuntu-xenial:~/fabric-fundamentals$ configtxgen -profile FourOrgsOrdererGenesis -outputBlock channel-artifacts/genesis.block
2019-04-21 18:02:47.311 UTC [common/tools/configtxgen] main -> INFO 001 Loading configuration
2019-04-21 18:02:47.321 UTC [common/tools/configtxgen] doOutputBlock -> INFO 002 Generating genesis block
2019-04-21 18:02:47.322 UTC [common/tools/configtxgen] doOutputBlock -> INFO 003 Writing genesis block
vagrant@ubuntu-xenial:~/fabric-fundamentals$ configtxgen -profile FourOrgsChannel -outputCreateChannelTx channel-
2019-04-21 18:02:47.384 UTC [common/tools/configtxgen] main -> INFO 001 Loading configuration
2019-04-21 18:02:47.393 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
2019-04-21 18:02:47.419 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 003 Writing new channel tx
vagrant@ubuntu-xenial:~/fabric-fundamentals$ artifacts/colleagues/channel.tx -channelID colleagues
-bash: artifacts/colleagues/channel.tx: No such file or directory
vagrant@ubuntu-xenial:~/fabric-fundamentals$ configtxgen -profile ThreeOrgsChannel -outputCreateChannelTx channel-
2019-04-21 18:02:47.482 UTC [common/tools/configtxgen] main -> INFO 001 Loading configuration
2019-04-21 18:02:47.491 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
2019-04-21 18:02:47.516 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 003 Writing new channel tx
vagrant@ubuntu-xenial:~/fabric-fundamentals$ artifacts/partypresent/channel.tx -channelID partypresent
-bash: artifacts/partypresent/channel.tx: No such file or directory

Comments

  • Issue resolved with following>
    vagrant@ubuntu-xenial:~/fabric-fundamentals$ configtxgen -profile FourOrgsChannel -outputCreateChannelTx channel-artifacts/colleagues/channel.tx -channelID colleagues
    2019-04-21 19:17:43.868 UTC [common/tools/configtxgen] main -> INFO 001 Loading configuration
    2019-04-21 19:17:43.877 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
    2019-04-21 19:17:43.906 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 003 Writing new channel tx
    vagrant@ubuntu-xenial:~/fabric-fundamentals$ configtxgen -profile ThreeOrgsChannel -outputCreateChannelTx channel-artifacts/partypresent/channel.tx -channelID partypresent
    2019-04-21 19:19:30.067 UTC [common/tools/configtxgen] main -> INFO 001 Loading configuration
    2019-04-21 19:19:30.087 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
    2019-04-21 19:19:30.117 UTC [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 003 Writing new channel tx

  • @canaryinthemine Thank you for posting the solution

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training