There’s no reason that I know of that would cause this to change for master.

Try looking in your system log, or run them in separate windows with the 
“interactive” keyword to get diagnostic output to the console to see why it is 
unhappy.

Chris.

From: sample project [mailto:intentnlpproj...@gmail.com]
Sent: Monday, November 13, 2017 1:08 AM
To: Luke, Chris <chris_l...@cable.comcast.com>; vpp-dev@lists.fd.io
Subject: Fwd: [vpp-dev] VPP 17.07 file not found and option not found for vppctl


Hi Chris,
Thanks for reply.

vagrant@localhost:~$ file `which vppctl`
/usr/bin/vppctl: a /usr/bin/python script, ASCII text executable

I was using 17.07 to run multi instance. In this version I can see two vpp 
instance got created.

vagrant@localhost:/vpp/build-root$ ps aux | grep vpp
root     22341  0.0  0.5 3511140 40976 ?       Ssl  02:53   0:01 vpp unix 
{cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix vpp1 }
root     22348  0.0  0.5 3511140 44584 ?       Ssl  02:54   0:01 vpp unix 
{cli-listen /run/vpp/cli-vpp2.sock} api-segment { prefix vpp2 }
vagrant@localhost:/vpp/build-root$

but If I use master/latest one it is always showing only one instance. I am not 
sure if the procedure to create multi instance has been changed or not or I am 
doing something wrong.
I am using following command to create vpp instance.

sudo vpp unix {cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix vpp1 }

Thanks,
nic


On Sun, Nov 12, 2017 at 7:05 PM, Luke, Chris 
<chris_l...@comcast.com<mailto:chris_l...@comcast.com>> wrote:
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> 
[mailto: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<mailto: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