Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

I cant install hyperledger fabric can you help me? #2400

Open
wowforestwow opened this issue Sep 3, 2016 · 3 comments
Open

I cant install hyperledger fabric can you help me? #2400

wowforestwow opened this issue Sep 3, 2016 · 3 comments

Comments

@wowforestwow
Copy link

Description

==> default: Mounting shared folders...
default: /vagrant => /home/forest/go/src/github.com/hyperledger/fabric/devenv
default: /local-dev => /home/forest/go/src/github.com/hyperledger/fabric
default: /hyperledger => /home/forest/go/src/github.com/hyperledger/fabric
default: /opt/gopath/src/github.com/hyperledger/fabric => /home/forest/go/src/github.com/hyperledger/fabric
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: ++ export DOCKER_STORAGE_BACKEND=
==> default: ++ DOCKER_STORAGE_BACKEND=
==> default: ++ cd /hyperledger/devenv
==> default: ++ ./setup.sh
==> default: ./setup.sh: line 40: ---;;---: command not found
==> default: ./setup.sh: command substitution: line 40: syntax error near unexpected token ||' ==> default: ./setup.sh: command substitution: line 40: || '
==> default: W
==> default: :
==> default: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages Hash Sum mismatch
==> default: W
==> default: :
==> default: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages Hash Sum mismatch
==> default: W
==> default: :
==> default: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch
==> default: W
==> default: :
==> default: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch
==> default: E
==> default: :
==> default: Some index files failed to download. They have been ignored, or old ones used instead.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong

I install this project step by step according to github instructions,but i always encounter with the following problem.how to fix it?
ps : I am in china ,has that something with gfw?

I already have posted a issue on Jira,but nobody answered me. who can help me out

@iamsaurabhc
Copy link

I don't know why Docker is getting involved in there. You need the files right.
These are the Steps that I took, and everything went fine :

  1. Go into the folder of hyperledger that you have created:
    cd /home/forest/go/src/github.com/hyperledger/

    2.Make sure you have git installed in your system :
    sudo apt-get update
    sudo appt-get install git

    3.Clone the fabric folder into your folder of /hyperledger
    git clone https://github.com/hyperledger-archives/fabric.git

If this method fails, download the .zip file from https://github.com/hyperledger-archives/fabric and you should be done.

@pkarthik88
Copy link

I had used a custom release of fabric from someone. I encountered the same error. A little bit of digging suggested that the setup.sh had some warning statements inserted (found this by diff with the official fabric). Removing this warning message from the setup.sh resolved this issue.

See Below for the warning

Install WARNING before we start provisioning so that it

will remain active. We will remove the warning after

success

cat </etc/motd
##########################################################
,.-""``""-.,
/ ,:,;;,;, \ DANGER DANGER
\ ';';;';' / WILL ROBINSON...
'---;;---'
<>==""==<>
<<<<<>>>>>
.'==/'.
| || |___
/C \\\\ |..| //////// C
_C//////// |;;| \\\\C_/
|o|##|o|
\ |~~| /
'>--------<'
{=======}
{= -=
=-==}
{=
=-}{=-=}
{=
==}{-==}
}~~~~""~~~~{
jgs }
::_{
/` || `
| || |
| || |
| || |
'-----''-----'
##########################################################

If you see this notice, it means that something is wrong
with your hyperledger/fabric development environment.

Typically this indicates that something failed during
provisioning and your environment is incomplete. Builds,
execution, etc., may not operate as they were intended.
Please review the provisioning log and visit:

            https://goo.gl/yqjRC7

for more information on troubleshooting and solutions.

##########################################################
EOF

@meghanaHManjunath
Copy link

HI,
I am getting below error when i tried hitting command

vagrant@ubuntu:/opt/gopath/src/github.com/hyperledger/fabric$ make peer
curl: (7) Failed to connect to 192.168.0.2 port 3128: Connection timed out

Can someone help me in resolving this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants