Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

[ERROR BinaryInPath-strings]: None of the following binaries [strings] seem to be in your PATH #90

Open
davxiao opened this issue Nov 6, 2020 · 5 comments

Comments

@davxiao
Copy link

davxiao commented Nov 6, 2020

OS: ubuntu 20.04 with latest updates

See below for path:

ubuntu 5| 4:53 [~] echo $PATH
/opt/cni/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Basically I first ran a ./setup.sh, it failed, then I ran './cleanup.sh', it looks ok, then I ran ./setup.sh again, this time it came up with a different error message. See below for the output.

I've tried cleanup.sh then run the setup.sh doesn't work.

ubuntu 6|13:07 [~] git clone git@github.com:$user/wks-quickstart-firekube.git
Cloning into 'wks-quickstart-firekube'...
Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
remote: Enumerating objects: 404, done.
remote: Total 404 (delta 0), reused 0 (delta 0), pack-reused 404
Receiving objects: 100% (404/404), 296.97 KiB | 1.87 MiB/s, done.
Resolving deltas: 100% (234/234), done.
ubuntu 6|13:07 [~] cd wks-quickstart-firekube
ubuntu 6|13:07 [wks-quickstart-firekube] ./setup.sh
• Using git branch: master
• Using git remote: origin

• Found jk 0.3.0
• Found footloose 0.6.3
• Found ignite 0.7.1
• Found wksctl 0.8.4
• Creating footloose manifest
• Creating SSH key
• Creating virtual machines
INFO[0000] Pulling image: weaveworks/ignite-centos:firekube-pre3 ...
INFO[0019] Creating machine: firekube-node0 ...
INFO[0019] Machine firekube-node0 is already created...
INFO[0019] Creating machine: firekube-node1 ...
INFO[0019] Machine firekube-node1 is already created...
• Creating Cluster API manifests
/home/david/wks-quickstart-firekube/setup.js:114
      privateIP: machine.runtimeNetworks[0].ip,
                                        ^
TypeError: Cannot read property '0' of undefined
    at /home/david/wks-quickstart-firekube/setup.js:114:41
Module (setup.js) has not been loaded
ubuntu 6|13:08 [wks-quickstart-firekube] ./cleanup.sh
• Deleting virtual machines
INFO[0000] Deleting machine: firekube-node0 ...
INFO[0000] Deleting machine: firekube-node1 ...
ubuntu 6|13:08 [wks-quickstart-firekube] ./setup.sh
• Using git branch: master
• Using git remote: origin

• Found jk 0.3.0
• Found footloose 0.6.3
• Found ignite 0.7.1
• Found wksctl 0.8.4
• Creating footloose manifest
• Creating virtual machines
INFO[0000] Docker Image: weaveworks/ignite-centos:firekube-pre3 present locally
INFO[0000] Creating machine: firekube-node0 ...
FATA[0000] command "ignite run weaveworks/ignite-centos:firekube-pre3 --name=firekube-node0 --cpus=2 --memory=1GB --size=5GB --kernel-image=weaveworks/ignite-kernel:4.19.47 --ssh=/home/david/wks-quickstart-firekube/cluster-key.pub --ports=2222:22 --ports=6443:6443 --ports=30443:30443 --ports=30080:30080" exited with "time=\"2020-11-06T13:08:56Z\" level=info msg=\"Created VM with ID \\\"2c1e2ab16e34c2f6\\\" and name \\\"firekube-node0\\\"\"\ntime=\"2020-11-06T13:08:56Z\" level=fatal msg=\"[ERROR BinaryInPath-strings]: None of the following binaries [strings] seem to be in your PATH. Please install this tool before continuing.\\n\"\n": exit status 1
ubuntu 6|13:08 [wks-quickstart-firekube]
@chanwit
Copy link
Member

chanwit commented Nov 6, 2020

Thank you for reporting.
You may be hitting an Ignite issue.
I'll cross report to the Ignite repo.

@davxiao
Copy link
Author

davxiao commented Nov 6, 2020

It is not listed as prerequisites, but do I need to install separately the following tools?

• jk 0.3.0
• footloose 0.6.3
• ignite 0.7.1
• wksctl 0.8.4

I just checked my local system I don't have any of those installed despite the setup.sh is reporting it found them... I'm a bit confused.

@chanwit
Copy link
Member

chanwit commented Nov 6, 2020

No you don't have to.
They'll be installed automatically.

ls -al ~/.wks/bin
and you'll see they're in there.

@stealthybox
Copy link
Contributor

@davxiao as a temp workaround, simply install binutils on your Ubuntu machine.
It's a pretty standard package that contains strings.

@dkdndes
Copy link

dkdndes commented Jan 31, 2022

@davxiao additional install "git", and it should work with a minimal Debian 11, too.

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

No branches or pull requests

4 participants