Check that you’re calling the binary vppctl program, not the script of the same 
name. The latter does not have the -s option and there was a period where both 
variants were still in the build tree.

For example, you want ‘file’ to say something like this:

$ file `which vppctl`
/[…]/vppctl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, 
BuildID[sha1]=d4817270c0f39a0e6fa466241d46ad8de29442f4, not stripped

Is there a reason you’re using 17.07? It feels like ancient history to me. :)

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of sample project
Sent: Sunday, November 12, 2017 6:03
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] VPP 17.07 file not found and option not found for vppctl

Hi,
I am new to fd.io<http://fd.io>. I am trying to run multi instance vpp using 
https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial.

I am using 17.07. Its showing some error I am not able to figure it out where I 
am doing wrong. If someone know how or solved this issue, kindly let me know, 
it'll be very helpful. Thanks in advance.

vagrant@localhost:/vpp$ git describe
v17.07

First problem:
vagrant@localhost:/vpp$ sudo vppctl  -s /run/vpp/cli-vpp1.sock show ver
Usage: vppctl [options]
vppctl: error: no such option: -s


2nd problem:
vagrant@localhost:/vpp$
looking at src/script/vppctl I did this. use option "-p" instead of "-s"
vagrant@localhost:/vpp$ sudo vppctl  -p /run/vpp/cli-vpp1.sock show ver
FileNotFoundError error(2): No such file or directory as:
/dev/shm//run/vpp/cli-vpp1.sock-vpe-api
vagrant@localhost:/vpp$

Thanks,
nic


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to