rahulch

Untitled

Apr 30th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.48 KB | None | 0 0
  1. Rahuls-MacBook-Air:fabric-ca rahulchowdhury$ go get -u github.com/hyperledger/fabric-ca/cmd/...
  2. Rahuls-MacBook-Air:fabric-ca rahulchowdhury$ fabric-ca-server start -b admin:adminpw
  3. 2018/04/30 11:32:19 [INFO] Created default configuration file at /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/fabric-ca-server-config.yaml
  4. 2018/04/30 11:32:19 [INFO] Starting server in home directory: /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca
  5. panic: Version is not set for fabric-ca library
  6.  
  7. goroutine 1 [running]:
  8. github.com/hyperledger/fabric-ca/lib/metadata.GetVersion(0x64, 0x1)
  9.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/lib/metadata/version.go:58 +0x60
  10. github.com/hyperledger/fabric-ca/lib.(*Server).init(0xc000333440, 0x0, 0xc00017fc20, 0x1)
  11.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/lib/server.go:98 +0x26
  12. github.com/hyperledger/fabric-ca/lib.(*Server).Start(0xc000333440, 0xc000333440, 0x0)
  13.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/lib/server.go:131 +0xdd
  14. main.(*ServerCmd).init.func3(0xc0001c8480, 0xc00000c6c0, 0x0, 0x2, 0x0, 0x0)
  15.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/servercmd.go:121 +0xdc
  16. github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).execute(0xc0001c8480, 0xc00000c520, 0x2, 0x2, 0xc0001c8480, 0xc00000c520)
  17.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:643 +0x3e8
  18. github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0001c8000, 0x4766800, 0x48f8500, 0xc00017fef8)
  19.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:734 +0x2cc
  20. github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).Execute(0xc0001c8000, 0xc0001c4000, 0xc0001c6000)
  21.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:692 +0x2b
  22. main.(*ServerCmd).Execute(0xc0001c6000, 0x5, 0x4832f01)
  23.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/servercmd.go:69 +0x2f
  24. main.RunMain(0xc0000a80c0, 0x4, 0x4, 0xc00017ff78, 0xc00008a058)
  25.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/main.go:45 +0xaf
  26. main.main()
  27.     /Users/rahulchowdhury/gocode/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/main.go:27 +0x45
  28. Rahuls-MacBook-Air:fabric-ca rahulchowdhury$
Add Comment
Please, Sign In to add comment