+1.
If the vpp service is running - and you're using the distributed version of
/etc/vpp/startup.conf - you'll see this stanza:
api-segment {
gid vpp
}
Make sure that the user running vppctl is either in the vpp group, or is root.
HTH... Dave
From: [email protected] <[email protected]> On Behalf Of
[email protected]
Sent: Wednesday, November 7, 2018 4:48 AM
To: 'Kevin Yan' <[email protected]>; [email protected]
Subject: Re: [vpp-dev] vppctl issue
Check if VPP is running properly, "service vpp status" if its installed using
the binaries. It normally occurs when the VPP service is not running.
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Kevin Yan
Sent: Wednesday, November 7, 2018 2:10 PM
To: [email protected]<mailto:[email protected]>
Subject: [vpp-dev] vppctl issue
Hello,
Does anyone met below errors when using vppctl and what is the possible
reason?
clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): Connection refused
BTW, I changed a little vpp code but I suppose it doesn't not related to
this issue and VPP itself is started without any problem
My startup configuration:
cpu {
main-core 0
corelist-workers 1-3
}
unix {
nodaemon
log /tmp/vpp.log
full-coredump
cli-listen /run/vpp/cli.sock
}
dpdk {
socket-mem 2048
uio-driver uio_pci_generic
dev 0000:00:06.0 {
num-rx-queues 2
num-tx-queues 2
}
dev 0000:00:09.0
vdev cryptodev_aesni_mb_pmd,socket_id=0
vdev cryptodev_aesni_mb_pmd,socket_id=0
}
api-trace {
on
}
tap-inject {
enable
}
BRs,
Kevin
________________________________
This e-mail message may contain confidential or proprietary information of
Mavenir Systems, Inc. or its affiliates and is intended solely for the use of
the intended recipient(s). If you are not the intended recipient of this
message, you are hereby notified that any review, use or distribution of this
information is absolutely prohibited and we request that you delete all copies
in your control and contact us by e-mailing to
[email protected]<mailto:[email protected]>. This message contains the
views of its author and may not necessarily reflect the views of Mavenir
Systems, Inc. or its affiliates, who employ systems to monitor email messages,
but make no representation that such messages are authorized, secure,
uncompromised, or free from computer viruses, malware, or other defects. Thank
You
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11138): https://lists.fd.io/g/vpp-dev/message/11138
Mute This Topic: https://lists.fd.io/mt/28021014/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-