Yashwanth Pandi

Yashwanth Pandi

  • NA
  • 42
  • 35.2k

Issue in Block chain

Apr 30 2019 12:20 AM
root@ee331c923040:/opt/gopath/src/github.com/hyperledger/fabric/peer# docker-CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/[email protected]/-CORE_PEER_ADDRESS=peer0.org2.example.com:-it cli bash7051e mspe exec-CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crte -CORE_PEER_LOCALMSPID=Org2MSPe
bash: docker-CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/[email protected]/-CORE_PEER_ADDRESS=peer0.org2.example.com:-it: No such file or directory
root@ee331c923040:/opt/gopath/src/github.com/hyperledger/fabric/peer#
root@ee331c923040:/opt/gopath/src/github.com/hyperledger/fabric/peer# docker exec -it cli bash
bash: docker: command not found
root@ee331c923040:/opt/gopath/src/github.com/hyperledger/fabric/peer# ORDERER_CA=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
root@ee331c923040:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer channel create -o orderer.example.com:7050 -c channelall -f /opt/gopath/src/github.com/hyperledger/fabric/peer/channel-artifacts/channelall.--cafile $ORDERER_CAtls tx
2019-04-30 05:05:01.083 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
2019-04-30 05:05:01.083 UTC [viperutil] unmarshalJSON -> DEBU 002 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2019-04-30 05:05:01.083 UTC [viperutil] getKeysRecursively -> DEBU 003 Found real value for peer.BCCSP.Default setting to string SW
2019-04-30 05:05:01.084 UTC [viperutil] getKeysRecursively -> DEBU 004 Found map[string]interface{} value for peer.BCCSP.SW
2019-04-30 05:05:01.084 UTC [viperutil] unmarshalJSON -> DEBU 005 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2019-04-30 05:05:01.084 UTC [viperutil] getKeysRecursively -> DEBU 006 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
2019-04-30 05:05:01.084 UTC [viperutil] unmarshalJSON -> DEBU 007 Unmarshal JSON: value is not a string: 256
2019-04-30 05:05:01.084 UTC [viperutil] getKeysRecursively -> DEBU 008 Found real value for peer.BCCSP.SW.Security setting to int 256
2019-04-30 05:05:01.085 UTC [viperutil] getKeysRecursively -> DEBU 009 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
2019-04-30 05:05:01.085 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
2019-04-30 05:05:01.085 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
2019-04-30 05:05:01.085 UTC [viperutil] getKeysRecursively -> DEBU 00c Found map[string]interface{} value for peer.BCCSP.PKCS11
2019-04-30 05:05:01.085 UTC [viperutil] getKeysRecursively -> DEBU 00d Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
2019-04-30 05:05:01.086 UTC [viperutil] unmarshalJSON -> DEBU 00e Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.086 UTC [viperutil] getKeysRecursively -> DEBU 00f Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to
2019-04-30 05:05:01.086 UTC [viperutil] unmarshalJSON -> DEBU 010 Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.086 UTC [viperutil] getKeysRecursively -> DEBU 011 Found real value for peer.BCCSP.PKCS11.Library setting to
2019-04-30 05:05:01.086 UTC [viperutil] unmarshalJSON -> DEBU 012 Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.086 UTC [viperutil] getKeysRecursively -> DEBU 013 Found real value for peer.BCCSP.PKCS11.Label setting to
2019-04-30 05:05:01.087 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.087 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.PKCS11.Pin setting to
2019-04-30 05:05:01.087 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.087 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.PKCS11.Hash setting to
2019-04-30 05:05:01.087 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value is not a string:
2019-04-30 05:05:01.088 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.PKCS11.Security setting to
2019-04-30 05:05:01.088 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[Default:SW SW:map[Security:256 FileKeyStore:map[KeyStore:] Hash:SHA2] PKCS11:map[FileKeyStore:map[KeyStore:] Library: Label: Pin: Hash: Security:]]]
2019-04-30 05:05:01.088 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore]...done
2019-04-30 05:05:01.103 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts/ca.org1.example.com-cert.pem
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/admincerts
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/admincerts/[email protected]
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts
2019-04-30 05:05:01.103 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 026 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts/tlsca.org1.example.com-cert.pem
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts
2019-04-30 05:05:01.103 UTC [msp] getMspConfig -> DEBU 028 TLS intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts: no such file or directory]
2019-04-30 05:05:01.103 UTC [msp] getPemMaterialFromDir -> DEBU 029 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/crls
2019-04-30 05:05:01.103 UTC [msp] getMspConfig -> DEBU 02a crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/crls]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/crls: no such file or directory]
2019-04-30 05:05:01.103 UTC [msp] getMspConfig -> DEBU 02b MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/config.yaml: no such file or directory]
2019-04-30 05:05:01.104 UTC [msp] newBccspMsp -> DEBU 02c Creating BCCSP-based MSP instance
2019-04-30 05:05:01.104 UTC [msp] New -> DEBU 02d Creating Cache-MSP instance
2019-04-30 05:05:01.104 UTC [msp] loadLocaMSP -> DEBU 02e Created new local MSP
2019-04-30 05:05:01.104 UTC [msp] Setup -> DEBU 02f Setting up MSP instance Org1MSP
2019-04-30 05:05:01.104 UTC [msp/identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICRDCCAeqgAwIBAgIRAMxKMQHMmW1HILHP2kk9/y4wCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMTkwNDMwMDQ1NTAwWhcNMjkwNDI3MDQ1NTAw
WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UE
AxMTY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA
BB6yLbeRwY+xGt84LWYmFcpUAP61km8Qe8JOUB3r180oFSDcLKYqYbZ3vn7Vkn7L
/dUHJxjmwZiXS8NKIihO8iKjXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAG
BgRVHSUAMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIM2nlBW5mO6bkbwj9b6v
OBWtgtVYGsHJr8lrTOdEHAJ9MAoGCCqGSM49BAMCA0gAMEUCIQDNqY09CO+kruxA
8syXT41Or+Tct8853QSscnd4lWkXXwIgKhERMavJPmrVWmA040/3f+OhC7dVje+V
UVlD57wONJ8=
-----END CERTIFICATE-----
2019-04-30 05:05:01.104 UTC [msp/identity] newIdentity -> DEBU 031 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICKjCCAdGgAwIBAgIRALDnz5mYCn0EAOhjJTHQR2YwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMT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ZIzj0DAQcDQgAEWpqzR79I
fgRmLYyKeiZ2gi8i7UtT2tCbNjiKpJ5IdJh8tDSqt3ld029oDPZ3JyHOriY7mZYx
Fz8inwxEsZ4Yd6NNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD
VR0jBCQwIoAgzaeUFbmY7puRvCP1vq84Fa2C1VgawcmvyWtM50QcAn0wCgYIKoZI
zj0EAwIDRwAwRAIgQiSa3iRGdjubWo8Y3moj3pmITl/KTlQrpIQpRRfzk6YCICti
0k1A1SriAaH7YYIOMKJsyyERxSwjhyT4Ds4FUXOP
-----END CERTIFICATE-----
2019-04-30 05:05:01.123 UTC [bccsp_sw] loadPrivateKey -> DEBU 033 Loading private key [793f98c784829755fdfb6b80f8e1e99d5def66e6c93e723d4ebd485d54ddd9a9] at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/793f98c784829755fdfb6b80f8e1e99d5def66e6c93e723d4ebd485d54ddd9a9_sk]...
2019-04-30 05:05:01.123 UTC [msp/identity] newIdentity -> DEBU 034 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICKjCCAdGgAwIBAgIRALDnz5mYCn0EAOhjJTHQR2YwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMTkwNDMwMDQ1NTAwWhcNMjkwNDI3MDQ1NTAw
WjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZBZG1pbkBv
cmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWpqzR79I
fgRmLYyKeiZ2gi8i7UtT2tCbNjiKpJ5IdJh8tDSqt3ld029oDPZ3JyHOriY7mZYx
Fz8inwxEsZ4Yd6NNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD
VR0jBCQwIoAgzaeUFbmY7puRvCP1vq84Fa2C1VgawcmvyWtM50QcAn0wCgYIKoZI
zj0EAwIDRwAwRAIgQiSa3iRGdjubWo8Y3moj3pmITl/KTlQrpIQpRRfzk6YCICti
0k1A1SriAaH7YYIOMKJsyyERxSwjhyT4Ds4FUXOP
-----END CERTIFICATE-----
2019-04-30 05:05:01.123 UTC [msp] setupSigningIdentity -> DEBU 035 Signing identity expires at 2029-04-27 04:55:00 +0000 UTC
2019-04-30 05:05:01.123 UTC [msp] Validate -> DEBU 036 MSP Org1MSP validating identity
2019-04-30 05:05:01.124 UTC [msp] GetDefaultSigningIdentity -> DEBU 037 Obtaining default signing identity
2019-04-30 05:05:01.124 UTC [grpc] DialContext -> DEBU 038 parsed scheme: ""
2019-04-30 05:05:01.124 UTC [grpc] DialContext -> DEBU 039 scheme "" not registered, fallback to default scheme
2019-04-30 05:05:01.124 UTC [grpc] watcher -> DEBU 03a ccResolverWrapper: sending new addresses to cc: [{orderer.example.com:7050 0 }]
2019-04-30 05:05:01.124 UTC [grpc] switchBalancer -> DEBU 03b ClientConn switching balancer to "pick_first"
2019-04-30 05:05:01.143 UTC [grpc] HandleSubConnStateChange -> DEBU 03c pickfirstBalancer: HandleSubConnStateChange: 0xc4201f9e10, CONNECTING
2019-04-30 05:05:01.198 UTC [grpc] HandleSubConnStateChange -> DEBU 03d pickfirstBalancer: HandleSubConnStateChange: 0xc4201f9e10, READY
2019-04-30 05:05:01.198 UTC [channelCmd] InitCmdFactory -> INFO 03e Endorser and orderer connections initialized
Error: channel create configuration tx file not found open /opt/gopath/src/github.com/hyperledger/fabric/peer/channel-artifacts/channelall.--cafile: no such file or directory
 
Please any one solve the above issue...